R
ruben.monteiro
Hi!
I'm developing a page that has some dynamic controls in it,a
tabcontainer with a number of tabs in it(depending on a value from the
database), and on each tab a usercontrol (with textboxes) , I'm able
to create the controls just fine. The problem that when i add a new
tab dynamically to the tabcontainer (using a button to add a tab) and
after that submit the form to save the values, this last tab has some
values on the textboxes but that values don't appear on the code that
i have to check that values on each tab, only when i submit the page a
second time the values pear, have a the same problem with a button
inside the user control to which i associate an event but the event
only works on the second time that i click on the button even dew the
page is submitted because of the button the event that i register is
only call on the second time. If anybody can give some hints on how
can i solve this it would be great. Thanks.
I'm developing a page that has some dynamic controls in it,a
tabcontainer with a number of tabs in it(depending on a value from the
database), and on each tab a usercontrol (with textboxes) , I'm able
to create the controls just fine. The problem that when i add a new
tab dynamically to the tabcontainer (using a button to add a tab) and
after that submit the form to save the values, this last tab has some
values on the textboxes but that values don't appear on the code that
i have to check that values on each tab, only when i submit the page a
second time the values pear, have a the same problem with a button
inside the user control to which i associate an event but the event
only works on the second time that i click on the button even dew the
page is submitted because of the button the event that i register is
only call on the second time. If anybody can give some hints on how
can i solve this it would be great. Thanks.