@model GODATA.Models.UserInventory.UserInventory @using (Ajax.BeginForm("ManageDealerInventory_AddDealer", "UserInventory", new AjaxOptions { HttpMethod = "POST", OnBegin = "onBegin", OnSuccess = "onSuccessAddDealer" })) { @* @Html.ValidationSummary(true) @Html.HiddenFor(model => model.StateName, new { id = "stateName" }) @Html.HiddenFor(model => model.OrganizationName, new { id = "organizationName" }) *@
| Dealer | @ViewBag.DealerName | @Html.LabelFor(model => model.OrganizationName) | @Html.DisplayFor(model => model.OrganizationName) @Html.ValidationMessageFor(model => model.OrganizationName) |
| @Html.DisplayNameFor(model => model.Designation) | @Html.DisplayFor(model => model.Designation) | @Html.DisplayNameFor(model => model.Language) | @Html.DisplayFor(model => model.Language) |
| @Html.DisplayNameFor(model => model.State) | @Html.DisplayFor(model => model.State) | @Html.DisplayNameFor(model => model.City) | @Html.DisplayFor(model => model.City) |
| @Html.LabelFor(model => model.FirstName) * | @Html.EditorFor(model => model.FirstName) @Html.ValidationMessageFor(model => model.FirstName) | @Html.LabelFor(model => model.UserName) * | @Html.EditorFor(model => model.UserName) @Html.ValidationMessageFor(model => model.UserName) |
| @Html.LabelFor(model => model.Password) * | @Html.EditorFor(model => model.Password) @Html.ValidationMessageFor(model => model.Password) | @Html.LabelFor(model => model.ConfirmPassword) | @Html.EditorFor(model => model.ConfirmPassword) @Html.ValidationMessageFor(model => model.ConfirmPassword) |