How to apply downloaded theme to .Net core projec

4 posts, 0 answers
  1. James
    James avatar
    14 posts
    Member since:
    Feb 2018

    Posted 13 Jul 2018 Link to this post

    can someone supply a complete set of instructions on how to apply the all.css and variables.scss files downloaded from the SASS Themebuilder to my .Net Core project

    There seems to be no documentation regarding this for telerik ui for asp.net core

    thanks

     

    Jim

  2. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 17 Jul 2018 Link to this post

    Hi Jim,

    Please take a look at the Sass Theme Builder section of the documentation which enlists the steps that need to be followed after creating and downloading the custom theme.

    For your convenience I recorded a video demonstrating the procedure. Please make sure to delete your browser cache before testing the new theme.


    Best regards,
    Rumen
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Nick
    Nick avatar
    3 posts
    Member since:
    Jul 2011

    Posted 24 Dec 2019 in reply to Rumen Link to this post

    I'm trying out Telerik for the first time so apologies for the newbie question but it is relate to this. When I create a new Telerik Project from the Extension -> Telerik menu in Visual Studio for ASP.NET Core, the resultant project doesn't contain a lib/kendo-ui folder in wwwroot, only the bootstrap folder. 

    Can you advise how to apply the custom theme in this scenario?

    Thanks. 

     

  4. Preslav
    Admin
    Preslav avatar
    589 posts

    Posted 26 Dec 2019 Link to this post

    Hello Nick,

    Indeed, when a project is created, there is no "lib/kendo-ui" folder. This is because, by default, the project uses our CDN and has no local Kendo files.

    To add the custom theme, you can create such a folder and register it in the "~/Views/Shared/_Layout.cshtml" file. More information about this is available here - https://docs.telerik.com/aspnet-core/getting-started/installation/getting-started-copy-client-resources. Once you include the custom theme, remove all other Kendo related styles from the "_Layout.cshtml" file.

    I hope this helps.

     

    Regards,
    Preslav
    Progress Telerik

    Get quickly onboarded and successful with Telerik UI for ASP.NET Core with the dedicated Virtual Classroom technical training, available to all active customers.
Back to Top