Grid error - not showing the page number.

1 Answer 104 Views
.NET Core
Miro
Top achievements
Rank 1
Iron
Iron
Miro asked on 13 Jul 2021, 11:57 PM | edited on 19 Jul 2021, 04:13 AM

I have inserted a picture below to show if I // the report view and run it, it's working as per the second picture, but if I enable the same two line marked in red, then I get an error in the paging number.

Paging number working no issue if I disable the reportviewer as per the second picture.

If I enable the reportviewer then I get the following error - paging number is not showing.

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 16 Jul 2021, 03:50 PM

Hi Miro,

Generally, the Telerik Report Viewer displays the page buttons as on your second screenshot. The additional lines of code load the script of the Report Viewer on the page. The script contains the viewer's functionality

Is it possible that the viewer is placed over the Grid and hides its paging?

Unfortunately, based on the available information I cannot diagnose the issue. Can you elaborate on the scenario? Can you send a runnable project that demonstrates the issue?

Regards,
Todor
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Miro
Top achievements
Rank 1
Iron
Iron
commented on 17 Jul 2021, 01:39 AM

Another point I forgot to mentioned, that the same coding and configuration working in .MVC but this problem only appear with .Core
Miro
Top achievements
Rank 1
Iron
Iron
commented on 19 Jul 2021, 04:13 AM

I have attached a demo of the problem, which makes it easy to see the problem.
Todor
Telerik team
commented on 21 Jul 2021, 12:10 PM

Thank you for the runnable project.

I confirm that the issue comes from the Kendo subset for Telerik Reporting:

<script src="~/ReportViewer/js/telerikReportViewer.kendo-15.0.21.326.min.js" asp-append-version="true"></script>

You may remove this line and fix the problem as you have already loaded the Kendo script that contains all the widgets that we need in the _Layout.cshtml file:

<script src="~/Scripts/kendo/kendo.all.min.js" asp-append-version="true"></script>

I suspect that the issue is due to the Kendo subset for reporting being with an older Kendo version. It gets loaded later and overrides the newer widgets coming from kendo.all.min.js.

 

 

Miro
Top achievements
Rank 1
Iron
Iron
commented on 22 Jul 2021, 12:29 PM

Thanks, it's fixed now.
Tags
.NET Core
Asked by
Miro
Top achievements
Rank 1
Iron
Iron
Answers by
Todor
Telerik team
Share this question
or