Hi every one
I'm new in MVC. can any one tell me how to use Styles using @Styles.Renderin our projects?
Thanks in advanced.
Styles.Render()
Ask by Anonymous User
Updated 29 Dec 2012
It's calling the files included in that particular bundle wich is declared inside the BundleConfig class in the App_Start folder.
In that particular case The call to @Styles.Render("~/Content/css") is calling "~/Content/site.css".
bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));
you take references form given link
http://www.mindstick.com/Articles/2d3da74a-94da-45fe-b361-97263cd725f2/?Bundling%20and%20Minification%20in%20ASP.NET%20MVC%204
I hope it resolve your problem.