Skip to content

Commit 17d8b27

Browse files
docs: add note in wrd articles about the kendo subset script (#1883)
* docs: add note in wrd articles about the kendo subset script * Update designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-.net-framework-application.md Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
1 parent 6c9e64f commit 17d8b27

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-.net-framework-application.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Imports System.IO
153153
loading...
154154
</div>
155155
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
156-
<script src="https://kendo.cdn.telerik.com/{{kendosubsetversion}}//js/kendo.all.min.js"></script>
156+
<script src="https://kendo.cdn.telerik.com/{{kendosubsetversion}}/js/kendo.all.min.js"></script>
157157
<script src="/api/reportdesigner/resources/js/telerikReportViewer"></script>
158158
<script src="/api/reportdesigner/designerresources/js/webReportDesigner"></script>
159159
<script type="text/javascript">
@@ -190,7 +190,7 @@ Imports System.IO
190190
loading...
191191
</div>
192192
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
193-
<script src="https://kendo.cdn.telerik.com/2022.3.913//js/kendo.all.min.js"></script>
193+
<script src="https://kendo.cdn.telerik.com/{{kendosubsetversion}}/js/kendo.all.min.js"></script>
194194
<script src="/api/reportdesigner/resources/js/telerikReportViewer"></script>
195195
<script src="/api/reportdesigner/designerresources/js/webReportDesigner"></script>
196196
<script type="text/javascript">
@@ -209,6 +209,9 @@ Imports System.IO
209209
</html>
210210
````
211211

212+
The `kendo.all.min.js` script from the Kendo CDN includes all Kendo UI for jQuery components and requires a valid Kendo UI license, which may display license warnings. To avoid this, Telerik Reporting includes a license-free subset containing only the Kendo UI components required by the Web Report Designer. You can copy this file from your installation directory at `C:\Program Files (x86)\Progress\Telerik Reporting {{site.suiteversion}}\Html5\ReportDesigner\js\webReportDesigner.kendo-{{site.buildversion}}.min.js` and reference it locally in your project instead of the CDN version.
213+
214+
212215
The *ReportDesignerController* we added above is configured to search for its reports in a sub-folder named `Reports`. The Report Designer widget we just configured will try to load a report named `SampleReport.trdp`. Add a new folder named `Reports` to the solution and add an existing report named `SampleReport.trdp` to it.
213216

214217
1. Register the *ReportsControllerConfiguration* and *ReportDesignerControllerConfiguration* routes in the `Application_Start()` method of the `Global.asax` file. It is important to register them before the default routes as shown below:

designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-blazor-application.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ using Microsoft.AspNetCore.Mvc;
107107
````
108108

109109

110+
The `kendo.all.min.js` script from the Kendo CDN includes all Kendo UI for jQuery components and requires a valid Kendo UI license, which may display license warnings. To avoid this, Telerik Reporting includes a license-free subset containing only the Kendo UI components required by the Web Report Designer. You can copy this file from your installation directory at `C:\Program Files (x86)\Progress\Telerik Reporting {{site.suiteversion}}\Html5\ReportDesigner\js\webReportDesigner.kendo-{{site.buildversion}}.min.js` and reference it locally in your project instead of the CDN version.
111+
110112
1. Add the dedicated `telerikWebReportDesignerInterop.js` dependency at the end of the __body__ element of the `Pages/_Host.cshtml` (Blazor Server) or `wwwroot/index.html` (Blazor WebAssembly), or in `App Razor` (Blazor Web App):
111113

112114
````HTML

designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-dotnet.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Path.Combine(sp.GetService<IWebHostEnvironment>().WebRootPath, "Reports")
182182
$(document).ready(function () {
183183
$("#webReportDesigner").telerik_WebReportDesigner({
184184
toolboxArea: {
185-
layout: "list" //Change to "grid" to display the contents of the Components area in a flow grid layout.
185+
layout: "list" // Change to "grid" to display the contents of the Components area in a flow grid layout.
186186
},
187187
serviceUrl: "/api/reportdesigner",
188188
report: "Barcodes Report.trdp"
@@ -193,6 +193,7 @@ Path.Combine(sp.GetService<IWebHostEnvironment>().WebRootPath, "Reports")
193193
</html>
194194
````
195195

196+
The `kendo.all.min.js` script from the Kendo CDN includes all Kendo UI for jQuery components and requires a valid Kendo UI license, which may display license warnings. To avoid this, Telerik Reporting includes a license-free subset containing only the Kendo UI components required by the Web Report Designer. You can copy this file from your installation directory at `C:\Program Files (x86)\Progress\Telerik Reporting {{site.suiteversion}}\Html5\ReportDesigner\js\webReportDesigner.kendo-{{site.buildversion}}.min.js` and reference it locally in your project instead of the CDN version.
196197

197198
1. To set up the `index.html` as a startup page check [Make index.html as startup file in ASP.NET Core](https://www.talkingdotnet.com/make-index-html-startup-file-in-aspnet-core/). Then, change the _launchUrl_ to _index.html_ in `launchSettings.json`.
198199
1. Finally, run the project to preview the web designer.

0 commit comments

Comments
 (0)