Method equivalent of <%= expression %> in asp.net?
- by Scott Weinstein
Total noob question here, but not finding the answer via search.
What is the method equivalant of <%= expression %?
I'm looking to replace this:
<%
foreach (var intem in IE) {
%>
<%= Ajax.ActionLink(item,...) %>
<% } %>
with:
<%
foreach (var intem in IE) {
SomeOutputCall(Ajax.ActionLink(item,...));
}
%>