using Kendo in an existing Asp.Net MVC application

2 posts, 0 answers
  1. MacKenzie Mickelsen
    MacKenzie Mickelsen avatar
    10 posts
    Member since:
    Sep 2009

    Posted 12 Jan 2012 Link to this post

    Hello all,

     I have an existing Asp.Net MVC app that I would like to start using Kendo in. I am new to this type of development so please forgive my newbieness here. I am guessing that I should copy all of the Kendo js script files to the "Script" folder in the project, then put the themes and their folders under the "Content\Themes\" folder?

    Any advice on how to structure this would be greatly appreciated.
    Thank you in advance

    MacK
  2. Dimo
    Admin
    Dimo avatar
    8486 posts

    Posted 13 Jan 2012 Link to this post

    Hi MacK,

    Since the Kendo widgets don't register their scripts and stylesheets automatically, it doesn't really matter where exactly you will put these files, as long as you register them properly. Yes, the Scripts and Content folders (or subfolders of these) are the correct location.

    On a side note, if you have the Telerik MVC components in your application, you can use the Telerik ScriptRegistrar and StyleSheetRegistrar to register the Kendo resources:

    http://www.telerik.com/help/aspnet-mvc/web-assets-working-with-javascript-web-assets.html

    Kind regards,
    Dimo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top