@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
学校信息列表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="UniversityID"},
new LinkButtonColumn { FieldName="Code", HeaderText="学校代码", Align=AlignStyle.Center , Handle="edit", Width=0.06 },
new BoundFieldColumn { FieldName="Name", HeaderText="学校名称", Align=AlignStyle.Center, Width=0.15 },
//new BoundFieldColumn { FieldName="EnglishName", HeaderText="英文名称", Align=AlignStyle.Center, Width=0.1 },
new BoundFieldColumn { FieldName="SimpleName", HeaderText="学校简称", Align=AlignStyle.Center, Width=0.1, OverflowLength=8 },
new BoundFieldColumn { FieldName="ZIPCode", HeaderText="邮政编码", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="Telephone", HeaderText="联系电话", Align=AlignStyle.Center, Width=0.08 },
new BoundFieldColumn { FieldName="FAX", HeaderText="传真", Align=AlignStyle.Center, Width=0.08 },
//new BoundFieldColumn { FieldName="Email", HeaderText="电子邮箱", Align=AlignStyle.Center, Width=0.12 },
new BoundFieldColumn { FieldName="HomePage", HeaderText="主页地址", Align=AlignStyle.Center, Width=0.15, OverflowLength=60 },
//new BoundFieldColumn { FieldName="PublicNum", HeaderText="微信公众号", Align=AlignStyle.Center, Width=0.1 },
new BoundFieldColumn { FieldName="Address", HeaderText="学校地址", Align=AlignStyle.Center, Width=0.12, OverflowLength=15 }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/University/List"),
ID = "dgUniversityList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})