/ Published in: C#

Returns the postback sender ID. This is usually a button ID from a form that caused a post back.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/// <summary> /// Returns the sender ID of the post back received by ASP.net. /// (Usually a button's ID) /// </summary> /// <returns></returns> private string GetPostBackSender() { return Request.Params.Get("__EVENTTARGET"); }
Comments
