J
Jakob Lithner
I would like to have a webpage with a list of items for the user to send for
processing.
When the user enters the page I usually would like to enter a couple of
default items. Then it should be possible to edit, delete and insert items to
the list.
After all editing is ready, the list can be sent for processing.
I found out the ListView control looked like a great candidate. I added a
ListView and configured a corresponding ObjectDataSource. The
ObjectDataSource calls a handler class that creates the default entities. It
works fine so far.
But when I want to configure the Update, Delete and Insert commands I am
stuck. All examples are related to items being stored in database between
each call. But I don't want to store anything in database until the final
list is submitted.
Is this possible? Can I have a grid with records only "stored internally in
viewstate" and still allow editing?
processing.
When the user enters the page I usually would like to enter a couple of
default items. Then it should be possible to edit, delete and insert items to
the list.
After all editing is ready, the list can be sent for processing.
I found out the ListView control looked like a great candidate. I added a
ListView and configured a corresponding ObjectDataSource. The
ObjectDataSource calls a handler class that creates the default entities. It
works fine so far.
But when I want to configure the Update, Delete and Insert commands I am
stuck. All examples are related to items being stored in database between
each call. But I don't want to store anything in database until the final
list is submitted.
Is this possible? Can I have a grid with records only "stored internally in
viewstate" and still allow editing?