Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 31, 2013 11:40 AM by KulerMaster
Jan 08, 2013 07:28 PM|LINK
I have more than 20 css files in the Theme and it takes for a while to load all the files :(
Is there a way to load all 20 stylesheets at once?
Jan 08, 2013 08:05 PM|LINK
You can use the new ASP.NET 4.5 Bundling and Minification features. To see how to add them to Web Forms, check this blog post: http://blogs.msdn.com/b/rickandy/archive/2012/08/14/adding-bundling-and-minification-to-web-forms.aspx
Jan 08, 2013 09:52 PM|LINK
Unfortunatelly we use FW 3.5
Do you think if i read all 20 files using StreamReader and then put in the header, will help?
Jan 15, 2013 09:13 AM|LINK
In order to resolve your issue, please check CssMin which is a css parser and minfier. It minifies css by removing unneeded whitespace character, comments, empty blocks and empty declarations.
For details, please check the link below:
Jan 31, 2013 11:40 AM|LINK
I ended up merging all stylesheets into one and it worked just fine for me. Thanks for reading ...