I'm building a purchase order webform - multiple line items, anywhere from
1 to N. The client *will not* accept round trips to the server for each
line item.

In ASP I would have a loop in the page to create the rows for data entry
(textboxes, checkboxes, dropdowns) and use javascript to add additional
rows as necessary.

I'm simply hitting brick walls on how to do this in ASP.Net. Server-side
controls can't have the same name, so any server-side control is out. As
far as I can tell the grid only allows editing one row at a time, so that's
out. And I'm having a heck of a time figuring out how to put plain old code
in a display page to loop display elements (I'm looking at the repeater
now, unsure if this will work).

Then I'm thinking the code to parse this stuff is going to be just as hard.

Is there a "best practices" way for allowing the user to insert multiple
rows on a single page, order-form style?

Philo

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to