WebPage Data on PostBack

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Barry,

i believe, you are creating those rows and controls dynamically on the
clientside using javascript (or some other scripting language). If thats the
case, you can access the values from Request.Forms collection.

- Augustin
 
Dynamically created controls need to be again created on postback too. Here
is a sample: http://support.microsoft.com/kb/317794/EN-US/ A Google search
will get you more.

Hi

have a webpage with some controls at the top and a Table control at the
bottom.

programmatically add the table header and Data rows using TableRow() and
Cells using Cell(), the Table is populated when page is NOT PostBack.
have a button to save data, when i click on the save button, rows created
programatically, do not show up, how do i maintain the state of such
controls so as to allow me to save the data.

does anyone know of some sample which show how to achive this.

TIA
Barry
 
Hi

have a webpage with some controls at the top and a Table control at the
bottom.

programmatically add the table header and Data rows using TableRow() and
Cells using Cell(), the Table is populated when page is NOT PostBack.
have a button to save data, when i click on the save button, rows created
programatically, do not show up, how do i maintain the state of such
controls so as to allow me to save the data.

does anyone know of some sample which show how to achive this.

TIA
Barry
 
Hi Augustin

Thanks for your quick reply,
I am creating the TableRow on the Server Side using VB code not JavaScript

Barry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top