When using the Html helpers for ASP.NET MVC I need to wrap them in a Response.Write else they don't appear. However the samples (1&2 for example) I find online for ASP.NET MVC don't seem to do that. Did something change somewhere or am I doing something wrong?
From the samples I find it should be like this:
<div class="row">
<% Html.ActionLink("View", "Details", "People"); %>
</div>
However that displays nothing, so I need to wrap it in a Response.Write as follows:
<div class="row">
<% Response.Write(Html.ActionLink("View", "Details", "People")); %>
</div>