I have developed one website using menu control, its working fine in all browser except Google Crome. i have facing this problem.
But i have found some good idea and work for me.
just add below script (function) into your page.
protected override void AddedControl(Control control, int index)
{
// This is necessary because Safari and Chrome browsers don't display the Menu control correctly.
// Add this to the code in your master page.
if (Request.ServerVariables["http_user_agent"].IndexOf("Safari", StringComparison.CurrentCultureIgnoreCase) != -1)
this.Page.ClientTarget = "uplevel";
base.AddedControl(control, index);
}
I hope this answer helpful to you.
0 comments:
Post a Comment