Rank: Newbie Groups: Member
Joined: 4/11/2020 Posts: 1
|
Hello.
We are supporting a Legacy asp.net application with a lot of Cascading Framesets in our pages. There are no IFrames. They are all Framesets and Frames. We are trying to fix the top Navigation and saw your menu control supports Cross-Frames.
We have Page1.aspx file contains a Frameset with two Frames(Frame1 and Frame2) Page2.aspx contains another frameset inside another frameset.
Following is our Frame orientation for Page1 and Page2.
Page1.aspx :
<frameset id="Frameset1" name="Frameset1" rows="150,*" frameborder="no" framespacing="0" > <frame name="Frame1" class="frame" src="topNav.aspx" title="Top" /> <frame name="Frame2" class="frame" src="blank.htm" title="Body" /> </frameset>
eo:Menu is in TopNav.aspx page with TargetFrame is set to "Frame2". Then Page2.aspx <frameset id="Frameset2" cols="310,*" frameborder="no" framespacing="3"> <frame name="TreeFrame" src="tree.aspx" alt="scopeSelection" title="scopeSelection" /> <frameset rows="98,*" frameborder="no" framespacing="0" <frame name="bodyTop" src="NameRating.aspx" scrolling="NO" frameborder="NO" marginwidth="0" marginheight="0" alt="Menu" title="Menu" allowtransparency="true"/> <frame name="body" src="blank.htm" alt="body" title="body" > </frameset> </frameset>
Issue: The Top Navigation implemented in Page1.aspx is not working/showing in the targetframe Frame2. Frame2 is dynamically loading page2.aspx Frame2 in the code behind.
Please help how to fix this cross-frame menu issue.
Response is greatly appreciated.
HHS
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
There is no way for you to use cross frame menu this way with nesting frameset. In order for cross frame menu to work, the target frame must be a regular HTML document so that JavaScript code can dynamically creates the sub menu inside that frame. When the target frame itself is a frameset, it is not possible to dynamically create other DHTML elements inside. So the sub menu will not be created in this case. In order for cross frame menu to work, your Page2.aspx must be a regular HTML document, not a frameset.
Thanks!
|