ASP.NET ComboBox - RadioButtons inside the ComboBox
ASP.NET Controls
TreeView
Grid
HTML Editor
ComboBox
Scheduler
Window
ASP.NET MVC Controls
Button
Checkbox
Dropdown List
Image Button
Radio Button
Textbox
Multiline Textbox
Miscellaneous
TreeView for Classic ASP
Site Monitoring
Order
The items of the ComboBox can be customized using templates. You can embed any content inside an item template,
including HTML markup and ASP.NET server controls (any control from the Obout suite may be added to a template).
In order to set up an item template, use the
ItemTemplate
property of the ComboBox.
To extract data from the data item, use the
Eval
method which expects as a parameter
the name of the data field from which to load the data.
This example showcases the use of
OboutRadioButton
controls inside the ComboBox.
The end user is able to select only one item from the ComboBox.
To accomplish this layout, we used a single item in the ComboBox, with no value/text,
which is customized using an ItemTemplate to contain all the radio buttons.
« Back to examples