Skip to content

Commit 863f46c

Browse files
committed
docs(common): fix a number of wrong image src attributes, typos and code snippets
1 parent ff5c15c commit 863f46c

File tree

9 files changed

+25
-23
lines changed

9 files changed

+25
-23
lines changed

_templates/button/distorted-appearance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#intro
22
This help article describes what to do when you have an appearance issue with **@{control}** and provides a resolution.
33

4-
The appearance of **@{control}** may be distorted (**Figure 1**) when the control is declarted on the same page that contains a **RadButton** with a `Classic` `RenderMode` (*i.e., the default `RenderMode`*).
4+
The appearance of **@{control}** may be distorted (**Figure 1**) when the control is declared on the same page that contains a **RadButton** with a `Classic` `RenderMode` (*i.e., the default `RenderMode`*).
55

66
>caption Figure 1: Distorted appearance of **@{control}** when placed on the same page with **RadButton** `RenderMode`="`Classic`".
77

controls/numerictextbox/features/validation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ The **RadInput** controls support ASP.NET validators (both client and server sid
2020
>
2121
2222

23-
To use ASP.NET validators with **RadInput** controls, simply set the ID of the **RadInput** control as the value of the **ControlToValidate** property of the validator.
23+
To use ASP.NET validators with **RadInput** controls set the ID of the **RadInput** control as the value of the **ControlToValidate** property of the validator.
2424

2525
Since Q2 2012 there are some modifications for RadInput validation.The main idea is to render only the input element all the time, and remove the span element and the excessive inputs. To be achieved this the validation value is stored in [“expando”](https://msdn.microsoft.com/en-us/library/89t1khd2%28v=vs.94%29.aspx) property and we submit real value through the client state. Also, the [ValidatorGetValue](https://msdn.microsoft.com/en-us/library/aa338815%28v=vs.71%29.aspx) function of the [asp:Validators](https://msdn.microsoft.com/en-us/library/debza5t0.aspx) was overriden to look our expando property called “RadInputValidationValue”.
2626

2727
## Example
2828

29-
![Validators](images/Validators.png)
29+
![Validators](../images/Validators.png)
3030

3131
The following declaration shows the use of a required field validator from the form above:
3232

@@ -63,7 +63,7 @@ The validator controls have a **ValidationGroup** property. The **RadInput** con
6363

6464
## Display ErrorMessage inside RadInput
6565

66-
The following example demonstrates how you could display your ErrorMessage inside the input itself following an unsuccessful validation.
66+
The following example demonstrates how you can display your ErrorMessage inside the input itself following an unsuccessful validation.
6767

6868
````JavaScript
6969
<script type="text/javascript">

controls/splitbutton/functionality/Icons/custom-icons.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,18 @@ You can use custom font icons in **RadSplitButton** as well. To do that, follow
4444

4545
1. Load the stylesheet with the desired font icons on the page.
4646

47-
**CSS**
47+
````ASPX
4848
<link rel="stylesheet" href="myCustomFontStyleSheet.css" />
49+
````
4950

5051
1. Override the font-family of the button's icon element with the target one.
5152

52-
**CSS**
53+
````CSS
5354
.RadSplitButton .rbIcon.rbPrimaryIcon:before,
5455
.RadMenu_Context .rmItem .rmLeftImage:before{
5556
font-family: myCustomFont;
5657
}
58+
````
5759

5860
1. Set the custom font icon class to the **Icon.CssClass** property.
5961

controls/toolbar/getting-started/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ This tutorial will walk you through creating a **RadToolBar** and shows how to:
5656

5757
1. Select the "Details" button again and click the **Add RadToolBarButton to drop-down** button two more times to add two more buttons to the drop-down list.
5858

59-
* On the first of these (the second button in the drop-down list), set the **IsSeparator** property to **True** and the **Text** property to an empty string.The item builder should now look like the following:(![toolbar itembuildergroup and dropdown](images/toolbar_itembuildergroup%26dropdown.png))
59+
* On the first of these (the second button in the drop-down list), set the **IsSeparator** property to **True** and the **Text** property to an empty string.The item builder should now look like the following:(![toolbar itembuildergroup and dropdown](images/toolbar_itembuildergroup&dropdown.png))
6060

6161
1. Click the **Add RadToolBarSplitButton** button (![ToolBar Add Split Button](images/toolbar_addsplitbutton.png)) to add a split button to the toolbar.
6262

controls/window/troubleshooting/executing-javascript-code-from-server.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ position: 4
1212

1313

1414

15-
This is a pretty common scenario when working with WebForms. There are many ways to achieve the desired result, but they have one thing in common – you should make sure that the controls are fully loaded in the page before trying to get a reference to them and use them in your JavaScript code.
15+
This is a common scenario when working with WebForms. There are many ways to achieve the desired result, but they have one thing in common – you should make sure that the controls are fully loaded in the page before trying to get a reference to them and use them in your JavaScript code.
1616

1717
>note You can check the [Executing JavaScript Code from Server-side in Web Forms and ASP.NET AJAX](https://www.telerik.com/support/kb/aspnet-ajax/details/executing-javascript-code-from-server-side-in-web-forms-and-asp.net-ajax) KB article for more abstract code snippets.
1818
> Before you dive and test the different solutions make sure that:
1919
> * The code is actually inserted on the page – the easiest way is to put a simple alert() and check if it is fired.
2020
> * The controls are rendered on the page before referencing them in your JavaScript function
21-
> * If you are manually inserting the '<script>' tags – that you have set either the type (type='text/javascript') or the language (language='javascript') attributes
21+
> * If you are manually inserting the `<script>` tags – that you have set either the type (`type='text/javascript'`) or the language (`language='javascript'`) attributes
2222
2323
## The simplest way
2424

@@ -208,4 +208,4 @@ Calling a JavaScript function from the server is a relatively easy task. Just ma
208208

209209
1. The controls are rendered on the page before referencing them in your JavaScript function
210210

211-
1. If you are manually inserting the <script> tags – that you have set either the type (type='text/javascript') or the language (language='javascript') attributes.
211+
1. If you are manually inserting the `<script>` tags – that you have set either the type (type='text/javascript') or the language (language='javascript') attributes.

integration/jquery/jquery-intellisense.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Separate sections below explain the cases for the different Visual Studio versio
3030

3131
Visual Studio 2017 uses a new Intellisense mode for JavaScript based on TypeScript. You can revert to the old behavior by going to **Tools** > **Options** > **Text Editor** > **JavaScript/TypeScript** > **Language Service** and **uncheck** the checkbox from **Enable the new JavaScript Language service**. Make sure to restart Visual Studio for the changes to take effect.
3232

33-
![revert to old JS service](../images/revert-to-old-language-service.png)
33+
![revert to old JS service](images/revert-to-old-language-service.png)
3434

35-
With this, you can use the old JavaScript documenttion like in [Visual Studio 2012 and Visual Studio 2013 with Q3 2012 or later](#jquery-intellisense-in-vs-2012-and-vs-2013-using-telerik-ui-for-aspnet-ajax-q3-2012-or-later).
35+
With this, you can use the old JavaScript documentation like in [Visual Studio 2012 and Visual Studio 2013 with Q3 2012 or later](#jquery-intellisense-in-vs-2012-and-vs-2013-using-telerik-ui-for-aspnet-ajax-q3-2012-or-later).
3636

3737
````ASP.NET
3838
<!-- This can enable the old JS intellisense for the current page -->

integration/visual-studio/how-to-use-javascript-intellisense-for-the-telerik-controls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ function OnClientClicking(sender, args) {
139139

140140
Visual Studio 2017 uses a new Intellisense mode for JavaScript based on TypeScript. You can revert to the old behavior by going to **Tools** > **Options** > **Text Editor** > **JavaScript/TypeScript** > **Language Service** and **uncheck** the checkbox from **Enable the new JavaScript Language service**. Make sure to restart Visual Studio for the changes to take effect.
141141

142-
![revert to old JS service](../images/revert-to-old-language-service.png)
142+
![revert to old JS service](images/revert-to-old-language-service.png)
143143

144-
With this, you can use the old JavaScript documenttion provided in the `vsdoc` files.
144+
With this, you can use the old JavaScript documentation provided in the `vsdoc` files.
145145

146146
````ASP.NET
147147
<!-- This can enable the old JS intellisense for the current page -->

styling/change-control-appearance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The easiest way to [set a skin]({%slug introduction/radcontrols-for-asp.net-ajax
1717

1818
>caption Figure 1: Setting a skin from the design-time dropdown
1919
20-
![Setting a skin at design-time](images/set-skin-design-time.png "Setting a skin at design-time")
20+
![Setting a skin at design-time](../getting-started/images/set-skin-design-time.png "Setting a skin at design-time")
2121

2222
## Customizing the Appearance
2323

styling/controlling-visual-appearance/controlling-absolute-positioning-with-z-index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ position: 8
1313

1414

1515

16-
A number of Telerik controls render with absolute positioning and have their default z-indexes as shown below:
16+
Many Telerik controls render with absolute positioning and have their default z-indexes as shown below:
1717

1818

1919

@@ -73,7 +73,7 @@ A number of Telerik controls render with absolute positioning and have their def
7373

7474

7575

76-
In different scenarios, you may need to change these values in order to ensure that one specific control will be shown above the other—for example **RadWindow** over **RadMenu**. To do this, you can simply set the value of the z-index property of every control by using the common style property, e.g.:
76+
In different scenarios, you may need to change these values to ensure that one specific control will be shown above the other—for example **RadWindow** over **RadMenu**. To do this, you can set the value of the z-index property of every control by using the common style property, e.g.:
7777

7878
````ASP.NET
7979
<telerik:RadWindowManager RenderMode="Lightweight" ID="RadWindowManager1" runat="server" Style="z-index: 12345">
@@ -86,11 +86,11 @@ In different scenarios, you may need to change these values in order to ensure t
8686

8787
**Default appearance**
8888

89-
![Menu default z-index](images/combo_default.png)
89+
![Menu default z-index](../../controls/images/combo_default.png)
9090

9191
**Desired appearance**
9292

93-
![ComboBox Slide overriden z-index](images/combo_overriden.png)
93+
![ComboBox Slide overridden z-index](../../controls/images/combo_overriden.png)
9494

9595
To achieve the appearance above, apply the following CSS style to override the default z-index of the RadComboBox Slide
9696

@@ -111,11 +111,11 @@ Another approach is to set the z-index inline in the RadComboBox declaration
111111

112112
**Default appearance**
113113

114-
![ContextMenu default z-index](images/context_default.png)
114+
![ContextMenu default z-index](../../controls/images/context_default.png)
115115

116116
**Desired appearance**
117117

118-
![ContextMenu overriden z-index](images/context_overriden.png)
118+
![ContextMenu overriden z-index](../../controls/images/context_overriden.png)
119119

120120
The applied CSS style to override the default z-index of the RadContextMenu:
121121

@@ -129,11 +129,11 @@ The applied CSS style to override the default z-index of the RadContextMenu:
129129

130130
**Default appearance**
131131

132-
![RadWindow default z-index](images/window_default.png)
132+
![RadWindow default z-index](../../controls/images/window_default.png)
133133

134134
**Desired appearance**
135135

136-
![RadWindow overriden z-index](images/window_overriden.png)
136+
![RadWindow overriden z-index](../../controls/images/window_overriden.png)
137137

138138
Override the default z-index of the modal RadWindow with the following style:
139139

0 commit comments

Comments
 (0)