TextBox in Repeater
-
I created dynamic textboxes(Textbox1,Textbox2) in repeater control. i had a button. on button click the two text boxs are added any number of times.. the problem is the values in textboxs disappear when i click the button for second time... How do i store the values in textboxs.Tried updatepanel but it doesnt work too...
-
I created dynamic textboxes(Textbox1,Textbox2) in repeater control. i had a button. on button click the two text boxs are added any number of times.. the problem is the values in textboxs disappear when i click the button for second time... How do i store the values in textboxs.Tried updatepanel but it doesnt work too...
Hi, I didnt get why you have used a Update panel here. But you need to store values of text boxes in ViewState and rebind ( or re-associate) to textboxes so that values does not disappear on button click. Please let me know if you get it going. :)
Thanks, Arindam D Tewary