Wednesday, October 9, 2013

Tip: IE 10 Issue with MS Report Viewer

Recently I encountered a very strange scenario whereby IE 10 failed to render the Report Viewer properly. All i got was a "disabled" view of the Report Viewer. I tried to switch the browser mode through F12 to "Internet Explorer 10 Compatibility View" with "Standard" document mode. Amazingly the Report Viewer displayed properly and at the same time preserving the CSS3 appearance. I checked the IE debugger console and found that there's a JavaScript error stating "__doPostBack is undefined", so i did a search in Google and found the following link which provides the solution: http://www.hanselman.com/blog/BugAndFixASPNETFailsToDetectIE10CausingDoPostBackIsUndefinedJavaScriptErrorOrMaintainFF5ScrollbarPosition.aspx I tried to download the hotfix from MS web site, but the link was invalid, so i downloaded the nuget browser files from http://www.hanselman.com/blog/BugAndFixASPNETFailsToDetectIE10CausingDoPostBackIsUndefinedJavaScriptErrorOrMaintainFF5ScrollbarPosition.aspx to fix the problem.

1 comment:

Anonymous said...

Hey thanks for the tip. The HotFix link from Microsoft is correct but it has an extra ')' at the end in the automatically generated hyperlink. Drop that and the link works to download

Ron