@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "Main"; } @section scripts{ }
@Html.Position()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new LinkButtonColumn { FieldName="Title", HeaderText="标题", Align=AlignStyle.Center , Handle="viewAnnouncement" }, new BoundFieldColumn { FieldName="AnnouncementTypeDesc", HeaderText="通知类型", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="CreateDepartmentName", HeaderText="发布部门", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="CreateUserName", HeaderText="发送人", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="CreateTimeDec", HeaderText="发送时间", Formatter = Formatter.LongDate, Align=AlignStyle.Center, Width=0.04 }, }, IsCheckOnSelect = true, PageSize = 10, DataSourceUrl = Url.Content("~/Announcement/GetUserAnnouncementViewList"), ID = "dgAnnouncementList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })