Hello guys,
I'm writing my first asp.net mvc application and I have a question about custom Html helpers:
For making a form, you can use:
<% using (Html.BeginForm()) {%>
*stuff here*
<% } %>
I would like to do something similiar with a custom html helper. In other words, I want to change:
Html.BeginTr();
Html.Td(day.Description);
Html.EndTr();
into:
using Html.BeginTr(){
Html.Td(day.Description);
}
Is this possible?