Answered by:
IE 10 Issue: Postbacks are not rendering

Question
-
User2036226743 posted
Hi,
I have a site running in all browsers except IE 10 in which post back events are not happening. I am getting an error in IE Console as:
SCRIPT5007: Unable to set property 'value' of undefined or null reference
In this case, in all other browsers ___doPostBack is rendering in the page and __EVENTTARGET value is getting set properly.
After debugging in IE 10 console panel ___doPostBack is not rendering and due to which __EVENTTARGET value is unable to set.
I followed the blog link (http://www.hanselman.com/blog/BugAndFixASPNETFailsToDetectIE10CausingDoPostBackIsUndefinedJavaScriptErrorOrMaintainFF5ScrollbarPosition.aspx) and applied the fixes but none of the solution worked for me.
Also tried different solutions from the below links:
http://msdn.microsoft.com/en-us/library/ie/hh869299%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/ie/hh869301%28v=vs.85%29.aspxBut none has worked in my case.
Could anyone please help to get rid of this IE 10 issue?Thanks in advance!
Wednesday, January 16, 2013 12:57 AM
Answers
-
User2036226743 posted
Thank you friends.
My issue is finally resolved from the same blog link as
http://www.hanselman.com/blog/BugAndFixASPNETFailsToDetectIE10CausingDoPostBackIsUndefinedJavaScriptErrorOrMaintainFF5ScrollbarPosition.aspxI refollowed the manual method to update the browser definitions and suddenly it worked out.
Thanks!- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, January 16, 2013 11:58 PM
All replies
-
User-861818263 posted
<form action="Default.aspx" />
http://stackoverflow.com/questions/7228344/postback-doesnt-work-with-aspx-page-as-default-document
Wednesday, January 16, 2013 2:36 AM -
User2036226743 posted
Hi Sameer,
Thanks for the reply.
In my case form tag is rendering properly with action attribute.<form name="form1" method="post" action="/3DContentCentral/Login.aspx" id="form1">
The problem is _dopostback() is not rendering after looking at the html source.
Wednesday, January 16, 2013 6:05 AM -
User-861818263 posted
do you have runat='server' in form attribute ?
Wednesday, January 16, 2013 6:08 AM -
User2036226743 posted
Thank you friends.
My issue is finally resolved from the same blog link as
http://www.hanselman.com/blog/BugAndFixASPNETFailsToDetectIE10CausingDoPostBackIsUndefinedJavaScriptErrorOrMaintainFF5ScrollbarPosition.aspxI refollowed the manual method to update the browser definitions and suddenly it worked out.
Thanks!- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, January 16, 2013 11:58 PM -
User1866624548 posted
I did the both project and machine for .NET 2.0. However, it only work on my development PC (Windows 7) but not hosting server (Windows Server 2008 SP2).
Tried restart IIS, recycle application pool. no help.
with the meta code i put in master page <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />. it work for when the site is hosting with my pc. use F12 and see the setting of development tool. both sites are running Document IE9 standard, but different looks. PC hosted is showing as IE9 but Server hosted is showing IE10...
I don't know why IE 10 cannot run ASP.NET web form perfectly as both are Microsoft product... disappointed...
Friday, March 15, 2013 1:54 AM -
User2036226743 posted
Hi klkkeio,
Remove all the browser definition files which you have added first time. Build your solution.
Download App_Browsers definition folder from this location
http://nuget.org/List/Packages/App_BrowsersUpdate- install-package App_BrowsersUpdate
Manually Copy "ie.browser" definition file to your Project's App_Browsers folder Or add from visual studio
Again Build the solution and Try running it. It should resolve your IE 10 issues.
On the hosted server, hust upload App_Browsers folder as it is. No extra settings needed. Try to launch your site in IE10.
Regards,
NileshFriday, March 15, 2013 2:41 AM