what are the advantages of using radio button lists and checkbox lists instead of individual radio buttons and checkboxes?

Recommended Answers

All 3 Replies

The advantage is that you treat them as a group as opposed to single items.

when only one choose is valid at any one time use radiobuttons

Say you have a grid and you want users to be able to disable and enable grid Columns and the grid is pulling from a view. You now add a radio button for each column but as soon as the view changes you have to add another radio button which can cause the screen to become cluttered. You now have a method that loops all column and adds it to a checklistbox without you having to add a component and recompile your application.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.