menu and frames problem

This post has 10 replies

Not Ranked
Posts: 1
jagdipa Posted: Tue Dec 6, 2005 @ 1:20 AM
I want to put the menu in a frame. My problem is that the menu drop down then gets 'messed up'. Instead of droping the menu over the other frame, it tries to adjust the menu drop downs into the current frame. Here is some code to better illustrate what I mean:

MainForm.aspx
<HTML><HEAD>
<TITLE>xxx</TITLE>
<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
<meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<frameset rows="70,*" frameborder="no" framespacing="0">
<frame name="MBAFrame" src="Mba.aspx" scrolling="no" noresize>
<frame name="DisplayFrame" src="NewTemplateBackground.aspx" scrolling="yes">
<noframes>
<p id="p1">This HTML frameset displays multiple Web pages. To view this frameset, use a Web browser that supports HTML 4.0 and later.
</p>
</noframes>
</frameset>
</HTML>




MBA.aspx:
<HTML>
<HEAD>
<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
<meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<BODY BGCOLOR="#cce0e2" TEXT="#006666">
<form name="frmMain">
<DIV style="FONT-WEIGHT: bold; FONT-SIZE: 24pt; Z-INDEX: 3; LEFT: 9px; BACKGROUND-IMAGE: none; VERTICAL-ALIGN: baseline; TEXT-TRANSFORM: uppercase; WIDTH: 133px; POSITION: absolute; TOP: 5px; BACKGROUND-COLOR: transparent; TEXT-ALIGN: left; TEXT-DECORATION: none">MBA</DIV>
</form>
</BODY>
</HTML>
Top 10 Contributor
Posts: 909
breon Posted: Wed Dec 7, 2005 @ 7:33 AM
Unfortunately, the Menu control does not support frames -- that is, rendering over top of frames. Have you tried employing iframe? Our Menu control does indeed work in conjunction with those. Also, perhaps placing the Menu within a user control might suit your purposes. This way, any changes made to your user control/Menu will be immediately apparent across multiple pages.
Breon Halling, Technical Designer
Top 200 Contributor
Posts: 33
Padmakumar Posted: Tue Mar 28, 2006 @ 1:39 AM
Hi Breon,

I also have a similar problem with frames. I was able to solve the problem with the help of a user control. But our application is a large CRM Application linked together with a large ERP package. The Menus are dynamically loaded from the Menu based on the User Rights for each menu. So naturally, the number of menus wil also increase. Having a User Control with the menu at each page will cause the system to be slow because for each page load, the menu also needs to be loaded.

So we are trying to place the menu control in a frame so that the frame is loaded only once. But Cross Page / Cross Frame menu is not supported.

Kindly provide the ability for a Cross Frame Support for your menu. Otherwise, the menu is a nice control and works well and good with our application.

Thanks in Advance

Padmakumar.G
Top 10 Contributor
Posts: 806
jovan Posted: Fri Apr 7, 2006 @ 11:58 AM
Thank you very much for your feedback. Cross-frame support for the menu has long been under consideration, and we may implement it in one of the future releases. However, please note that we have not yet scheduled it in, and we do not know when it will be implemented, nor can we guarantee with certainty that it will be implemented. But as always, your feedback very much influences the evolution of our controls, including the cross-frame feature.
Not Ranked
Posts: 1
MasterStanF2k Posted: Tue Jun 27, 2006 @ 1:58 PM
there's gotta be a way to pass a target, even if it's not direct....
Is there a way, at all, to allow for a page that'll be opened by the menu to load in an iframe or anytype of frame for that matter (I am however most interested in relation to an iframe).
If the user must be redirected or w/e that's fine.. but can someone explain how to do this?
Not Ranked
Posts: 6
jkuzma Posted: Fri Feb 23, 2007 @ 12:32 PM
Unfortunately I have not found a way to pass the target in the menu; but there is a work around.

You will have to create a dynamic frameset page; that writes the frameset to the HTML from code-behind.

Use a query string variable for which page to display, and refresh the entire frameset page to re-load it with the new desintation page as the default frameset page for that frame.

Does that make sense? I hope it did, if not later I can send some code snippits on how I did this.
Top 50 Contributor
Posts: 72
Junis Posted: Sat Jan 26, 2008 @ 12:34 AM
When is Cross-frame suported for the menu?
Not Ranked
Posts: 1
shibuev Posted: Wed Jul 23, 2008 @ 8:07 AM
Since we have a huge application with part of the app is still in classic ASP, this functionality is critical for our application. Is this going to be supported is future release?
Top 10 Contributor
Posts: 1,736
Chris Posted: Wed Jul 23, 2008 @ 8:52 AM
Hi,

Unfortunately, this has still not been scheduled in, and we do not know when it will be implemented, nor can we guarantee with certainty that it will be implemented. But as always, your feedback very much influences the evolution of our controls, including the cross-frame feature.

Cheers,
Christopher Moncayo,
Solutions Architect
ComponentArt Inc.
Top 50 Contributor
Posts: 72
Junis Posted: Mon Apr 13, 2009 @ 2:02 PM
Six months have passed, you know more about the Menu for ASP.NET AJAX will be supported for cross frame? Or is it time to start looking for someone who has. Is in urgent need of cross frame Suport...
Top 50 Contributor
Posts: 72
Junis Posted: Tue Dec 1, 2009 @ 11:39 PM
I ask again!
Six months have passed, you know more about the Menu for ASP.NET AJAX will be supported for cross frame?
Page 1 of 1 (11 items)