1
Answer

How to Generate textbox dynamically without clicking any button

Tuhin Kumar

Tuhin Kumar

12y
1.4k
1

Using C# and webform .


1.I have a textbox in which user enters a number between 1 to n. Based on the number entered in the textbox those many textboxes have to be generated dynamically (i mean without pressing any button).
2.Then entering value into the textbox and finally clicking the button, the value will be stored as array/arraylist/hashtable in session . and finally retrieving contents in the in the next page.

Can anyone help me out in doing this??

Thanks in advance

Answers (1)
0
Kunal Vaishya
NA 4.1k 266.1k 12y
You can do this do this on text change event on TextBox  but make sure TextBox AutoPost back Property must be true if Not the Set it true without post back you cant generate any control in Asp.Net