gavriel ankri

gavriel ankri

  • NA
  • 39
  • 48.5k

how to create dynami controls on button click ?

Nov 15 2014 8:15 AM
hello
 
I created a form with 3 textbox and I want to add another dynamic text box when the user click the button;
Everything working fine, but when I try to read the data using FindControl it doesnt find anything.
If I create the dynamic buttons on Page_Init, its find them,  but if I create then on the button click event it wont find them using FindControl.
 
what can I do ? 
 

Answers (8)