c# - Retaining viewstate in textboxes found in a dynamically created table -
My problem is that I have an ASPX page that contains the ASP table: A column in the table contains text boxes, but when I write something on a text box and give a reason for postback, I'm unable to find the value I just entered. And after this the table is not displayed after postback.
Can anyone help me? I want to keep table visibility with modified textbox values, so that when I post back to the server, I can stop these new values.
To make sure rebuild the text box with the same ID
And then you should be able to get the value. For example, if you are using TextChanged
events, these will be paused for as long as the text boxes are reproduced every time and there is only one ID.
Comments
Post a Comment