Wich control fired the postback action

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
 
J

jw56578

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top