Hi,
I'm having trouble implementing a CheckBoxList with an additional delete button after each Item. I want something like this:
When I click the remove button the item should be removed from the CheckBoxList's itemcollection. I have tried extending the CheckBoxList control, with no luck. I managed to change the render method and add a button, but I got problems with handling the viewstate etc. Also, the items are added dynamically by cliking a button on the page (add new item). The information should not be saved to a database etc, so I don't see how to use a DataSource for this...
Doen anyone know how to implement this, or can point me into the right direction? I have looked into using databound controls, but since I don't use a DataSource, this will be a bit tricky.
Regards,
Erik
...
Go to the complete details ...