How to handle events of dynamic controls
-
Hi, All I am generating a table which contains Edit button and check box as well. I am getting problem to handle events. I don't have fix no of controls it could be any number. Is there any looping way in order to handle the events of all buttons. If any one have any Idea regarding this. Plz help me out. Thanks Sapan Spillting Headache
-
Hi, All I am generating a table which contains Edit button and check box as well. I am getting problem to handle events. I don't have fix no of controls it could be any number. Is there any looping way in order to handle the events of all buttons. If any one have any Idea regarding this. Plz help me out. Thanks Sapan Spillting Headache
Yes definatly there should be ..... first thing is you should know how many controls you have in the page at the server try to use Page.Controls and loop through it or find any another method .......... Then in init method declare all Event handlers for your controls
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "