<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <% using (Html.BeginForm("SaveGeneral", "Settings", FormMethod.Post, new { id = "form", name = "form" })) {%> <%: Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.") %>
General
<%= Html.LabelFor(model => model.TvFolder) %>
<%= Html.TextBoxFor(model => model.TvFolder) %> <%= Html.ValidationMessageFor(model => model.TvFolder) %>

<% } Html.EndForm();%>