Last post Mar 15, 2013 02:41 AM by nileshsaikhede
Jan 16, 2013 12:57 AM|nileshsaikhede|LINK
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.
Also tried different solutions from the below links:
But none has worked in my case.
Could anyone please help to get rid of this IE 10 issue?
Thanks in advance!
Jan 16, 2013 02:36 AM|sameer_khanjit|LINK
<form action="Default.aspx" />
Jan 16, 2013 06:05 AM|nileshsaikhede|LINK
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.
Jan 16, 2013 06:08 AM|sameer_khanjit|LINK
do you have runat='server' in form attribute ?
Jan 16, 2013 11:58 PM|nileshsaikhede|LINK
Thank you friends.
My issue is finally resolved from the same blog link as
I refollowed the manual method to update the browser definitions and suddenly it worked out.
Mar 15, 2013 01:54 AM|klkkeio|LINK
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...
Mar 15, 2013 02:41 AM|nileshsaikhede|LINK
Remove all the browser definition files which you have added first time. Build your solution.
Download App_Browsers definition folder from this location
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.