Styles.Render() Anonymous User392329-Dec-2012 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. asp.net mvcasp.net mvc Updated on 29-Dec-2012
AVADHESH PATEL
29-Dec-2012It'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.