javascript execution for events in update panel


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. 1)Add this code in the page out side the update panel :
  2.  
  3. 2)call the load() mathood in the on the page load ,if page is content page then call it in Document.Ready() function of the Juery.
  4.  
  5.  
  6. <script type="text/javascript" language="javascript">
  7. function load() {
  8. Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
  9. }
  10. function EndRequestHandler()
  11. { debugger;
  12. // alert('You record has been saved successfully');
  13. // formatGridHeight('ngwAuditDownload', <%= ngwAuditDownload.Height %>); }
  14. </script>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.