Total Post:183


 3486  View(s)
Rate this:
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.
  1. Re: Styles.Render()

    Hi Ankita Pandey

    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

    I hope it resolve your problem.


Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.