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("hidSOCDetailID", Request["detailID"], new Dictionary<string, object> { { "data-condition", "dgSOCDetailAttachmentList" } })
- </form>
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new LinkButtonColumn { FieldName="FileName", HeaderText="附件名称", Align=AlignStyle.Center, Handle="downLoad" }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/SOCDetail/GetAttachmentList"),
- ID = "dgSOCDetailAttachmentList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
|