Interviews4 answers
How to add stylesheet in view?
sumank
Posted May 10, 2013, 11:33 AM EDT4 Answers
In case of Aspx Engine we use:
<%= Styles.Render("~/Content/Style.css") %>
&
In case of Razor engine we use:
@Styles.Render("~/Content/Style.css")
Deep PathakPosted Aug 30, 2014, 12:17 PM EDT
<%= Styles.Render("~/Content/nameofCSS.css") %>
Gaurav VermaPosted Jul 11, 2014, 3:23 AM EDT
by using following two way....
@Styles.Render("~/Content/mytest.css")
or
Jignesh TrivediPosted Apr 13, 2014, 11:54 PM EDT
sumankPosted May 10, 2013, 11:33 AM EDT

