@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
@EMIS.Utility.RSL.Get("Campus")信息列表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="CampusID"},
new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CampusCode"), Align=AlignStyle.Center, Width=0.06, Handle="edit" },
new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CampusName"), Align=AlignStyle.Center, Width=0.1 },
new BoundFieldColumn { FieldName="SimpleName", HeaderText=@EMIS.Utility.RSL.Get("CampusSimpleName"), Align=AlignStyle.Center, Width=0.1 },
new BoundFieldColumn { FieldName="GeneralsuperName", HeaderText="总负责人", Align=AlignStyle.Center,Width=0.06 },
new BoundFieldColumn { FieldName="Officephone", HeaderText="办公电话", Align=AlignStyle.Center, Width=0.1 },
new BoundFieldColumn { FieldName="FAX", HeaderText="传真", Align=AlignStyle.Center, Width=0.1 },
new BoundFieldColumn { FieldName="Email", HeaderText="电子邮箱", Align=AlignStyle.Center, Width=0.1 },
new BoundFieldColumn { FieldName="UniversityCode", HeaderText="学校代码", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="UniversityName", HeaderText="学校名称", Align=AlignStyle.Center, Width=0.12 },
new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center, Width=0.03, OverflowLength=10 }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/Campus/List"),
ID = "dgCampusList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})