I am using some client side script to dynamically add rows to a table to simulate a datasheet where the number of rows can vary. This uses the Document Object Model. Inside the table cells, I am adding HTML Text INPUT controls.
Here are my questions:
(a) The existing form that I am using has mostly ASP Text controls, which are processed on Postback when an ASP button is pressed. Is there any way that I can get access to these HTML Control's values from the serverside script on postback? I also need to be able to initialise them from data obtained from a Server database.
(b) I like the ability to grow the HTML table via clientside script. It is just so fast as no roundtrip is required back to the server. However as stated above, I am struggling to figure how to get the data to/from the server into the controls. What are my other options to achieve the same capability.
I hope that this is clear.
TIA,
Steve Lewy
Solutions Developer
SimplyData
simplydata.com.au
(dont cut corners or you'll go round in circles)
Here are my questions:
(a) The existing form that I am using has mostly ASP Text controls, which are processed on Postback when an ASP button is pressed. Is there any way that I can get access to these HTML Control's values from the serverside script on postback? I also need to be able to initialise them from data obtained from a Server database.
(b) I like the ability to grow the HTML table via clientside script. It is just so fast as no roundtrip is required back to the server. However as stated above, I am struggling to figure how to get the data to/from the server into the controls. What are my other options to achieve the same capability.
I hope that this is clear.
TIA,
Steve Lewy
Solutions Developer
SimplyData
simplydata.com.au
(dont cut corners or you'll go round in circles)