c# - ASP.NET/MVC: Inline code -


what doing wrong? how come <%= %> isn't being interpreted c#?

here's code : hosted imgur.com

and here renders (notice firebug display): hosted imgur.com

what think going on? mvc newb here. :(

and static site class: hosted imgur.com

(if cannot see screenshots on page, view source , use urls <img> tags.)

<%: %> starts .net v4

for pre-v4 it's equivalent <%= html.encode(...) %>


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -