The DevExpress Radio Button List is a radio button group that provides end-users with the ability to select a single item at a time. Its contents can be generated dynamically by binding the editor to a data source. You can also create items explicitly by manually populating the Properties.Items collection. For each list item, you can specify its caption and associated value.
To define the Radio Button List's selected item on the server side, you can use a list item's Selected property. On the client side, the editor exposes specific methods allowing you to manipulate the selected item with ease (GetSelectedItem/SetSelectedItem, GetSelectedIndex/SetSelectedIndex).
The Radio Button List layout is flexibly customized. You can display check box items in several columns (Properties.RepeatColumns), set a direction of items within the editor (horizontal or vertical through the Properties.RepeatDirection property), and specify whether items are aligned within a table or rendered without any table structure (Properties.RepeatLayout).
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxDataEditorsDemos