whykeepderegingme
Programmer
Hey,
I have an ASP:Table that is generated dynamically. I add 10 rows, then I want to have a button, each time pressed will add 5 more rows, while maintaining the data already in the table.
I have had no luck, my table survives postbacks on its own, but as soon as I try to add a new row (I have also tried creating some of the rows with Visible=false, then setting it to True for the appropriate 5 rows), all the other rows just disappear. Stupid Asp.net calls the button click event AFTER the postback, but i need it to be before so that the row changes appear in the viewstate for the table.
Javascript doesn't seem to be working for me either...
Thanks!
I have an ASP:Table that is generated dynamically. I add 10 rows, then I want to have a button, each time pressed will add 5 more rows, while maintaining the data already in the table.
I have had no luck, my table survives postbacks on its own, but as soon as I try to add a new row (I have also tried creating some of the rows with Visible=false, then setting it to True for the appropriate 5 rows), all the other rows just disappear. Stupid Asp.net calls the button click event AFTER the postback, but i need it to be before so that the row changes appear in the viewstate for the table.
Javascript doesn't seem to be working for me either...
Thanks!