Hi,
I need to mimmick UFRAME to behave just like IFRAME by assigning it's src property in javascript function.
I try using some javascript function like the following but the page does not load at all.
function ShowPage(pageUrl) {
this.divContent.src = pageUrl;
}
where dicContent is the name of the Div that is supposed to be UFRAME.
Below is the complete ASPX
<body>
<form id="form1" runat="server">
<div style="position:absolute; top:0; left:0; height:100%; width:100%;">
<table style="width:100%; height:100%; border:0; padding:0;" cellspacing="0">
<tr class="headerBar">
<td colspan="2">
</td>
</tr>
<tr class="headerStrip">
<td colspan="2">
</td>
</tr>
<tr class="contentStrip">
<td style="width:300px; vertical-align:top; padding:10px; background-color:Gray">
<asp:Panel ID="pnlMenu" runat="server" Width="100%">
<asp:TreeView runat="server" ID="tvMenu" CssClass="menu"
ExpandDepth="FullyExpand" ontreenodepopulate="tvMenu_TreeNodePopulate"></asp:TreeView>
</asp:Panel>
</td>
<td style="vertical-align:top;">
<div id="divContent" style="height:100%; width:100%; background-color:White;"></div>
</td>
</tr>
<tr>
<td class="statusStrip" colspan="2">
</td>
</tr>
</table>
</div>
</form>
</body>
Please help