@model GODATA.Models.UserInventory.UserInventory @using (Ajax.BeginForm("ManagePrincipleDealerInventory_EditPrincipleDealer", "UserInventory", new AjaxOptions { HttpMethod = "POST", OnBegin = "onBeginEditPrincipleDealer", OnSuccess = "onSuccessEditPrincipleDealer" })) { @Html.ValidationSummary(true) @Html.HiddenFor(model => model.StateName, new { id = "stateName" }) @Html.HiddenFor(model => model.ObjectId)
@Html.LabelFor(model => model.OrganizationId) * @Html.DropDownListFor(model => model.OrganizationId, (IEnumerable)ViewBag.OrganizationList, "-Select-", new { @id = "ddOrganization", @onchange = "LoadStateListRegionWise(id, 'ddState','ddCity')" }) @*@Html.DropDownListFor(model => model.OrganizationId, (IEnumerable)ViewBag.OrganizationList, "-Select-", new { @id = "ddOrganization"})*@ @Html.ValidationMessageFor(model => model.OrganizationId) Principal Dealer Name * @Html.TextBoxFor(model => model.FirstName) @Html.ValidationMessageFor(model => model.FirstName)
@Html.LabelFor(model => model.State) @Html.DropDownListFor(model => model.State, (IEnumerable)ViewBag.StateList, "-Select-", new { @id = "ddState", @onchange = "LoadCityList()" }) @Html.ValidationMessageFor(model => model.State) @Html.LabelFor(model => model.City) @Html.DropDownListFor(model => model.City, (IEnumerable)ViewBag.CityList, "-Select-", new { @id = "ddCity" }) @**@ @Html.ValidationMessageFor(model => model.City)
@Html.LabelFor(model => model.PrincipleDealerContactNo) @Html.TextBoxFor(model => model.PrincipleDealerContactNo) @Html.ValidationMessageFor(model => model.PrincipleDealerContactNo) @Html.LabelFor(model => model.UserName) * @Html.TextBoxFor(model => model.UserName, new { @readonly = "readonly", @class = "disable_btn" }) @Html.ValidationMessageFor(model => model.UserName)
@Html.LabelFor(model => model.ChildDealerList) @(Html.Kendo().MultiSelectFor(model => model.ChildDealerList) .Name("ChildDealerList").Placeholder("-Select-").Filter("contains") .BindTo(new SelectList(ViewBag.DealerList, "Value", "Text")) ) @Html.ValidationMessageFor(model => model.ChildDealerList)

}