Deployement not Rendering KendoUI

2019-05-09 13:15发布

VS2012 asp.net MVC4 c#, Internet Application with KendoUI Implementation.

The easiest way to say it is that My website looks like this

  • localy on the Development machine:

enter image description here

  • And like this deployed:

enter image description here

I have checked sever KendoUI forums, all of them pointing to Images missing... I checked and even copied over my deployment files, Files and Images are there, KendoUI Scripts are there.

Any ideas what I could be missing?

2条回答
地球回转人心会变
2楼-- · 2019-05-09 13:28

You need to add kendo scripts directly in the header of your layout.

<head>
   <script src="~/Scripts/kendo/jquery.min.js"></script>
   <script src="~/Scripts/kendo/kendo.web.min.js"></script>
</head>        
查看更多
Animai°情兽
3楼-- · 2019-05-09 13:39

This means that for some reason the Kendo JavaScript or CSS files are missing on your deployment server. You can verify this by checking your browser's developer console (the "Network" tab) for any failing HTTP requests (404 status code). In a word make sure the Kendo JS and CSS files are being deployed successfully.

查看更多
登录 后发表回答