C
cheung
Hello,
Simple question. How can I determine which control fired event in the
Page_Init or Page_Load event handler?
I saw some post in the past with the similar question. One of the
recommendations was to use the sender argument. The questions is how? In my
case it contains the form itself and I cannot find how I can retrieve the
command name or any other information I need from it?
Another way is to add a generic handler for all these controls.
But I cann't find any sample code for both solution...
Any help is really appreciated
Cheung
Simple question. How can I determine which control fired event in the
Page_Init or Page_Load event handler?
I saw some post in the past with the similar question. One of the
recommendations was to use the sender argument. The questions is how? In my
case it contains the form itself and I cannot find how I can retrieve the
command name or any other information I need from it?
Another way is to add a generic handler for all these controls.
But I cann't find any sample code for both solution...
Any help is really appreciated
Cheung