@model EMIS.ViewModel.TeachingMaterial.LibraryView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { Url = "/Library/Edit", OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) { @Html.HiddenFor(x => x.LibraryID)
@*
书库基本信息
*@ @if (Request["isView"] != "1") {
@Html.ContextMenuBar("Edit")
}
@Html.LabelFor(x => x.LibraryCode): @Html.TextBoxFor(x => x.LibraryCode) @Html.LabelFor(x => x.LibraryName): @Html.TextBoxFor(x => x.LibraryName)
@Html.LabelFor(x => x.CampusName): @Html.DropdownListFor(x => x.CampusID, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/Campus/CampusDropdownListBanid"), OnSelect = "SelectCampusCode" }) @Html.LabelFor(x => x.HeadPeople): @Html.TextBoxFor(x => x.HeadPeople)
@Html.LabelFor(x => x.ContectTelNumber): @Html.TextBoxFor(x => x.ContectTelNumber)
@Html.LabelFor(x => x.Desc): @Html.TextAreaFor(x => x.Desc, new Dictionary { { "style", "width:1000px;" } })
}