WebPage Data on PostBack

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
 
Joined
Aug 4, 2006
Messages
2
Reaction score
0
Hi All,

I am also facing similar problem and i am unable to figure it out.
I am creating controls at runtime, and they show up on the page, but
when the page is submitted, I can't find them. What am I doing wrong?

Your reply to this very much appreciated.
Thanks..

Regards,
Guptha
 
S

Siva M

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
 
B

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
 
B

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

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,526
Members
44,997
Latest member
mileyka

Latest Threads

Top