Skip to content

Instantly share code, notes, and snippets.

@boldfacedesign
Created November 4, 2013 12:21
Show Gist options
  • Save boldfacedesign/7301723 to your computer and use it in GitHub Desktop.
Save boldfacedesign/7301723 to your computer and use it in GitHub Desktop.
Rebind/Refire JavaScript after partial postback
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(onBeginRequest);
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(onEndRequest);
function onBeginRequest() {
//initiate on start of postback
}
function onEndRequest() {
//initiate at end of postback
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment