Is it possible to get button id that triggered postback in Page_Load void?
Tanks
Is it possible to get button id that triggered postback in Page_Load void?
Tanks
string postbackControlName = Request.Params.Get("__EVENTTARGET");
That should give you the name of the control that causes the postback.
Then use the Page.FindControl(postbackControlName); to get the control, which you can access the id of.