User Name:
Password:
Remember me on this computer
Email:
Hello,
What is the best way to remove an existing event from an HTML element via the asp.net ajax framework? I have an image with the onmouseover event and I would like to remove that.
Thanks
3 MONTHS FREE & FREE SETUP on ASP.NET 3.5/2.0 Web Hosting! Windows 2008 & 2003 Servers Available, MS SQL 2008/2005, .NET 3.5 SP1, Entity Framework, LINQ, Silverlight 2.0, 30 Day Money Back Guarantee – Click Here!
If you have used the Ajax shortcut $addHandler when binding the event you can use the $clearHandlers/ $removeHandler. But it only works if used the $addHandler.
What about setting the handler to simply null? That should work as well, right Kazi?