Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: Reorder list and IE compatibility mode by default [27288]

$
0
0
The drag and drop in Reorder list does not work with IE8 in this case
- tag <meta http-equiv="X-UA-Compatible" content="IE=8" />
- IE 8 with "compatibility mode for intranet" checked or the web site in the exception

I made the test with the sample site:
- adding <meta http-equiv="X-UA-Compatible" content="IE=8" /> in the master page
- adding localhost in my exception for compatibilty mode
Comments: Finally, we find a solution: indeed ajaxcontrol toolkit use the documentMode only the user agent is over IE7, but in compatibility mode, the user agent is always IE7 ... Here is the code to put after declaring script manager ``` <script type="text/javascript"> // fix IE version detection issue with "compatibility view": version always 7 when enabled! (function() { var browser = window.Sys.Browser; if(browser.agent === browser.InternetExplorer) { if(!browser.documentMode && document.documentMode) browser.documentMode = document.documentMode; if(browser.documentMode && browser.documentMode > browser.version) browser.version = browser.documentMode; } })(); </script> ```

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>