Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Problem with my asp.net project(child menu).
actually i have site menu in master page. menu has been taken from database and shown in dynamic.it has some child menu too.

Actually,
i'm using two machine.
the problem is..
when i work with that project in first machine, every thing was fine. its working well.
But in another machine its not showing that child menu..
even though i'm using the same database
What shall i do for this..
Please help me..
Posted

Thank you Sunasara Imdadhusen..

but i'm using IE as the default browser in both machines.
what to do?
 
Share this answer
 
Hi,

Please check again both browser version are same? if not then browser specific problem.

can you send me the sample of code that you have wrote, so i can help you :)

Thanks & Regards,
Imdad
 
Share this answer
 
thank you Sunasara Imdadhusen..

I got it.. The problem with browser..i'm using IE with different version so tat only(IE7 & IE8) that problem has been arraised.
but now it is working properly..
 
Share this answer
 
After adding this one it's work for all browsers

if (Request.UserAgent.IndexOf("AppleWebKit") > 0)
{
Request.Browser.Adapters.Clear();
}


for IE8...
Add css Proferty in StyleSheet

.IE8Fix
{
    z-index: 1000;
}

and add the css property as follows...

<asp:Menu runat="server" >
  <DynamicMenuStyle CssClass="IE8Fix" />
</asp:Menu>
 
Share this answer
 
Hi,

It cause the problem of different browser you'll used, I mean one machine has different browser and another has different.

make sure check your code whether is compatible with all browser?

Thanks & Regards
Imdad
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900