Checkboxes (with same name?)

wendyvivid

New Member
In classic ASP and plain HTML I used to have multiple checkboxes with the same name but different values. When submitted, you get a comma delimited string of the values of the boxes that were checked.<BR><BR>Is there a way to do this in .NET? It seems that each checkbox has to have a unique ID and cannot have different names. When creating them programatically there is no value property, only Checked or not.<BR><BR>Anyone got any hints?Use the CheckBoxList control. Sorry, I'm new at this, so I can't give you any specifics.Thanks,<BR>That's a great start. I want to see if I can render them in some fashion that's not inside a table. I am building folder tree and need to have checkboxes by each name. Right now I have normal HTML checkboxes, but they aren't persistant so I need to use some type of control.
 
Back
Top