Overriding the device filters so that the Menu control will work in Safari

This article on Danny Chen’s Blog describes clearing the device filters in a .net app so that the standard menu control will render in safari. I had tried the CSS Friendly adapters but found them needlessly over complicated and difficult to implement without really hacking our corporate CSS. To solve this I now override the control using a writer class and now clear the device filter which means it treats safari the same as IE and FF.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s