theunknownknight
MIS
I dynamically created table, tablecell, and tablerow controls in code. The number of rows in the table is dependent on a number the user enters into a textbox. When the user presses enter, the table is created at run time and placed in a placeholder. In some cells I have added dynamically created textboxes. I then, want the user to enter information into the textboxes.
Here is my question. How do I read the data from the created textboxes into a variable?
(I can't refer to them in code because I get the error that the control hasn't been declared. I understand that it because they doesn't exist in design time.)
If I can't, what's the point, besides labels, of being able to create web controls at runtime?
Thanks.
Here is my question. How do I read the data from the created textboxes into a variable?
(I can't refer to them in code because I get the error that the control hasn't been declared. I understand that it because they doesn't exist in design time.)
If I can't, what's the point, besides labels, of being able to create web controls at runtime?
Thanks.