This one's driving me nuts!
I've got a user control that dynamically creates a number of textboxes. How do I retrieve the values from these text boxes when the form is submitted?
From looking through this forum, it appears that dynamic controls have to be recreated each time the page loads, but doing this clears the values of the text boxes. I've also tried setting up an onclick handler for the submit button in the vain hope that it might be executed before the dynamic controls disappeared, but still no success.
Any ideas?!
I've got a user control that dynamically creates a number of textboxes. How do I retrieve the values from these text boxes when the form is submitted?
From looking through this forum, it appears that dynamic controls have to be recreated each time the page loads, but doing this clears the values of the text boxes. I've also tried setting up an onclick handler for the submit button in the vain hope that it might be executed before the dynamic controls disappeared, but still no success.
Any ideas?!