<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <% using (Html.BeginForm()) {%> <%: Html.ValidationSummary(true) %>
Felder
<%: Html.LabelFor(model => model.Description) %>
<%: Html.TextBoxFor(model => model.Description) %> <%: Html.ValidationMessageFor(model => model.Description) %>
<%: Html.LabelFor(model => model.Name) %>
<%: Html.TextBoxFor(model => model.Name) %> <%: Html.ValidationMessageFor(model => model.Name) %>
<%: Html.LabelFor(model => model.Id) %>
<%: Html.TextBoxFor(model => model.Id) %> <%: Html.ValidationMessageFor(model => model.Id) %>
<% } %>
<%: Html.ActionLink("Back to List", "Index") %>