@@ -26,7 +26,7 @@ You can see the output of **Example 1** that shows different layouts of the cont
26
26
27
27
> caption Example 1: Configure the Layout of RadRadioButtonList.
28
28
29
- ```` ASP.NET
29
+ ```` ASP.NET
30
30
Layout="Flow"
31
31
<telerik:RadRadioButtonList ID="RadRadioButtonList1" runat="server" Layout="Flow">
32
32
</telerik:RadRadioButtonList>
@@ -42,7 +42,7 @@ protected void Page_Init(object sender, EventArgs e)
42
42
{
43
43
for (int i = 0 ; i < 10 ; i ++ )
44
44
{
45
- RadioButtonListItem rbli = new RadioButtonListItem () { Text = " Item " + i , Value = i .ToString () };
45
+ ButtonListItem rbli = new ButtonListItem () { Text = " Item " + i , Value = i .ToString () };
46
46
if (i == 0 ) { rbli .Selected = true ; }
47
47
RadRadioButtonList1 .Items .Add (rbli );
48
48
RadRadioButtonList2 .Items .Add (rbli );
@@ -53,7 +53,7 @@ protected void Page_Init(object sender, EventArgs e)
53
53
```` VB
54
54
Protected Sub Page_Init(sender As Object , e As EventArgs)
55
55
For i As Integer = 0 To 9
56
- Dim rbli As New RadioButtonListItem () With { _
56
+ Dim rbli As New ButtonListItem () With { _
57
57
Key .Text = "Item " & i, _
58
58
Key .Value = i.ToString() _
59
59
}
@@ -86,7 +86,7 @@ protected void Page_Init(object sender, EventArgs e)
86
86
{
87
87
for (int i = 0 ; i < 10 ; i ++ )
88
88
{
89
- RadioButtonListItem rbli = new RadioButtonListItem () { Text = " Item " + i , Value = i .ToString () };
89
+ ButtonListItem rbli = new ButtonListItem () { Text = " Item " + i , Value = i .ToString () };
90
90
if (i == 0 ) { rbli .Selected = true ; }
91
91
RadRadioButtonList1 .Items .Add (rbli );
92
92
}
@@ -95,7 +95,7 @@ protected void Page_Init(object sender, EventArgs e)
95
95
```` VB
96
96
Protected Sub Page_Init(sender As Object , e As EventArgs)
97
97
For i As Integer = 0 To 9
98
- Dim rbli As New RadioButtonListItem () With { _
98
+ Dim rbli As New ButtonListItem () With { _
99
99
Key .Text = "Item " & i, _
100
100
Key .Value = i.ToString() _
101
101
}
@@ -130,7 +130,7 @@ protected void Page_Init(object sender, EventArgs e)
130
130
{
131
131
for (int i = 0 ; i < 10 ; i ++ )
132
132
{
133
- RadioButtonListItem rbli = new RadioButtonListItem () { Text = " Item " + i , Value = i .ToString () };
133
+ ButtonListItem rbli = new ButtonListItem () { Text = " Item " + i , Value = i .ToString () };
134
134
if (i == 0 ) { rbli .Selected = true ; }
135
135
RadRadioButtonList1 .Items .Add (rbli );
136
136
RadRadioButtonList2 .Items .Add (rbli );
@@ -140,7 +140,7 @@ protected void Page_Init(object sender, EventArgs e)
140
140
```` VB
141
141
Protected Sub Page_Init(sender As Object , e As EventArgs)
142
142
For i As Integer = 0 To 9
143
- Dim rbli As New RadioButtonListItem () With { _
143
+ Dim rbli As New ButtonListItem () With { _
144
144
Key .Text = "Item " & i, _
145
145
Key .Value = i.ToString() _
146
146
}
0 commit comments