H
Hans Kesting
Hi,
I want to edit an entire list on a single page, say a shopping list
where every 'item' consists of a name and an amount.
I don't know beforehand how many items will be needed.
Using a Repeater I can put a list of textboxes on the screen and fill
them with the (previously) stored list.
After a click on a "save" button I can read everything and store the
changed list.
But I'm not satisfied with the "add empty row" button. Currently it
reads the entire list (including "empty" rows which would normally be
ignored), adds an empty item to that list and rebinds the list to the
repeater. Is there a simpler way to add an extra (empty) row, without
writing so much specific code?
Hans Kesting
I want to edit an entire list on a single page, say a shopping list
where every 'item' consists of a name and an amount.
I don't know beforehand how many items will be needed.
Using a Repeater I can put a list of textboxes on the screen and fill
them with the (previously) stored list.
After a click on a "save" button I can read everything and store the
changed list.
But I'm not satisfied with the "add empty row" button. Currently it
reads the entire list (including "empty" rows which would normally be
ignored), adds an empty item to that list and rebinds the list to the
repeater. Is there a simpler way to add an extra (empty) row, without
writing so much specific code?
Hans Kesting