Is there an MVC equivalent to StyleSheetManager?

4 posts, 0 answers
  1. Marion
    Marion avatar
    22 posts
    Member since:
    Nov 2016

    Posted 07 Jun 2017 Link to this post

    With Kendo ASP.Net Ajax there is a style sheet manager that can be used to switch between several styles for the Kendo controls. Is there an equivalent in the MVC?

     

  2. Nencho
    Admin
    Nencho avatar
    1822 posts

    Posted 09 Jun 2017 Link to this post

    Hello Marion,

    The Telerik UI for ASP.NET MVC suite does not offer such a product, because there is an equivalent that the Framework provides - bundeling. You can define your bundles and inclde the needed scripts to be rendered on your _Layout.cshtml view. 

    Please refer to the following documentatio article, providing more information on the matter:

    http://docs.telerik.com/aspnet-mvc/getting-started/fundamentals#bundling


    Hope this would help.

    Regards,
    Nencho
    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.
  3. David
    David avatar
    125 posts
    Member since:
    Jan 2011

    Posted 19 Jun 2017 in reply to Nencho Link to this post

    Perhaps I am missing something.  Within the MVC world, bundling is a way of getting a collection of style sheets, javascript, such to the client in a compressed quicker manner.  Using the RadTools style sheet manager it was possible to provide the user with a list of style sheets and allow them to pick a "flavor" for a given page.  The style sheet would then magically cause the Telerik controls to then use the currently selected Style Sheet.

    While I agree bundling appears to be a good way to get style data to the client, I see nothing in the MVC implementation which provides the ability to use style "x" now, style "y" then, and style "z" then as well. 

    Again, I might be missing something.

  4. Nikolay
    Admin
    Nikolay avatar
    94 posts

    Posted 21 Jun 2017 Link to this post

    Hi,

    Please see the following forum thread, where the same problem is discussed:(https://stackoverflow.com/questions/27732716/scripts-and-styles-management-is-asp-net-mvc-4). 

    Regards,
    Nikolay
    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.
Back to Top