By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,241 Members | 733 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,241 IT Pros & Developers. It's quick & easy.

How to create the Event Handler for Runtime generated control

P: 13
Hi,
I am using asp.net with vb.net and creating the user control .My user control generate the table at runtime in which each column has button so i want to create the event handler for each run time generated button Onclick .I Do not want to use the attribute.add .Please suggest me how to raise the event from the page when be drop this control .
waiting for your hopefully response....

Thanks and Regards
Amit
Aug 14 '07 #1
Share this Question
Share on Google+
1 Reply


kenobewan
Expert 2.5K+
P: 4,871
What is the purpose of creating a runtime button generated onclick event? A user generates an onclick event after the page is loaded. If its a button click event you want why not code that event somewhere after your page load?
Aug 14 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.