G
Gorgsenegger
Hi all,
I have an ASP.Net table to which I want to append a number of rows
dynamically, i.e. there is a list of users in the table, and I want to
add more users via clicking on a button "Add".
The problem is that I can create the new row on the server side and
append it to the table which shows up fine in the browser, but when I
add another user the row I added before disappears.
Initial state:
John Doe
Jack Xyz
Now I click the button "Add":
John Doe
Jack Xyz
Carl Abc
When I click the button again, I still come up with only three rows in
the table, as the initial table that was shown when the page first
loaded only contained two rows, and every time I add a new row it
seems that it will be shown in the browser but the server will forget
about it...
How can I solve this problem, any ideas?
Thanks in advance & best regards
Tim
I have an ASP.Net table to which I want to append a number of rows
dynamically, i.e. there is a list of users in the table, and I want to
add more users via clicking on a button "Add".
The problem is that I can create the new row on the server side and
append it to the table which shows up fine in the browser, but when I
add another user the row I added before disappears.
Initial state:
John Doe
Jack Xyz
Now I click the button "Add":
John Doe
Jack Xyz
Carl Abc
When I click the button again, I still come up with only three rows in
the table, as the initial table that was shown when the page first
loaded only contained two rows, and every time I add a new row it
seems that it will be shown in the browser but the server will forget
about it...
How can I solve this problem, any ideas?
Thanks in advance & best regards
Tim