What's the difference between <% and <%:
Posted
by
Blub
on Stack Overflow
See other posts from Stack Overflow
or by Blub
Published on 2010-12-25T16:47:28Z
Indexed on
2010/12/25
16:54 UTC
Read the original article
Hit count: 197
ASP.NET
|asp.net-mvc-2
Hi, I couldn't find anything through Google, I suppose the search terms are too much to handle. The VS built-in help only explains <%, which is just embedded code. There is no mention of <%:
EDIT: My book says, that the only difference is that <%: returns a MvcHtmlString. Why do we need an extra symbol for <%: just to return something?
Thanks for any help! It would really help me to understand asp.net.
© Stack Overflow or respective owner