Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Module CrossVideo Gallery 6.6 dotnetnuke模块_Module_Dotnetnuke_Dotnetnuke 7 - Fatal编程技术网

Module CrossVideo Gallery 6.6 dotnetnuke模块

Module CrossVideo Gallery 6.6 dotnetnuke模块,module,dotnetnuke,dotnetnuke-7,Module,Dotnetnuke,Dotnetnuke 7,我目前正在将CrossVideo Galery 6.6与DotNetNuke(DNN)一起使用。我正在查看ViewList中HTML标记的ID,我看到如下内容 <table id="**dnn_ctr782_ViewTagList_ctl04_dlTag**" cellspacing="0" style="border-collapse:collapse;"> <tr> <td> <table width="100%" borde

我目前正在将CrossVideo Galery 6.6与DotNetNuke(DNN)一起使用。我正在查看ViewList中HTML标记的ID,我看到如下内容

<table id="**dnn_ctr782_ViewTagList_ctl04_dlTag**" cellspacing="0" style="border-collapse:collapse;">
<tr>
    <td>
        <table width="100%" border="0" cellpadding="0" cellspacing="1">
            <tr align="left">
                <td align="left" valign="top">
                    <a id="**dnn_ctr782_ViewTagList_ctl04_dlTag_lnkName_0**" class="Normal" target="_self" ... >.mp4(2)</a>
                    <a id="**dnn_ctr782_ViewTagList_ctl04_dlTag_lnkRss_0**" ... >
                    ...


我知道id属性的“782”部分与模块id号有关。有人能告诉我“ctl05”与什么有关吗?它是否存储在我可以访问的表中?

事实证明,我可以使用ascx文件中的代码获得完整的名称,并将其分配给javascript中的一个变量:

<script type="text/javascript">
m_ClientIdPrefix = '<%=this.Control.ClientID %>'; // retruns dnn_ctr2586_ViewList_ctl02
</script>

m_clientdprefix=“”;//重新运行dnn\u ctr2586\u视图列表\u ctl02
当服务器响应HTML时,所有ID都将以此作为前缀。如果您想在DNN的客户端上操作任何东西,这将非常有用