ASP.Net Menu Control renders incorrectly when used on a Master Page?

I remember seeing that at one point in a site of mine. Since then I ripped the menu out, but putting it back into my master page I don't see the flicker any more. Here's the code for a simple menu that works without flicker in a master page.

I remember seeing that at one point in a site of mine. Since then I ripped the menu out, but putting it back into my master page I don't see the flicker any more. Here's the code for a simple menu that works without flicker in a master page; Not tried it myself, but how about setting the default class for the menu children to invisible (say, a class of invisibleMenu), which means it initially loads invisibly, and then using a bit of javascript to remove the invisibility?

In jQuery, something like $('. InvisibleMenu'). RemoveClass('invisibleMenu').

If I remember, I had the same problem and solve it in putting the menu in content place holder in the amster page: And in not overwritting this placeholder in nested page.

This solution worked for me! Although I don't understand why, since the empty (not overwritten) ContentPlaceHolder doesn't seem to have any effect on the rendered HTML. – Slauma Jul 13 '10 at 20:53 I must correct myself: Actually it doesn't work.

I've tested it on a live server now (with realistic latency) and the issue is still there. It might be a bit better than before but it didn't disappear. – Slauma Jul 19 '10 at 20:05.

Add the menu to an ASCX page or its own masterpage and include it into the main masterpage. I myself have never run into this issue but something similar has happened.

If know your problem that ASP. Net Menu Control renders incorrectly when used on a Master Page if the asp. Net menu is not worked then use usercontrol not master page because we can use user control by easy wasy.

Same issue was with me too. But solved by removing jquery calls. :) or you can download and keep the .

Js script file inside the script folder instead of referencing it from online.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions