AUTHOR: Eyup Yusein
DATE MODIFIED : April 16, 2018
DATE POSTED: November 27, 2017
In some scenarios it might prove helpful to know which control has caused the PostBack or partial request action to the server.
You can use one of these approaches to achieve this requirement.
sender, EventArgs e)
id1 = Request.Params[
id2 = Request.Form[
id3 = ScriptManager.GetCurrent(Page).AsyncPostBackSourceElementID;
isAJAX = ScriptManager.GetCurrent(Page).IsInAsyncPostBack;
id4 = DeterminePostBackMode()[