1234567891011121314151617181920212223242526272829303132 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "AttachmentList";
- }
- @section scripts
- {
- <script type="text/javascript">
- function downLoad(rowIndex, rowData) {
- window.open(rowData.FileUrl);
- }
- </script>
- }
- <div class="search_list">
- <form id="formQuery" method="post">
- @Html.Hidden("hidScoreConvertByApplyID", Request["scoreConvertByApplyID"], new Dictionary<string, object> { { "data-condition", "dgScoreConvertByApplyAttachmentList" } })
- </form>
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new LinkButtonColumn { FieldName="FileName", HeaderText="附件名称", Align=AlignStyle.Center, Handle="downLoad" }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ScoreConvert/Attachment"),
- ID = "dgScoreConvertByApplyAttachmentList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
|