Hi, I have been trying to create a Layout with a Top Frame and the body (The tipical layout), well inside the main frame I'm redirecting to a page with a layout handled by WebSplitter, but it doesn't work! If I use the page isolated it works fine, but inside the frameset the splitter doesn't work, the javascript errors I get are:
theForm is Undefined
Sys.ArgumentOutOfRangeException: Value must be an integer.ParameterName:xActual value was NaM
You can see the enclosed image.
Thanks in advance,
Gishac
Okay I took the markup you gave me and added it to my project and all is well. Would you mind pasting in what's left of your page? Basically what you have defined under your splitter?
Thanks,
Craig
Hi Craig, Yes the web splitter is inside a <form runat="server> tag, basically this is the sample:
Frameset Page
====================
<frameset rows="97,*" border="3" frameSpacing="3" frameBorder="1"> <frame src="http://www.google.com" name="banner" frameborder="1" scrolling="no" noresize="noresize"> <frameset id="frameSet2" cols="100%" id="frameset" > <frame id="main" name="MainPanel" src="Default.aspx" frameborder="yes" scrolling="no"></frameset>
===================
Default.aspx
<form id="form1" runat="server"> <asp:ScriptManager id="ScriptManager1" runat="server" EnablePageMethods="True"> </asp:ScriptManager> <div style="height:100%;width:100%"> <ig:WebSplitter ID="LeftPaneSplitter" runat="server" Height="900px">
....
Gishac:
Is your WebSplitter nested in a <form runat="server> tag?
I tried what you are describing and didn't have any problems.