This is a migrated thread and some comments may be shown as answers.

HttpCompilerException when setting up Kendo

1 Answer 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gibran
Top achievements
Rank 1
Gibran asked on 14 Jun 2017, 10:16 PM
Hello,

I'm trying to follow along in this guide here:

http://docs.telerik.com/aspnet-mvc/getting-started/asp-net-mvc-5

... going with the "Use CDN Services" section.

I did everything it says to do and I get an except when I run my application:

http://www.shahspace.com/acm/json viewer harness testing/Kendo/HttpCompileException.png

I'm getting this in my _loginLayout.cshtml file.

I've pinned the problem down to these references here, which are in the head of my _mainLayout.cshtml file:

    <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo.common-bootstrap.min.css" />
    <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo.bootstrap.min.css" />

    <script src="http://kendo.cdn.telerik.com/2017.1.118/js/kendo.all.min.js"></script>
    <script src="http://kendo.cdn.telerik.com/2017.1.118/js/kendo.aspnetmvc.min.js"></script>

If I comment this out, my application runs fine.

I got the latest Kendo version from here:

http://docs.telerik.com/kendo-ui/intro/installation/prerequisites

...which says that 2017.1.118 is the latest.

In our application, we already have JQuery and Bootstrap. I'm wondering if the inclusion of these references are clobbering them.

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 19 Jun 2017, 05:53 AM
Hi Gibran,

You could try the suggestions from the following forum threads:
Hope this helps.


Regards,
Konstantin Dikov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Gibran
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or