How can I tell if a method is running in the context of an AJAX postback (i.e as the result of a UpdatePanel (asynchronous) postback)?
According to egoldin Page.IsAs
Use ScriptManager.GetCurrent ( Page ).IsInAsyncPostBack