Which control triggered postback event
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
Iam dynamically adding linkbuttons to a page, Now I would like to know which link button triggered postback event. Thanks in advance Padvit
It depends on where you are trying to gain access to this information and what you hope to achieve. Obtaining the ID of the control that raised the event is easy enough to do in the Click event of a LinkButton control. Just cast the "sender" as a LinkButton and use the ID property. -BC