K
Krista Lemieux
Hello,
In my form I have a button, and the button_Click function
(which gets called when the button is clicked). However
the functionality that I have in the button_Click
function, needs to be in the Page_Load, since I need to
change a value based on the button click to render the
page. So my question is, can I access the button object
(the sender of the event) in the Page_Load. So that in
the Page_Load I can have the following functionality:
If Button1 is pressed then Do this
If Button2 is pressed then do that
If Button3 is pressed then do ... and so on...
Is this possible?
Thank you very much for your help.
Merci,
Krista Lemieux
In my form I have a button, and the button_Click function
(which gets called when the button is clicked). However
the functionality that I have in the button_Click
function, needs to be in the Page_Load, since I need to
change a value based on the button click to render the
page. So my question is, can I access the button object
(the sender of the event) in the Page_Load. So that in
the Page_Load I can have the following functionality:
If Button1 is pressed then Do this
If Button2 is pressed then do that
If Button3 is pressed then do ... and so on...
Is this possible?
Thank you very much for your help.
Merci,
Krista Lemieux