Keeping State in Tables

M

Michael Schnell

I've got a "Stock order form" that I need to create for an ASP.Net
application. What the client is looking for is basically a table that
has 25 lines. There will be a 2 text boxes on each line, 1 for the user
to supply part number and one for the user to supply quantity. This
will allow them to place large list orders of parts. There will be 2
buttons at the bottom of the page, 1 to Update, which will take the user
to a shopping cart that will list all the parts the user keyed in and
let them place the order, and one that will list and validate the
entries already made and add another 25 boxes so that the user can
continue to add parts to the stock order.

I've figured out how to do a dynamic table in ASP.Net, however,
the issue I've run into is that it seems that the table does not
maintain state between postbacks. Also, I've looked at using a data
grid, but I'm a little confused on how to put in blank text boxes into
the grid.

Any help would be greatly appreciated,

Michael Schnell
 
G

Guest

You have to recreate the Textboxes on Postbacks

----- Michael Schnell wrote: ----


I've got a "Stock order form" that I need to create for an ASP.Net
application. What the client is looking for is basically a table that
has 25 lines. There will be a 2 text boxes on each line, 1 for the user
to supply part number and one for the user to supply quantity. This
will allow them to place large list orders of parts. There will be 2
buttons at the bottom of the page, 1 to Update, which will take the user
to a shopping cart that will list all the parts the user keyed in and
let them place the order, and one that will list and validate the
entries already made and add another 25 boxes so that the user can
continue to add parts to the stock order

I've figured out how to do a dynamic table in ASP.Net, however,
the issue I've run into is that it seems that the table does not
maintain state between postbacks. Also, I've looked at using a data
grid, but I'm a little confused on how to put in blank text boxes into
the grid

Any help would be greatly appreciated

Michael Schnel
 

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

Top