Posted by: lluppes | November 11, 2009

Chrome Browser Menu Problems

If you’re using ASP.NET master pages and use the built-in menu control, you may find you’re having problems with the Chrome browser (and Safari too).  Fortunately, there is an easy fix.  Hopefully you’re using a base page and inheriting from that, right?  If so, then you just have edit the base page Page_load event and add ONE line:

Request.Browser.Adapters.Clear();

That should do it – hopefully now your menus will work properly (at least it worked for me…!)

Advertisements

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: