G
Guest
Hello,
Here's the situation (I'll try to be brief as possible)
I am working on the control which is created dynamically based on XML
string. This control consists of a table with number of rows with 3 columns;
TextBox, dropdown and a button ("Delete" button) in each column. Also there's
one button at the bottom of the table that allows users to add more rows. So
more controls will be added programmatically as user adds more rows.
What's the easiest way to associate an event with each Delete button which
will take rowID as a parameter. So when a particular button is clicked
appropriate row will be removed.
Thank you guys for any feedback...
Here's the situation (I'll try to be brief as possible)
I am working on the control which is created dynamically based on XML
string. This control consists of a table with number of rows with 3 columns;
TextBox, dropdown and a button ("Delete" button) in each column. Also there's
one button at the bottom of the table that allows users to add more rows. So
more controls will be added programmatically as user adds more rows.
What's the easiest way to associate an event with each Delete button which
will take rowID as a parameter. So when a particular button is clicked
appropriate row will be removed.
Thank you guys for any feedback...