Is it possible to set the media attribute on a link tag using the Telerik MVC Extensions StyleSheetRegistrar method?
<%= Html.Telerik().StyleSheetRegistrar()
.DefaultGroup(group => group
.Add("telerik.common.css")
.Add("telerik." + ConfigurationManager.AppSettings["Telerik Theme"].ToLower() + ".min.css"))
%>
I want to add media="screen,handheld" to all the stylesheet links created by the above.
Nope, this is not currently possible. You can either modify the source code or use vanilla
<link />tags to register the CSS files. You don’t seem to be using compression or combination so using<link />tags seems feasible.