I have done a project that allows the user to input the number of textbox they want. After the number is typed in the textbox it displays number of textbox according to the input was given. I have also created the number of labels to another page according to the current page. But i could not get the values of all those textboxex to another page through session.
Can anybody help me.
thakns
prasanna
Getting the value of dynamically created textbox
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Amit ChoudharyRank #145 · 15.8K reputationPosted May 8, 2011, 8:50 PM EDT
Hint: you can put a special prefix in the textboxes names and iterated through all the forms controls and put a condition to check the prefix.
store all the values in the collection like Dictionary or hashtable and save it in session. and retrieve the values in next page and show them in label.
Hope this make sense to you.
Thanks
prasanna shah35 reputationPosted May 9, 2011, 8:02 AM EDT