You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-aspnet-mvc/getting-started/asp-net-mvc-5.md
+24-7Lines changed: 24 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,9 +55,9 @@ Below are listed the steps for you to follow when copying the required JavaScrip
55
55
56
56
1. Navigate to the install location of Telerik UI for ASP.NET MVC. By default, it is in `C:\Program Files (x86)\Progress\`. For versions prior to R3 2017, the default install location is in `C:\Program Files (x86)\Telerik\`.
57
57
58
-
1.Copy the `js` directory from the install location and paste it in the `Scripts` folder of the application.
58
+
1.Drag the `js` directory from the install location and drop it in Visual Studio over the `Scripts` folder of the application.
59
59
60
-
1.Copy the `styles` directory from the install location and paste it in the `Content` folder of the application.
60
+
1.Drag the `styles` directory from the install location and drop it in Visual Studio over the `Content` folder of the application.
61
61
62
62
1. Rename the `Scripts/js` directory to `Scripts/kendo`. Rename `Content/styles` to `Content/kendo`.
63
63
@@ -128,6 +128,10 @@ Below are listed the steps for you to follow when copying the required JavaScrip
128
128
@Scripts.Render("~/bundles/kendo")
129
129
```
130
130
131
+
> **Important**
132
+
>
133
+
> Make sure the jQuery version you are loading is [supported by Kendo UI](https://docs.telerik.com/kendo-ui/intro/installation/prerequisites#supported-jquery-versions).
134
+
131
135
#### Use CDN Services
132
136
133
137
Below are listed the steps for you to follow when including the Telerik UI for ASP.NET MVC JavaScript and CSS files from CDN.
@@ -138,7 +142,7 @@ Below are listed the steps for you to follow when including the Telerik UI for A
138
142
139
143
1. Open the layout of the application. By default, it is `Views/Shared/_Layout.cshtml`, or `Site.master` if using ASPX.
140
144
141
-
1. Include `kendo.common-bootstrap.min.css` and `kendo.bootstrap.min.css`. Add a `link` tag within the `head` tag of the layout.
145
+
1. Include `kendo.common-bootstrap.min.css` and `kendo.bootstrap.min.css`. Add a `link` tag within the `head` tag of the layout. For more information on the different CSS files used by the predefined Kendo UI Less themes, see [Less-Based Themes](https://docs.telerik.com/kendo-ui/styles-and-layout/appearance-styling).
142
146
143
147
###### Example
144
148
@@ -172,6 +176,13 @@ The next step is to add a reference to `Kendo.Mvc.dll` which is the assembly con
172
176
173
177
1. Select `Kendo.Mvc.dll`. Click **OK**.
174
178
179
+
Alternatively, you can copy the assembly from the Telerik UI for ASP.NET MVC install location, paste it in the `bin` folder of the application and reference it from there.
180
+
181
+
> **Important**
182
+
>
183
+
> `Kendo.Mvc.dll` depends on the latest version of `System.Web.Mvc`. If an older version of MVC is used in the application, upgrade it to the latest version: [ASP.NET MVC 5 Nuget](https://www.nuget.org/packages/Microsoft.AspNet.Mvc/).
184
+
185
+
175
186
### Update web.config
176
187
177
188
The next step is to let ASP.NET MVC know of the `Kendo.Mvc.UI` namespace where the server-side wrappers are. To do this, update the `web.config` file of the web application.
@@ -196,10 +207,16 @@ The next step is to let ASP.NET MVC know of the `Kendo.Mvc.UI` namespace where t
1. For issues with unmatching versions of `System.Web.Mvc` referenced in the application and the one used by Kendo.Mvc.dll see [Troubleshooting]({% slug troubleshooting_aspnetmvc %})
0 commit comments