G
Guest
With an ASP page you can add a webform textbox and button (ie not HTML ones)
an cause something to be appended to the textbox everytime the button is
presssed because the textbox Enableviewstate property is true (??)
I have created a webform table and have modified code from MSDN (Jan)
library such that when a button is pressed, rows are appended. I have
programmatically enabled viewstate for the cells and the row added. The
problem is that each time the button is pressed the previusly added rows are
lost; ie no viewstate.
<For the dynamic table code search in MSDN library for TableRow class and
take the Overview. Note that this code has the script in the HTML section
interacting with a HTML table. With little effort it can be co-opted to
interact with a webform table placed in an ASPX code behind page>
Any ideas ?? Thx
--
David Jones
Senior Lecturer
School of Electrical & Computer Engineering
RMIT University
+61 3 99255318
an cause something to be appended to the textbox everytime the button is
presssed because the textbox Enableviewstate property is true (??)
I have created a webform table and have modified code from MSDN (Jan)
library such that when a button is pressed, rows are appended. I have
programmatically enabled viewstate for the cells and the row added. The
problem is that each time the button is pressed the previusly added rows are
lost; ie no viewstate.
<For the dynamic table code search in MSDN library for TableRow class and
take the Overview. Note that this code has the script in the HTML section
interacting with a HTML table. With little effort it can be co-opted to
interact with a webform table placed in an ASPX code behind page>
Any ideas ?? Thx
--
David Jones
Senior Lecturer
School of Electrical & Computer Engineering
RMIT University
+61 3 99255318