AttachmentList.cshtml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "AttachmentList";
  5. }
  6. @section scripts
  7. {
  8. <script type="text/javascript" src="~/Scripts/Business/DQPSystem/SOCDetailStudentScoreAttachmentList.js"></script>
  9. }
  10. <div class="search_list">
  11. <form id="formQuery" method="post">
  12. @Html.Hidden("hidSOCDetailID", Request["detailID"], new Dictionary<string, object> { { "data-condition", "dgSOCDetailStudentAttachmentList"} })
  13. @Html.Hidden("hidUserID", Request["userID"], new Dictionary<string, object> { { "data-condition", "dgSOCDetailStudentAttachmentList" } })
  14. </form>
  15. @Html.DataGrid(new DataGridOptions
  16. {
  17. Columns = new List<DataGridColumn>()
  18. {
  19. new LinkButtonColumn { FieldName="FileName", HeaderText="附件名称", Align=AlignStyle.Center, Handle="downLoad" }
  20. },
  21. IsCheckOnSelect = true,
  22. DataSourceUrl = Url.Content("~/SOCDetailScore/AttachmentList"),
  23. ID = "dgSOCDetailStudentAttachmentList",
  24. IsPagination = true,
  25. IsShowRowNumbers = true,
  26. IsSingleSelect = false
  27. })
  28. </div>