Wich control fired the postback action

  • Thread starter Thread starter Fabiano
  • Start date Start date
F

Fabiano

Please,

i have a webpage and i need to know each of my controls fired the postback
action. I know i can use the event of each control but i need to know at a
PageLoad level.

tks in adv.

Fabiano
 
That information is in the Form Post Data (Request.Form) . It will
either be the name of a submit button, the name of an image button with
".x" appended to it or the key "_EVENTTARGET" with the value being the
unique id of the control (linkbutton) that caused the postback.
 
Back
Top