@using Bowin.Web.Controls.Mvc;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "List";
}
@section scripts{
}
@Html.Position()
出版单位列表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="PublishID" },
new LinkButtonColumn { FieldName="UnitCode", HeaderText="单位编号", Align=AlignStyle.Center , Handle="edit", Width=0.04 },
new BoundFieldColumn { FieldName="UnitName", HeaderText="单位名称", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="IsPulishName", HeaderText="是否出版社", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="IsSupplierName", HeaderText="是否供应商", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="IsPrintName", HeaderText="是否印刷厂", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="ContectUser", HeaderText="联系人", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="Mobile", HeaderText="移动电话", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="Phone", HeaderText="固定电话", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="Address", HeaderText="单位地址", Align=AlignStyle.Center, Width=0.06, OverflowLength=10 }
},
IsCheckOnSelect = true,
DataSourceUrl = Url.Content("~/Publisher/List"),
ID = "dgPublishList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false
})