I am getting the following error in many of my pages in IE9.
Error: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method.
It is coming from the scriptresource.axd. I have tried everything to nail this down. It seems to be related to having an UpdatePanel and ModalPopupExtender. After I interact with a "popup form" containing both of those and click on another link on the page
I get the script error that causes IE to hang forever. Everything works perfectly in Firefox, Chrome and Safari. Please help!!
Disabling the Update Panels through setting EnablePartialRendering="false" in the <ajaxToolkit:ToolkitScriptManager> tag gets rid of this error of course it also gets rid of the functionality of the UpdatePanels for the ModalPopups which makes the entire
screen have to reload to show them, etc.
I really need a fix for this ASAP. I have been searching for 2 days and tried every workaround I can find thus far and nothing short of setting EnablePartialRenderting to false works.
I am almost 100% postive we are using the correct version. We just downloaded
Ajax Control Toolkit 3.5 -application, 6959K, uploaded
Sep 20 - 20958 downloads.
We are no longer getting the Javascript error after moving the Ok and Cancel buttons outside of our UpdatePanels in the ModalPopupExtender. However instead of the JavaScript error we were originally getting along with the application/browser just hanging,
we are just getting the browser hanging.
We have nailed the issue down to a conflict with the RichTextEditor - http://www.richtexteditor.com/. We are using the editor in an UpdatePanel inside a ModalPopupExtender. If we remove the editor and put just a plain TextBox there the issue goes away completely.
This is only happening in Internet Explorer. We have notified CuteSoft but any additional ideas would be GREATLY appreciated!!!
sands904
Member
4 Points
29 Posts
Issue with the Ajax ToolKit in IE9
Dec 05, 2012 07:44 PM|LINK
I am getting the following error in many of my pages in IE9.
Error: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method.
It is coming from the scriptresource.axd. I have tried everything to nail this down. It seems to be related to having an UpdatePanel and ModalPopupExtender. After I interact with a "popup form" containing both of those and click on another link on the page I get the script error that causes IE to hang forever. Everything works perfectly in Firefox, Chrome and Safari. Please help!!
Disabling the Update Panels through setting EnablePartialRendering="false" in the <ajaxToolkit:ToolkitScriptManager> tag gets rid of this error of course it also gets rid of the functionality of the UpdatePanels for the ModalPopups which makes the entire screen have to reload to show them, etc.
I really need a fix for this ASAP. I have been searching for 2 days and tried every workaround I can find thus far and nothing short of setting EnablePartialRenderting to false works.
Please Help!!
Website Design - Stephanie's Web Design
Software for Dog Professionals - DogBizPro
chetan.sarod...
All-Star
65749 Points
11148 Posts
Re: Issue with the Ajax ToolKit in IE9
Dec 06, 2012 02:23 AM|LINK
This turned out to be a bug previously reported
http://www.codeplex.com/AjaxControlToolkit/WorkItem/View.aspx?WorkItemId=11287
Get the latest toolkit which will resolves the problem.
http://forums.asp.net/t/1299152.aspx
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
sands904
Member
4 Points
29 Posts
Re: Issue with the Ajax ToolKit in IE9
Dec 06, 2012 01:19 PM|LINK
Thanks, but I just downloaded the latest Toolkit 3 days ago and am still having the issue. Plus I am not using a ListSearch...Any more ideas?
Website Design - Stephanie's Web Design
Software for Dog Professionals - DogBizPro
Song-Tian - ...
All-Star
43697 Points
4304 Posts
Microsoft
Re: Issue with the Ajax ToolKit in IE9
Dec 07, 2012 07:11 AM|LINK
Hi,
Make sure you install the correct version of the AjaxControlToolkit:
Version 3.0.20229 2008-02-29 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 and Visual Studio 2008.
Version 1.0.20229 You can also download the Toolkit for .NET Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.
Version 3.0.40412
April 12, 2010 release of the AJAX Control Toolkit for ASP.NET 3.5 Service Pack 1 and Visual Studio 2008 SP1.
Version 4.1.51116.0
Nov 16 2011 release of the AJAX Control Toolkit for ASP.NET 4.0 and Visual Studio 2010
Version 4.1.60919
September 2012 release of the AJAX Control Toolkit for ASP.NET 4.5 and Visual Studio 2012
Then you could add the Ajax Control Toolkit to the VS Toolbox step by step at:http://www.asp.net/ajaxlibrary/act.ashx
Feedback to us
Develop and promote your apps in Windows Store
sands904
Member
4 Points
29 Posts
Re: Issue with the Ajax ToolKit in IE9
Dec 07, 2012 01:51 PM|LINK
I am almost 100% postive we are using the correct version. We just downloaded Ajax Control Toolkit 3.5 -application, 6959K, uploaded Sep 20 - 20958 downloads.
We are no longer getting the Javascript error after moving the Ok and Cancel buttons outside of our UpdatePanels in the ModalPopupExtender. However instead of the JavaScript error we were originally getting along with the application/browser just hanging, we are just getting the browser hanging.
We have nailed the issue down to a conflict with the RichTextEditor - http://www.richtexteditor.com/. We are using the editor in an UpdatePanel inside a ModalPopupExtender. If we remove the editor and put just a plain TextBox there the issue goes away completely. This is only happening in Internet Explorer. We have notified CuteSoft but any additional ideas would be GREATLY appreciated!!!
Website Design - Stephanie's Web Design
Software for Dog Professionals - DogBizPro