Bookmark and Share

Friday, February 01, 2013

Howto fix _doPostBack is undefined error on DNN 5

If you are using IE10 on windows 8 you may receive a strange error on IE 10:

image

The problem seems resolved if you force IE10 to IE9 Mode using the The Browser Mode menu  in the Developer Tools Interface.

Follow the steps in this article written by Scott Hanselman

http://www.hanselman.com/blog/BugAndFixASPNETFailsToDetectIE10CausingDoPostBackIsUndefinedJavaScriptErrorOrMaintainFF5ScrollbarPosition.aspx

And……

  1. Open a command prompt and run \Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regbrowsers.exe –i
  2. Do the same on version 2 of the framework
  3. Restart IIS (e.g., with iisreset)
  4. Delete the .browser files in your DNN App_Browsers folder.รน

Other useful readings:

http://fkauffmann.blogspot.it/2012/01/aspnet-fails-to-detect-ie10-causing.html
http://geekswithblogs.net/BenBarreth/archive/2012/11/30/asp.net-fails-to-detect-ie10-without-.net-hotfix.aspx

 

Hope it helps!