I want to do this: build a list of emails to be sent to customers based on a query on db by a cron job. I don´t want to send the emails automatically, I want a human confirmation step in between.
That means I want to show a grid or a repeating list of controls that, per line, show:
checkbox, name, date1, date2, etc
This list can be n long and when user has checked/unchecked boxes, a buttonclick will start sending emails.
So the question is: how do I build such a list when n is unknown beforehand (at design time of form).?
Hi Giri, did you give repeating layouts a try?
Tomer, I did not, because I am not sure of 2 things (I haven´t used them before):
- if repeaters allow user input controls
- if repeaters can be defined as 1 row, which would then repeat as a grid.
Sorry, repeaters don’t support input elements yet, missed the part where you want a checkbox.
I can’t think of a proper solution at the moment, but let’s wait for someone smarter than me to reply 
Tomer, I am trying to figure this out and before I spend days trying, I would like to know if the folllowing would be possible: the repeater supports images and images have an onClick event. What if I put an image that looks like a checked box at the start of every row and on the onclick toggles another (unchecked) box, while wrting a boolean to a row in the collection. Would this be a possible approach?
Yes, that would be possible. But instead of toggling another box, in the onClick handler you can write directly to the collection.