Ive been stuck on this one for a month:
So I have a custom control that has a list of textboxes, and a button that will dynamically add a new textbox to the list.
So I have an addTextbox() function, that will do something like
TextbBox t = new TextBox()
then I add it to the page. So adding a new textbox works fine, but I have values that I want to put into each textbox and upon each page load, the values get replaced. What I need to do is get the textboxes from the viewstate so I can use their values for other textboxes, but since they are created anonymously, im not sure how I can do that. I tried to get the unique name and put all of them into an arraylist, then upon the next page load, load the names from the list, but the unique name isnt unique. Thanks
View Complete Post