Is there way to remove comments from css with RadStyleSheetManager?

2 posts, 0 answers
  1. Andrey
    Andrey avatar
    7 posts
    Member since:
    May 2011

    Posted 13 Dec 2011 Link to this post

    Before RadStyleSheetManager we have used Ajax Minifier solution (http://ajaxmin.codeplex.com/), that was able to remove comments from CSS files. Is there any way to do this with RadStyleSheetManager?
    It is useful as 1) allows to add "developer/company specific" comments, as users can never see them 2) reduce size a little bit
  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 14 Dec 2011 Link to this post

    Hello Andrey,

    RadStyleSheetManager does not minify the returned CSS code - it only combines all files into one and compresses it. Currently we do not have plans for implementing such feature, yet we will consider it for future versions. For now you can minify your CSS before deploying it.

    Greetings,
    Simon
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top