Detect asyncronous postback in asp.net

You can detect asyncronous postback with ScriptManager.IsInAsyncPostBack property.

protected void Page_Load(object sender, EventArgs e) {       if (ScriptManager.GetCurrent(Page).IsInAsyncPostBack)       {            //Do your job here.       } } Happy Tips..
Advertisements