You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Comment: In using server side or client side, you use a hyphen only if you are using the words as an adjective. So server-side scripting (server-side is an adjective), for example, or scripting that executes on the server side (not used as an adjective).>
To select a particular item of a **RadRadioButtonList**, you should set the `Selected` property of the target item to `true`.
26
28
@@ -101,11 +103,11 @@ End Sub
101
103
102
104
>warning The `SelectedIndex` property will not take effect if directly assigned with a value in the markup. The `SelectedIndex` property takes effect only when set from the code behind or integrated in a data-bound scenario in the markup (**Example 3**).
103
105
104
-
## Get Selected Item Server-Side
106
+
## Get Selected Item ServerSide
105
107
106
108
To get the selected item and selected index you can use the `SelectedItem` and `SelectedIndex` properties of the **RadRadioButtonList** control.
107
109
108
-
>caption Example 4: Get `SelectedIndex` and `SelectedItem` of **RadRadioButtonList** from the code behind.
110
+
>caption Example 4: Get `SelectedIndex` and `SelectedItem` of the **RadRadioButtonList** from the code behind.
The selected item reference provides all its properties (e.g., `Value`, `Text`, `Selected` and `Enabled`).
135
137
136
138
137
-
## Select Item Client-Side
139
+
## Select Item ClientSide
138
140
139
-
You can select a particular item of **RadRadioButtonList** by passing the corresponding index in the `set_selectedIndex()` method of the control.
141
+
You can select a particular item of a **RadRadioButtonList** by passing the corresponding index in the `set_selectedIndex()` method of the control.
140
142
141
-
>caption Example 6: Select an item on the client-side.
143
+
>caption Example 6: Select an item on the clientside.
142
144
143
145
````JavaScript
144
146
var radioButtonList =$find("<%=RadRadioButtonList1.ClientID%>");
145
147
radioButtonList.set_selectedIndex(0);
146
148
````
147
149
148
150
149
-
## Get Selected Item Client-Side
151
+
## Get Selected Item ClientSide
150
152
151
153
You can obtain the items, selected item and selected item index of **RadRadioButtonList** through the `get_items()`, `get_selectedItem()`, and `get_selectedIndex()` methods.
152
154
153
-
>caption Example 7: Reference items, selected item and selected index of **RadRadioButtonList** through its client-side API.
155
+
>caption Example 7: Reference items, selected item and selected index of the **RadRadioButtonList** through its client-side API.
154
156
155
157
````JavaScript
156
158
var radioButtonList =$find("<%=RadRadioButtonList1.ClientID%>");
@@ -164,4 +166,4 @@ var selectedIndex = radioButtonList.get_selectedIndex();
0 commit comments