I need to determine which version of browser the user is using, however compatibility mode is turned on by default for the entire company.
On the server side script, how do I determine the real browser version?
Thanks
Update I've got my page correctly showing the IE version using document.documentMode, however I can't figure out how to pass this over to the server side so I can use it.
1. Click the Settings Icon on the address bar in your web browser. 2. Choose Compatibility View settings.
Step 2: Right-click the Chrome icon and click Properties. Step 3: Navigate directly to the Compatibility tab in the top corner next to Shortcut. Step 5: Click Apply and OK to enable Chrome compatibility mode on your PC.
Testing with Chrome Right-click anywhere on the page and click on Inspect to open the developer tools. Click on the Toggle Device Toolbar icon in the top left of the developer tools panel. At the top of the page, you'll see a dropdown. Select Responsive to either enter in any resolution or drag the window to resize.
Compatibility View is a feature of Windows Internet Explorer 8 that enables the browser to render a webpage nearly identically to the way that Windows Internet Explorer 7 would render it.
Request.Browser will give you complete browser information, where you can check version, browser name, browser type etc.
Request.Browser.Version // Return complete browser version infor
Request.Browser.Browser // If browser is IE then it will return **IE**
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With