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

Working fine in dev fine but not in server

3 Answers 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Aditya55
Top achievements
Rank 1
Aditya55 asked on 08 Aug 2017, 04:59 PM

Hi,

   We are evaluating the Kendo UI.

Development machine : Windows 7 Professional
                                       VS 2017

  Our ASP .NET MVC web application uses lot of charts : Html.Kendo().Chart

  This works fine in dev machine. When deployed to Windows 2008 Server, the chart part doesn't render.
We used the Developer Tools in Browser. The following gets downloaded in both cases:

  - http://kendo.cdn.telerik.com/2017.2.621/styles/kendo.common.min.css 
  - http://kendo.cdn.telerik.com/2017.2.621/styles/kendo.default.min.css 
  - /webapp/Content/Css/bootstrap-flaty.min.css 
  - /webapp/Content/Css/Site.css 
  - /webapp/Scripts/jquery-3.1.1.min.js
  - http://kendo.cdn.telerik.com/2017.2.621/js/kendo.all.min.js
  - /webapp/Scripts/bootstrap.min.js
  - http://kendo.cdn.telerik.com/2017.2.621/js/kendo.aspnetmvc.min.js

  Looks like this could be a configuration problem. Any idea what's wrong ?

Aditya

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 10 Aug 2017, 07:21 AM
Hello Aditya,

Thank you for the provided information.

The listed scripts and styles files are all of the required files from Kendo UI, so this should not cause an issue.

Also, for the Kendo UI MVC wrappers, the Kendo.MVC.dll file has to be present in the solution and have to be successfully assessed by the MVC solution.

Could you please advise if there are any JavaScripts errors in the console which indicates an issue?

http://docs.telerik.com/aspnet-mvc/getting-started/asp-net-mvc-5#add-kendomvcdll-reference

If the issue still occurs, please provide a live URL if possible and I will gladly assist further.  

Regards,
Stefan
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.
0
Aditya55
Top achievements
Rank 1
answered on 11 Aug 2017, 03:27 PM

Stefan,

   Thanks for responding.

In Windows 7, we are getting script error for IE 11 when compatibility mode is enabled.

Screenshots attached.

For chrome & firefox also, we need to run browser with Admin permission to have the charts displayed properly.

 

Aditya

 

 

0
Stefan
Telerik team
answered on 15 Aug 2017, 10:43 AM
Hello Aditya,

Thank you for the information.

I noticed that jQuery version 3* is used in the application. This may create some issues in Internet Explorer due to the used selectors.

More information and a possible solution can be found in the following StackOverflow question:

https://stackoverflow.com/questions/1695376/msie-and-addeventlistener-problem-in-javascript

As for the admin permissions, I can assume that this is based on the internal and the server restrictions, as the Kendo UI widgets are made using jQuery scripts on the client, and should not affect the application directly. Also, I can suggest observing if there is any difference in the loaded files when using the admin permissions. 

Additionally, I can suggest checking the following article on the Chart common issues:

http://docs.telerik.com/kendo-ui/controls/charts/troubleshoot/common-issues#rendering

As the issue is connected to the server specification, please provide a URL where we can observe what may be causing it.

Regards,
Stefan
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
Aditya55
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Aditya55
Top achievements
Rank 1
Share this question
or