Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RickyLin/f1386ba31b9b2b1d427d10ed248814de to your computer and use it in GitHub Desktop.
Save RickyLin/f1386ba31b9b2b1d427d10ed248814de to your computer and use it in GitHub Desktop.
invoke javascript functions after each UpdatePanel request
$(function () {
var prm = Sys.WebForms.PageRequestManager.getInstance();
if (prm != null) {
prm.add_endRequest(function (sender, e) {
/*
if (sender._postBackSettings.panelsToUpdate != null) {
DisplayCurrentTime();
}
*/
// invoke whatever functions
});
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment