473,796 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Master Pages breaks Menu control

Hi

I've just created a new Master Page for my site and it uses the native Menu
control. Strange behaviour is happening on page that use the master page.

For some reason, the menu controls rendering is totally out. Instead of nice
"fly-out" menu's, the menus are all dumped underneath the static level menu
items when the page first loads. Hovering the mouse over one of the static
items re-renders the menu as it should look, but then the "fly-out" menus
don't work.

If I use the same menu on a page that doesn't inherit from the master,
everything works fine.

Is this a known bug or are there any caveats to watch out for when using
Master Pages with Menu control?

Thanks

Ben


Jul 9 '06 #1
6 1879
An interesting thing about this is that the menu works absolutely fine in
IE7 but not in IE6. As far as I can tell there's no apparent differences
between the html rendered by the page using the master page, and the page
which doesn't use it.

The menu's are identical and I've even tried creating a blank master and
child page with a very basic Menu that has no CSS settings at all. Just 3 or
4 menu items, one of which has a sub-menu. Still the same problem.

"Ben Fidge" <no****@nospam. comwrote in message
news:ep******** *****@TK2MSFTNG P04.phx.gbl...
Hi

I've just created a new Master Page for my site and it uses the native
Menu control. Strange behaviour is happening on page that use the master
page.

For some reason, the menu controls rendering is totally out. Instead of
nice "fly-out" menu's, the menus are all dumped underneath the static
level menu items when the page first loads. Hovering the mouse over one of
the static items re-renders the menu as it should look, but then the
"fly-out" menus don't work.

If I use the same menu on a page that doesn't inherit from the master,
everything works fine.

Is this a known bug or are there any caveats to watch out for when using
Master Pages with Menu control?

Thanks

Ben




Jul 9 '06 #2
Forgot to mention that examples of the working and broken menus can be found
at:

(Without using a master page - works)

http://cobas.co.uk/defaultpage3.aspx

(USing a master page - broken)

http://cobas.co.uk/mastertest.aspx

"Ben Fidge" <no****@nospam. comwrote in message
news:ew******** ******@TK2MSFTN GP05.phx.gbl...
An interesting thing about this is that the menu works absolutely fine in
IE7 but not in IE6. As far as I can tell there's no apparent differences
between the html rendered by the page using the master page, and the page
which doesn't use it.

The menu's are identical and I've even tried creating a blank master and
child page with a very basic Menu that has no CSS settings at all. Just 3
or 4 menu items, one of which has a sub-menu. Still the same problem.

"Ben Fidge" <no****@nospam. comwrote in message
news:ep******** *****@TK2MSFTNG P04.phx.gbl...
>Hi

I've just created a new Master Page for my site and it uses the native
Menu control. Strange behaviour is happening on page that use the master
page.

For some reason, the menu controls rendering is totally out. Instead of
nice "fly-out" menu's, the menus are all dumped underneath the static
level menu items when the page first loads. Hovering the mouse over one
of the static items re-renders the menu as it should look, but then the
"fly-out" menus don't work.

If I use the same menu on a page that doesn't inherit from the master,
everything works fine.

Is this a known bug or are there any caveats to watch out for when using
Master Pages with Menu control?

Thanks

Ben





Jul 9 '06 #3
For what it's worth, I noticed the following:

Both versions "work" in Firefox
Both versions are also broken in Firefox - when the mouse cursor crosses the
vertical dashed line left of the menu. IE: Menu closes.

"Ben Fidge" <no****@nospam. comwrote in message
news:OG******** ******@TK2MSFTN GP03.phx.gbl...
Forgot to mention that examples of the working and broken menus can be
found at:

(Without using a master page - works)

http://cobas.co.uk/defaultpage3.aspx

(USing a master page - broken)

http://cobas.co.uk/mastertest.aspx

"Ben Fidge" <no****@nospam. comwrote in message
news:ew******** ******@TK2MSFTN GP05.phx.gbl...
>An interesting thing about this is that the menu works absolutely fine in
IE7 but not in IE6. As far as I can tell there's no apparent differences
between the html rendered by the page using the master page, and the page
which doesn't use it.

The menu's are identical and I've even tried creating a blank master and
child page with a very basic Menu that has no CSS settings at all. Just 3
or 4 menu items, one of which has a sub-menu. Still the same problem.

"Ben Fidge" <no****@nospam. comwrote in message
news:ep******* ******@TK2MSFTN GP04.phx.gbl...
>>Hi

I've just created a new Master Page for my site and it uses the native
Menu control. Strange behaviour is happening on page that use the master
page.

For some reason, the menu controls rendering is totally out. Instead of
nice "fly-out" menu's, the menus are all dumped underneath the static
level menu items when the page first loads. Hovering the mouse over one
of the static items re-renders the menu as it should look, but then the
"fly-out" menus don't work.

If I use the same menu on a page that doesn't inherit from the master,
everything works fine.

Is this a known bug or are there any caveats to watch out for when using
Master Pages with Menu control?

Thanks

Ben






Jul 10 '06 #4
For one thing, fix your <imgtags. You don't ever close them in the menu.

http://validator.w3.org/check?verbos...astertest.aspx

Which is also causing this:
http://jigsaw.w3.org/css-validator/v...astertest.aspx

Ben Fidge wrote:
Forgot to mention that examples of the working and broken menus can be found
at:

(Without using a master page - works)

http://cobas.co.uk/defaultpage3.aspx

(USing a master page - broken)

http://cobas.co.uk/mastertest.aspx

"Ben Fidge" <no****@nospam. comwrote in message
news:ew******** ******@TK2MSFTN GP05.phx.gbl...
>An interesting thing about this is that the menu works absolutely fine in
IE7 but not in IE6. As far as I can tell there's no apparent differences
between the html rendered by the page using the master page, and the page
which doesn't use it.

The menu's are identical and I've even tried creating a blank master and
child page with a very basic Menu that has no CSS settings at all. Just 3
or 4 menu items, one of which has a sub-menu. Still the same problem.

"Ben Fidge" <no****@nospam. comwrote in message
news:ep******* ******@TK2MSFTN GP04.phx.gbl...
>>Hi

I've just created a new Master Page for my site and it uses the native
Menu control. Strange behaviour is happening on page that use the master
page.

For some reason, the menu controls rendering is totally out. Instead of
nice "fly-out" menu's, the menus are all dumped underneath the static
level menu items when the page first loads. Hovering the mouse over one
of the static items re-renders the menu as it should look, but then the
"fly-out" menus don't work.

If I use the same menu on a page that doesn't inherit from the master,
everything works fine.

Is this a known bug or are there any caveats to watch out for when using
Master Pages with Menu control?

Thanks

Ben




Jul 10 '06 #5
Hi Ben,

I am having this same exact problem. Did you ever get a resolution?

Brian
"Ben Fidge" <no****@nospam. comwrote in message
news:ep******** *****@TK2MSFTNG P04.phx.gbl...
Hi

I've just created a new Master Page for my site and it uses the native
Menu
control. Strange behaviour is happening on page that use the master page.

For some reason, the menu controls rendering is totally out. Instead of
nice
"fly-out" menu's, the menus are all dumped underneath the static level
menu
items when the page first loads. Hovering the mouse over one of the static
items re-renders the menu as it should look, but then the "fly-out" menus
don't work.

If I use the same menu on a page that doesn't inherit from the master,
everything works fine.

Is this a known bug or are there any caveats to watch out for when using
Master Pages with Menu control?

Thanks

Ben




Aug 20 '06 #6
Reading threads on other Master Page issues I came across this and tried it
and it fixed my problem....
In my web.config file, I had the following tag:
<xhtmlConforman ce mode="Legacy"/>

When I got rid of it, the postback/flashing stopped.

Brian

"Brian Sabolik" <bs************ @excitez.comwro te in message
news:es******** ******@TK2MSFTN GP02.phx.gbl...
Hi Ben,

I am having this same exact problem. Did you ever get a resolution?

Brian
"Ben Fidge" <no****@nospam. comwrote in message
news:ep******** *****@TK2MSFTNG P04.phx.gbl...
Hi

I've just created a new Master Page for my site and it uses the native
Menu
control. Strange behaviour is happening on page that use the master
page.

For some reason, the menu controls rendering is totally out. Instead of
nice
"fly-out" menu's, the menus are all dumped underneath the static level
menu
items when the page first loads. Hovering the mouse over one of the
static
items re-renders the menu as it should look, but then the "fly-out"
menus
don't work.

If I use the same menu on a page that doesn't inherit from the master,
everything works fine.

Is this a known bug or are there any caveats to watch out for when using
Master Pages with Menu control?

Thanks

Ben




Aug 21 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
1961
by: Martijn Saly | last post by:
Hi there, I've created a master page with some controls on it, a Calendar control among others. Now depending on the date(s) selected, the content page needs to be updated. In the masterpage I've created StartDate and EndDate properties, which are basically wrappers around the SelectedDates property from the Calendar control. When I select another date in the Calendar, the page updates normally, but when Page_Load for the content page...
1
2225
by: anony | last post by:
Hello, I'm converting a 1.1 app to 2.0 and decided to try out master pages. My menu system consists of images with onmouseover/out events to highlight selected menu items, and to display submenus. These events are attached to javascript functions which rely on the image id to appropately locate and swap images, display submenus at the right location, etc. Anyways, this worked fine initially in 2.0, but when I introducted master...
17
3161
by: Rob R. Ainscough | last post by:
Again another simple concept that appears NOT to be intuitive or I'm just stupid. I've read the WROX book and the example doesn't actually show how the .master page links in the other content pages? Kinda sorta a critical point no? Am I missing something? Rob. P.S. the day I find a book that actually is useful rather than just a
5
3480
by: Vincent A. | last post by:
Hello, I'm developping an asp.net application which used master page on which i add several web control. One of the them is a menu control which as several button in order to develop each sub menu. When i click on this button it rises a postback and refresh all my controls. My question is the following : is it possible the postback acts only on one web control ? Thanks in advance
2
2575
by: n# | last post by:
I have an old existing website with a Header/ Left Hand Menu and a iframe as the main body content, adjacent to the menu. So for every click on the menu item, I used to load a aspx page on the iframe and hence i am not loading the entire menu and header for each request. When I try and port the above model to Master Page 1) The menu ( I thot of having the Menu Web control), Header would be moved to the master page.
1
1157
by: Aryan | last post by:
Hi Friends, I wanted to know, how Master Page is different then Web User Control?? Thanks & Regards, Manoj Singh
7
1364
by: =?Utf-8?B?TWFyaw==?= | last post by:
keywords: asp.net master page rubbish I have written a custom control. The control is a simple html Tab menu control. The control inherits from DataBoundControl and implements INamingContainer, IPostBackEventHanlder and IPostBackDataHandler. The control is engineered to use a hidden client-side input textbox which stores a selected index variable to enable the IPostBackDataHandler to determine a change in tab and trigger a redraw of...
3
2749
by: Adi | last post by:
Hi all, I have a menu which is placed in the master page. Now when the user clicks on one of the menu item, it fires an event which is handled in the master page. I need to know from which page the menu item was clicked is there any way i can get the id of the page and verify it or is there an alternate way to do it. I have recently started using master pages in my website. previously I was having the menu control in a web user...
10
2147
by: =?Utf-8?B?RGFuaQ==?= | last post by:
Hi, Trying to create a master page that holds a menu, and the menu switches between pages in the site. 2 problem arrosed: a. When I navigate from page to page (all AJAX Web Forms, with the Master pages as their master...) the entire page is refreshed - also the menu which belongs to the master, how can I fix it - so only the inside content will be refreshed ?
0
10452
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10221
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10169
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9050
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.