To use your Sass with Telerik StyleSheetRegistrar use the Sass and DefaultSassGroup Extension methods. Ex.:

<% Html.Telerik()
       .StyleSheetRegistrar()
       .Sass(sass =>
             sass.Add("mySass.scss")); %>
You can mix Sass and CSS too:

<% Html.Telerik()
       .StyleSheetRegistrar()
       .Sass(sass =>
             sass.Add("mySass.scss")
                 .Add("myCSS.css")); %>
And also you can add Sass to the DefaultGroup:

<% Html.Telerik()
       .StyleSheetRegistrar()
       .DefaultSassGroup(group =>
                         group.Add("mySassScript.scss")); %>

Last edited Jun 10, 2011 at 3:16 AM by luizbon, version 2

Comments

No comments yet.