var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_endRequest(function() {
// re-bind your jQuery events here
$(document).ready(function() {
// bind your jQuery events here initially
});
});
Here is the post which I used.
http://stackoverflow.com/questions/256195/jquery-document-ready-and-updatepanels
Today I faced with a problem Update Panel and JQuery $(document).ready
When post back happens all my client side events were lost.
To prevent this issue I used following solutions below.
No comments:
Post a Comment