@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" })
@Html.LabelFor(model => model.ObjectId) * @(Html.Kendo().ComboBox() .SelectedIndex(0) .Events(e => e.Change("getOrganizationDealerWise")) .Name("ObjectId") .Filter("contains") .DataTextField("Text") .DataValueField("Value") .BindTo(new SelectList(ViewBag.NonUserDealerList, "Value", "Text")) .HtmlAttributes(new { @style = "width: 173px" }) .Suggest(true) ) @Html.ValidationMessageFor(model => model.ObjectId) @Html.LabelFor(model => model.OrganizationId) @Html.ValidationMessageFor(model => model.OrganizationId)
@Html.LabelFor(model => model.Designation) @Html.ValidationMessageFor(model => model.Designation) @Html.LabelFor(model => model.Language) @Html.DropDownListFor(model => model.Language, (IEnumerable)ViewBag.LanguageList, "-Select-", new { @id = "ddLanguage" }) @Html.ValidationMessageFor(model => model.Language)
@Html.LabelFor(model => model.State) @Html.TextBoxFor(model => model.State, new { @readonly = "readonly", @class = "disable_btn " }) @Html.ValidationMessageFor(model => model.State) @Html.LabelFor(model => model.City) @Html.TextBoxFor(model => model.City, new { @readonly = "readonly", @class = "disable_btn " })
@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)

}