Skip to content

Commit 0fa7068

Browse files
authored
docs(label): fix snippets
1 parent 78d68a9 commit 0fa7068

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

controls/label/getting-started.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,32 @@ position: 1
1414
This article describes a sample scenario where **RadLabel** is used with a **RadDatePicker** control.
1515

1616

17-
1. Add a **RadLabel** control to the page.
18-
````ASP.NET
17+
Add a **RadLabel** control to the page.
18+
19+
````ASP.NET
1920
<telerik:RadLabel runat="server" ID="RadLabel1" Text="sample text">
2021
</telerik:RadLabel>
2122
````
2223

2324

24-
1. Next, place a **RadDatePicker** control on the page.
25+
Next, place a **RadDatePicker** control on the page.
2526

26-
````ASP.NET
27+
````ASP.NET
2728
<telerik:RadDatePicker RenderMode="Lightweight" runat="server" ID="RadDatePicker1">
2829
</telerik:RadDatePicker>
2930
````
3031

3132

32-
1. Set the **AssociatedControlID** property of **RadLabel** to be the same as the **ID** of the **RadDatePicker**. After that when you click on the **Label** the **DateInput** will be focused.
33+
Set the **AssociatedControlID** property of **RadLabel** to be the same as the **ID** of the **RadDatePicker**. After that when you click on the **Label** the **DateInput** will be focused.
3334

34-
````ASP.NET
35+
````ASP.NET
3536
<telerik:RadLabel runat="server" ID="RadLabel1" Text="sample text" AssociatedControlID="RadDatePicker1">
3637
</telerik:RadLabel>
3738
````
3839

40+
*Optional* If you prefer the label to be on a different line you can add a `<br>` element after the label.
3941

40-
1. *Optional* If you prefer the label to be on a different line you can add a `<br>` element after the label.
41-
42-
````ASP.NET
42+
````ASP.NET
4343
<telerik:RadLabel runat="server" ID="RadLabel1" Text="sample text" AssociatedControlID="RadDatePicker1">
4444
</telerik:RadLabel>
4545
<br />
@@ -48,7 +48,7 @@ This article describes a sample scenario where **RadLabel** is used with a **Rad
4848

4949
1. *Optional* In addition you can use an image instead of text for the label. To do this you should place an image inside the **RadLabel** tags.
5050

51-
````ASP.NET
51+
````ASP.NET
5252
<telerik:RadLabel runat="server" ID="RadLabel1" AssociatedControlID="RadDatePicker1">
5353
<img src="/images/myImage.png" alt="" />
5454
</telerik:RadLabel>
@@ -58,7 +58,7 @@ This article describes a sample scenario where **RadLabel** is used with a **Rad
5858

5959
1. The complete markup looks like below:
6060

61-
````ASP.NET
61+
````ASP.NET
6262
<telerik:RadLabel runat="server" ID="RadLabel1" AssociatedControlID="RadDatePicker1">
6363
<img src="/images/myImage.png" alt="" />
6464
</telerik:RadLabel>

0 commit comments

Comments
 (0)