I have a menu (from a sitemap) set on the master page. When pages are loading, all the menuitems in the menu (including the ones that shouldn't be visible) seem to flash for a second or so. It usually happens when a page is loading for the first time (not all the time and not for all the pages though, sometimes for pageA, sometimes for PageB, sometimes both although each time before testing, I clear the browser cache, restart the server, and load the pages in the same order.)
Removing the styles (CssClass="menu") didn't help either.
Any way to prevent this? I'm new to asp.net, so I'm not sure if this is normal.
My sitemap is pretty simple - included below with the code snippet from the master page.
<asp:SiteMapDataSource runat="server" ID="siteMapDataSource" ShowStartingNode="false" /> <asp:Menu ID="NavigationMenu" runat="server" DataSourceID="siteMapDataSource" CssClass="menu" IncludeStyleBlock="false" EnableViewState="false" Orientation="Horizontal"/>
<?xml version="1.0" encoding="utf-8" ?><siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode roles="*"> <siteMapNod
View Complete Post