Created
June 11, 2020 07:47
-
-
Save RickyLin/f1386ba31b9b2b1d427d10ed248814de to your computer and use it in GitHub Desktop.
invoke javascript functions after each UpdatePanel request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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