Click here to Skip to main content
15,924,452 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

Am Using Asp menu Control.
The menu appears in aspx page through database.
There are 2 problems am facing.

1)Menu does not appear properly in google chrome.
The Problem in Chrome is when the aspx page containing menu is run, menu appears but in improper form. when i click on menu control then menu appears properly.

2)Submenu in Internet Explorer8 does not appear.

i have googled about this problem and got solutions like setting Z-Index and Adding Meta Tag etc. But none of them are working.
I changed the compatibility view settings of my IE8 Browser. Then Menu and Submenu are visible properly.But in other computer where the compatibility view settings are not set in the browser ,then submenu are not visible.

Hope this description for my problem is enough for coders to give their suggestions to solve the problem.
Thanks in Advance.
Posted

1 solution

Put the following tag in your Aspx page inside tags. Menu control Will work fine.

HTML
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />



Thanks
AShish
 
Share this answer
 
Comments
Member 8660975 14-Aug-12 8:15am    
Dear Ashish,
Thanks for the reply.
I have already added this in master page's head tag
The but stil not working properly in chrome.
AshishChaudha 14-Aug-12 8:33am    
try this in

protected void Page_PreInit(object sender, EventArgs e)
{
if (Request.UserAgent.Contains("AppleWebKit"))
Request.Browser.Adapters.Clear();
}

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