Skip to content

Commit aba6d2c

Browse files
author
Marin Bratanov
committed
docs(scriptManager): combine external scripts fixes
1 parent d7198c1 commit aba6d2c

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

controls/scriptmanager/combining-external-scripts.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,29 @@ Starting with **Q1 2013 RadScriptManager** has the ability to combine external s
1818

1919
You can specify one or more folders from your project that host the external scripts.
2020

21-
>caution The folder paths must be relative to the root of the application, e.g. *' **~/** path_to_folder'* .
21+
>note The folder paths must be relative to the root of the application. For example, `~/path_to_folder`.
2222
>
2323
2424

2525
### Configuration
2626

27-
Add the following<appSetting/> entry in your *web.config*:
27+
Add the following `<appSetting />` entry in your *web.config*:
2828

29-
````ASPNET
29+
````web.config
3030
<appsettings>
3131
<add key="Telerik.Web.UI.ScriptsFolder" value="~/Scripts/;"/>
3232
</appsettings>
3333
````
3434

35+
This will include subfolders of the `~/scripts` folder as well, so you do not need to define them explicitly.
36+
37+
If you want to add several folders that are not nested within one another, add them in a single `Telerik.Web.UI.ScriptsFolder` entry:
3538

39+
````web.config
40+
<appsettings>
41+
<add key="Telerik.Web.UI.ScriptsFolder" value="~/Scripts/;~/MoreScripts;~/Assets" />
42+
</appsettings>
43+
````
3644

3745
### Usage
3846

@@ -49,10 +57,10 @@ Register the external scripts in **RadScriptManager**. The paths to the files ca
4957

5058

5159

52-
>note If a references external script is not in one of the folder designated in the configuraton, it will be not combined and served separetely.
60+
>note If a references external script is not in one of the folder designated in the configuration, it will be not be combined and will be served separately.
5361
>
5462
5563

5664
## Remarks
5765

58-
* You can specify more than one script sheet folder.
66+
* You can specify more than one script folder.

0 commit comments

Comments
 (0)