/ Published in: C#
Returns the postback sender ID. This is usually a button ID from a form that caused a post back.
- /// <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");
You need to login to post a comment.