protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack)
// get a reference to ScriptManager and check if we have a partial postback
if (ScriptManager.GetCurrent(this.Page).IsInAsyncPostBack)
// partial (asynchronous) postback occured
// insert Ajax custom logic here
}
else
// regular full page postback occured
// custom logic accordingly
Show Comments (3)
Loading Comments. Please Wait...