I have asp:button and foo function. I want to programmatically add foo function for command event to that button. How can I do that? Thanks
-
@Shekhar actually i can not find anything usefulAlaattin KAYRAK– Alaattin KAYRAK2011-07-08 08:43:57 +00:00Commented Jul 8, 2011 at 8:43
-
have you programmed in asp.net before?ub1k– ub1k2011-07-08 08:48:31 +00:00Commented Jul 8, 2011 at 8:48
-
@ub1k i am kind a newbieAlaattin KAYRAK– Alaattin KAYRAK2011-07-08 08:50:50 +00:00Commented Jul 8, 2011 at 8:50
Add a comment
|
2 Answers
You need to add event handler (in your case, event handler will be foo() function) for command event.
Here you can get all the information about how to add event handler for command event.