This commit is contained in:
2025-10-28 17:24:02 +08:00
parent b0898907eb
commit 17ce16a567
3 changed files with 14 additions and 5 deletions
@@ -54,7 +54,7 @@
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" Title="档案文件库"
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true" EnableColumnLines="true"
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="updateTime" SortDirection="DESC" OnSort="Grid1_Sort"
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="projectDeviceProcedureSubjectCode,formatFileCode,majorNo,fileVersion" SortDirection="ASC" OnSort="Grid1_Sort"
AllowPaging="true" IsDatabasePaging="true" PageSize="100000" OnPageIndexChange="Grid1_PageIndexChange" EnableCheckBoxSelect="true" KeepCurrentSelection="true"
EnableRowDoubleClickEvent="true" EnableTextSelection="true">
<Toolbars>
@@ -202,7 +202,7 @@
</f:RenderField>
<f:TemplateField ColumnID="AttachFile" Width="150px" HeaderText="文件" HeaderTextAlign="Center" TextAlign="Left">
<ItemTemplate>
<asp:LinkButton ID="lbtnFileUrl" runat="server" CssClass="ItemLink" Text='<%# GetFileUrl(Eval("fileid"),Eval("maintitle")) %>' ToolTip="文件查看"></asp:LinkButton>
<asp:LinkButton ID="lbtnFileUrl" runat="server" CssClass="ItemLink" Text='<%# GetFileUrl(Eval("upfileid"),Eval("maintitle")) %>' ToolTip="文件查看"></asp:LinkButton>
</ItemTemplate>
</f:TemplateField>
</Columns>