Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically Updating ASP:Table

Status
Not open for further replies.

KidHoss

Programmer
May 22, 2000
27
US
I am using a button click event to add a row with two cells to a table contained on a panel on my page. Each cell contains a text box to allow the user to enter some data. The table starts out with two rows and if the user needs more, they are to click the button and add another row to the table. I can get it to work one time. The next time the page is rendered, the table is back to it's original starting state (two rows). I know this has to do with STATE manangement. That every time the page is returned to the server it is re-created in a state prior to my dynamically adding a row to the table...... but ..... I do not know what I need to do to correct this. How to I re-establish the state of the table every time a row is added to it?

Thanks for any suggestions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top