Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. if (ScriptManager.GetCurrent(this.Page).IsInAsyncPostBack)
  2. {
  3. // partial (asynchronous) postback occured
  4. // insert Ajax custom logic here
  5. }
  6. else
  7. {
  8. // regular full page postback occured
  9. // custom logic accordingly
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement