TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mats A
NA
59
28.7k
Dynamic button i dynamic table click event
Mar 7 2011 1:31 AM
Any ideas from someone?
In my project i build a asp:table dynamically based on a database query.
In this I add a button dynamically, so for the selected cell i add the button - cell.controls.add(X). Now, the problem is getting the clickevent to call for the method.
If I do the same thing, without the table.. create a button dynamically and have it call a method on the click event, it works fine, so I dont think there is any problem with that code
It has to be something with the table, can you create an dynamic table and assigne a dynamically created button to this? And how do you make it call methods on click?
(At the moment I do not have the code.. sitting at work)
Thanks
Reply
Answers (
2
)
Multible cases
Populate a datagrid view using SQL C#