Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

RadStyleSheetManager and Media Types

$
0
0

Is there a way to have references to css files and indicate which media type they are for?

Example:
site.css - used for viewing in the browser

print.css - used if/when a user tries to print the page

<telerik:RadStyleSheetManagerrunat="server"id="radStyles"EnableHandlerDetection="True"EnableStyleSheetCombine="True"OutputCompression="AutoDetect">
    <StyleSheets>
        <telerik:StyleSheetReferencePath="~/site.css"/>
        <telerik:StyleSheetReferencePath="~/print.css"/>
    </StyleSheets>
</telerik:RadStyleSheetManager>

If I did this, print.css overrides.  I understand I can play with orders, but I need a way to work with different media types - if possible.


Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>