ASP.NET/MVC: Inline Code
What am I doing wrong? Why is <%= this %>
n't it interpreted as C #?
Here's the code: 
And this is what it does (note the Firebug display): 
What do you think is going on? MVC newb here :(
And the static class of the site: 
(If you don't see screenshots on the page, view the source and use URLs from tags <img>
.)
+2
a source to share
4 answers
Shouldn't it be <% %>
or <%= %>
for the shorthand Response.Write answer?
Here's an MSDN article on Inline Code Blocks .
+2
a source to share