Yahoo Search

Search the web Search this site

Live Search

Google Search

Custom Search

Translate this Web Site to

Saturday, August 18, 2012

Handler was not added through the Sys.UI.DomEvent.addHandler method.


Sometime back I started getting this error in all the forms in which AJAX tools were used. The thing worried me most is that there were no changes made to the project source code. Later a friend of mine found that it is happening because of the wrong AjaxControlToolkit.

As I feel this dll swap happens when a control is dragged from the Visual Studio toolbox because the toolbox is referenced to a newer version of the toolkit than the project was using.

If you are also getting this error simply delete all the AJAX related files and folders in your projects’ bin directory. Once you are done there should not be any folders such as ar, cs, de, etc. Also remove the AjaxControlToolkit.dll. Then copy the version of the toolkit dll your project was using earlier to the Bin directory. Now clean and build your project to see the error disappear.

If you are still getting the error after correctly doing all this you might be getting the error due to another reason causing the same error. Since there are many reasons for this same error you better check the internet for other reasons to find out the exact reason causing the error for you.


Anonymous said...

Hmm is anyone else experiencing problems with the pictures on
this blog loading? I'm trying to figure out if its a problem on my end or if it's the blog.
Any feed-back would be greatly appreciated.
Also visit my page ... read this blog tumblr

Arjuna Chiththananda said...

I checked with several computers and the images were fine. Anyway in which article did you encounter the problem. Please let me know so I can have a look.

Anonymous said...

Awesome issues here. I'm very satisfied to peer your post. Thank you so much and I'm taking a look ahead to contact you.

Will you kindly drop me a mail?
Also visit my blog - click here to see the attached video

Anonymous said...

Ӏ hаve read so mаny аrtiсles on the topic of the blogger lovers howevеr this piecе οf writing is
truly a gooԁ post, keeρ it up.
Feel free to visit my webpage : swimming with dolphins florida