I had this, and got “Howdy, “
<p> Howdy, <% Model.ToString(); %> </p>
I changed it to
<p> Howdy, <%: Model.ToString() %> </p>
and got “Howdy, Chris”. (Which is what I expected.) I found several pages that listed the different kinds of inline expressions, but none of the ones that I found listed the one with the colon, and googling “<%:” doesn’t seem to find anything ;).
Thanks much
http://weblogs.asp.net/scottgu/archive/2010/04/06/new-lt-gt-syntax-for-html-encoding-output-in-asp-net-4-and-asp-net-mvc-2.aspx