Web developers wiki ASP.NET Sitecore Sharepoint Kentico by Evident Interactive

Fire event after asp.net partial postback

Modified: 2010/09/29 09:06 by erik - Categorized as: 2010, ASP.NET, Javascript
The endRequest event is raised after an asynchronous postback is finished and control has been returned to the browser. For more information about the PageRequestManager event model, see Working with Partial-Page Rendering Events

Example:
< script type="text/javascript">
 Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
 function EndRequestHandler(sender, args) {
  //insert code that needs to execute after partial postback here
 }
< /script>

 © Evident Interactive BV