kendopivotconfigurator is not a function

1 Answer 119 Views
PivotGrid
Taras
Top achievements
Rank 3
Iron
Iron
Veteran
Taras asked on 17 Mar 2022, 03:25 PM

I'm basing my code on this example: Remote binding in ASP.NET Core PivotGrid Component Demo | Telerik UI for ASP.NET Core

I'm modifying someone else's app working with Asp.Net Core 5

My code is;

    @(Html.Kendo().PivotConfigurator()
        .Name("configurator")
        .Filterable(true)
        .Height(570)
    )

 

When I try to run it, I get this error:

II get a similar error for @(Html.Kendo().PivotGrid<CommissionReceivedViewModel>()

What would be causing this?

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Accepted
Alexander
Telerik team
answered on 22 Mar 2022, 10:09 AM

Hi Taras,

A similar topic has been discussed in a similar forum thread that I have already answered. As mentioned there, normally such errors may occur if the client-side files and NuGet package version differentiate. You can verify this within the developer's console:

With that said, I would recommend making sure that both the client-side and NuGet package version are corresponding. For example:

	<link href="https://cdn.kendostatic.com/2022.1.301/styles/kendo.bootstrap-main.min.css" rel="stylesheet" type="text/css" />
	<script src="https://cdn.kendostatic.com/2022.1.301/js/jquery.min.js"></script>
	<script src="https://cdn.kendostatic.com/2022.1.301/js/jszip.min.js"></script>
	<script src="https://cdn.kendostatic.com/2022.1.301/js/kendo.all.min.js"></script>
	<script src="https://cdn.kendostatic.com/2022.1.301/js/kendo.aspnetmvc.min.js"></script>

Additional information can be found here:

Upgrade Documentation

With that said, I would encourage you to decide where to continue the communication thus far.

Regards,
Alexander
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
PivotGrid
Asked by
Taras
Top achievements
Rank 3
Iron
Iron
Veteran
Answers by
Alexander
Telerik team
Share this question
or