find controls from dynamically created table

Posted by tina on Stack Overflow See other posts from Stack Overflow or by tina
Published on 2011-01-06T13:41:28Z Indexed on 2011/01/06 13:54 UTC
Read the original article Hit count: 246

Filed under:

hi,

i wrote a function to create dynamic table in code behind on selectedindexchanged of checkbox, that is when user will check 2 checkboxex 2 tables will be generated with textboxes,

Then on button click i want insert values of these textboxes in database, for that i want to find textbox using findcontrol,but i could not find it,

So i called same function of table creation on page load, but then it shows error that textbox is having duplicate id

Plz tell me solution for this.

thanks

© Stack Overflow or respective owner

Related posts about ASP.NET