Hi
Here is my code in the page.ispostback
dim t as new TextBox
t.id="Td"&ViewState("ind")
t.text="TB"&ViewState("ind")
'PlaceHolder1.Controls.add(t)
i=Convert.int16(ViewState("ind"),Tostring())
PlaceHolder1.Controls.addat(i,t)
viewState("ind")+=1
With the above code each time i was button click i.e page.ispostback one new textbox add to the placeholder.
But here i am not get previous Textboxes on the placeholder when i was added new one, Only recent one is viewable.
Here is my code in the page.ispostback
dim t as new TextBox
t.id="Td"&ViewState("ind")
t.text="TB"&ViewState("ind")
'PlaceHolder1.Controls.add(t)
i=Convert.int16(ViewState("ind"),Tostring())
PlaceHolder1.Controls.addat(i,t)
viewState("ind")+=1
With the above code each time i was button click i.e page.ispostback one new textbox add to the placeholder.
But here i am not get previous Textboxes on the placeholder when i was added new one, Only recent one is viewable.