Let me put the email in the right order and it may make more sence:
I am trying to program a module that will communicate with a Pane and replace the contents of that pane with an HtmlControl of an iframe. I have done this before, but it has been kluugy and not 100% reliable.
I know there are refrences to Portals, Tabs and modules that you can program against, but the only items I see in terms of Panes is just an array list of panes available, such as PortalSettings.ActiveTab.Panes also, there is the PaneModuleCount, PaneModuleIndex, and PaneName for a ModuleConfiguration.
If I do a DotNetNuke.Common.FindControlRecursiveDown(Page, "ContentPane") , the system actually returns a reference to the radiolistcontrol in the admin menu in DNN 4.5.1, whereas in 3.7 it returned the reference to the Pane, in earlier versions, it would return a reference to a control elsewhere. If I do a DotNetNuke.Common.FindControlRecursive(Me.Parent, "ContentPane"), it finds the container for the current pane. Also, looking at the source html of my page, multiple controls have a clientid that contains contentpane, eventhough they are not in the contentpane, one example is I have a LeftPane that has the search control. This returns the following for the module:
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td>
<span id="dnn_ctr414_ContentPane" width="100%" align="left"><!-- Start_Module_414 --><div id="dnn_ctr414_ModuleContent">
<table cellSpacing="0" cellPadding="4" summary="Search Input Table" border="0">
<tr>
<td nowrap><label id="dnn_ctr414_SearchInput_plSearch_label">
<a onclick="if (__dnn_SectionMaxMin(this, 'dnn_ctr414_SearchInput_plSearch_pnlHelp')) return false;" id="dnn_ctr414_SearchInput_plSearch_cmdHelp" tabindex="-1" href=" __doPostBack('dnn$ctr414$SearchInput$plSearch$cmdHelp','')"></a>
<span id="dnn_ctr414_SearchInput_plSearch_lblLabel"></span>
</label>
<br>
<div id="dnn_ctr414_SearchInput_plSearch_pnlHelp" class="Help" style="display:none;">
<span id="dnn_ctr414_SearchInput_plSearch_lblHelp"></span>
</div>
</td>
<td><input name="dnn$ctr414$SearchInput$txtSearch" type="text" maxlength="200" size="35" id="dnn_ctr414_SearchInput_txtSearch" class="NormalTextBox" style="width:150px;" /></td>
<td><input type="image" name="dnn$ctr414$SearchInput$imgGo" id="dnn_ctr414_SearchInput_imgGo" src="/DotNetNuke/images/search_go.gif" style="border-width:0px;" /></td>
</tr>
</table>
<!-- End_Module_414 -->
</div></span>
</td>
</tr>
</table>
Note the dnn_ctr414_ContentPane, why would this be there if it is in the leftpane? shouldn't it be more like dnn_ctr414_LeftPane?
So basically, after all that, I just need to determine how I can programmatically access a pane and manipulate its contents.
Thank you,
Nathan