For IE7 users, I want to put in some specific "Please upgrade now" banner. I thought i had this but i found out my banner was popping up on people who had IE8 but had compatibility mode turned on by default.
Is there anyway to differentiate between these two situations so I can change my message from:
Please update from IE7 to You are using IE8 but you are using compatibility mode, please switch this off
Here is the code that i am using now in my View:
You are using <b><% = Request.Browser.Browser + ", Version: " + Request.Browser.Version%>
but if I test in IE8 with compatability view, by using the above code or this code on the client side:
<!--[if lte IE 7]>
it returns true and shows up as IE7. How can i differentiate the two ?