Skip to content

Commit e7987ab

Browse files
authored
docs(update): replace RadButtonListItem with ButtonListItem
1 parent 8db0221 commit e7987ab

File tree

1 file changed

+7
-7
lines changed
  • controls/radiobuttonlist/functionality

1 file changed

+7
-7
lines changed

controls/radiobuttonlist/functionality/layout.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can see the output of **Example 1** that shows different layouts of the cont
2626

2727
>caption Example 1: Configure the Layout of RadRadioButtonList.
2828
29-
````ASP.NET
29+
````ASP.NET
3030
Layout="Flow"
3131
<telerik:RadRadioButtonList ID="RadRadioButtonList1" runat="server" Layout="Flow">
3232
</telerik:RadRadioButtonList>
@@ -42,7 +42,7 @@ protected void Page_Init(object sender, EventArgs e)
4242
{
4343
for (int i = 0; i < 10; i++)
4444
{
45-
RadioButtonListItem rbli = new RadioButtonListItem() { Text = "Item " + i, Value = i.ToString() };
45+
ButtonListItem rbli = new ButtonListItem() { Text = "Item " + i, Value = i.ToString() };
4646
if (i == 0) { rbli.Selected = true; }
4747
RadRadioButtonList1.Items.Add(rbli);
4848
RadRadioButtonList2.Items.Add(rbli);
@@ -53,7 +53,7 @@ protected void Page_Init(object sender, EventArgs e)
5353
````VB
5454
Protected Sub Page_Init(sender As Object, e As EventArgs)
5555
For i As Integer = 0 To 9
56-
Dim rbli As New RadioButtonListItem() With { _
56+
Dim rbli As New ButtonListItem() With { _
5757
Key .Text = "Item " & i, _
5858
Key .Value = i.ToString() _
5959
}
@@ -86,7 +86,7 @@ protected void Page_Init(object sender, EventArgs e)
8686
{
8787
for (int i = 0; i < 10; i++)
8888
{
89-
RadioButtonListItem rbli = new RadioButtonListItem() { Text = "Item " + i, Value = i.ToString() };
89+
ButtonListItem rbli = new ButtonListItem() { Text = "Item " + i, Value = i.ToString() };
9090
if (i == 0) { rbli.Selected = true; }
9191
RadRadioButtonList1.Items.Add(rbli);
9292
}
@@ -95,7 +95,7 @@ protected void Page_Init(object sender, EventArgs e)
9595
````VB
9696
Protected Sub Page_Init(sender As Object, e As EventArgs)
9797
For i As Integer = 0 To 9
98-
Dim rbli As New RadioButtonListItem() With { _
98+
Dim rbli As New ButtonListItem() With { _
9999
Key .Text = "Item " & i, _
100100
Key .Value = i.ToString() _
101101
}
@@ -130,7 +130,7 @@ protected void Page_Init(object sender, EventArgs e)
130130
{
131131
for (int i = 0; i < 10; i++)
132132
{
133-
RadioButtonListItem rbli = new RadioButtonListItem() { Text = "Item " + i, Value = i.ToString() };
133+
ButtonListItem rbli = new ButtonListItem() { Text = "Item " + i, Value = i.ToString() };
134134
if (i == 0) { rbli.Selected = true; }
135135
RadRadioButtonList1.Items.Add(rbli);
136136
RadRadioButtonList2.Items.Add(rbli);
@@ -140,7 +140,7 @@ protected void Page_Init(object sender, EventArgs e)
140140
````VB
141141
Protected Sub Page_Init(sender As Object, e As EventArgs)
142142
For i As Integer = 0 To 9
143-
Dim rbli As New RadioButtonListItem() With { _
143+
Dim rbli As New ButtonListItem() With { _
144144
Key .Text = "Item " & i, _
145145
Key .Value = i.ToString() _
146146
}

0 commit comments

Comments
 (0)