A
andrei
Hi Group,
I have an aspx form with a variable number of buttons added dynamically,
with id's like b01, b02, b03...
Whenever I click one of these buttons, the form is posted back.
I need to find out which of the buttons triggered the postback *in the
Page_Load* - here I have some code that needs to know which button was
clicked so it will generate different output for the page.
I also have code for each <btn>_Click, but those subs are executed after the
Page_Load, so at that time the design of the page is already done (dynamic
creation of controls).
Anyone knows how to find which button called the postback?
Thanks !
Andrei.
I have an aspx form with a variable number of buttons added dynamically,
with id's like b01, b02, b03...
Whenever I click one of these buttons, the form is posted back.
I need to find out which of the buttons triggered the postback *in the
Page_Load* - here I have some code that needs to know which button was
clicked so it will generate different output for the page.
I also have code for each <btn>_Click, but those subs are executed after the
Page_Load, so at that time the design of the page is already done (dynamic
creation of controls).
Anyone knows how to find which button called the postback?
Thanks !
Andrei.