Thursday, September 16, 2010

Jquery is not working with the combination of UpdatePanel

I am using the Jquery get some effects for elements. The added Jquery code for element is not working because it is placed inside the update panel.
Inorder to run the Jquery in the Update panel we need to write the below code

var prm = Sys.WebForms.PageRequestManager.getInstance(); prm.add_endRequest(function() { // re-bind your jquery events here

});

Hope this will help you.