Basf_FCL/FCL/FineUIPro.Web/CCP/CCPUpload.aspx

84 lines
4.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CCPUpload.aspx.cs" Inherits="FineUIPro.Web.CCP.CCPUpload" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style>
.result img {
border: 1px solid #CCCCCC;
max-width: 550px;
padding: 3px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<f:Panel ID="Panel1" BodyPadding="10px" Margin="0 5px 0 0" AutoScroll="true" runat="server" EnableCollapse="true" Title="" ShowHeader="true">
<Items>
<f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true"
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:FileUpload runat="server" ID="ccpFile" EmptyText="Please select the file" Label="File" LabelAlign="Right" ButtonIcon="Add">
</f:FileUpload>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList runat="server" ID="ddlType" Label="Type" LabelAlign="Right">
<f:ListItem Text="CCP" Value="CCP" />
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox runat="server" Label="Remark" ID="txtRemark" LabelAlign="Right">
</f:TextBox>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server"></f:ToolbarFill>
<f:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" ValidateForms="SimpleForm1"
Text="Submit">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
</Items>
<Items>
<f:Grid ID="Grid1" IsFluid="true" CssClass="blockpanel" ShowBorder="true" ShowHeader="false" Title="附件列表" runat="server" AllowPaging="true" IsDatabasePaging="true" PageSize="5" OnPageIndexChange="Grid1_PageIndexChange" SortDirection="DESC" SortField="UploadDate" OnSort="Grid1_Sort" EnableColumnLines="true"
DataKeyNames="FileId" OnRowCommand="Grid1_RowCommand">
<Columns>
<f:BoundField Width="200px" DataField="FileName" HeaderText="File Name" HeaderTextAlign="Center" ExpandUnusedSpace="true" />
<f:BoundField Width="260px" DataField="FO" HeaderText="CCPInfo" HeaderTextAlign="Center" />
<f:BoundField Width="100px" DataField="UploadDate" DataFormatString="{0:yyyy-MM-dd}" HeaderText="Data" HeaderTextAlign="Center" />
<f:LinkButtonField EnableAjax="false" Width="120px" HeaderText="附件下载" ConfirmTarget="Top" CommandName="IsDownload" TextAlign="Center" ToolTip="附件下载" Text="附件下载" />
<f:TemplateField HeaderText="附件查看" Width="120px" HeaderTextAlign="Center" TextAlign="Left" Hidden="true">
<ItemTemplate>
<asp:LinkButton ID="lblLock" runat="server" ToolTip="附件查看" EnableAjax="false" Height="20px" CommandArgument='<%# Bind("FileUrl") %>'></asp:LinkButton>
</ItemTemplate>
</f:TemplateField>
<f:LinkButtonField Width="80px" ConfirmText="Confirm to delete" ConfirmTarget="Top" CommandName="Delete" Icon="Delete" />
</Columns>
</f:Grid>
<f:HiddenField runat="server" ID="hidId"></f:HiddenField>
<f:HiddenField runat="server" ID="hidContractNo"></f:HiddenField>
<f:HiddenField runat="server" ID="hidccpNo"></f:HiddenField>
<f:HiddenField runat="server" ID="hidtype"></f:HiddenField>
</Items>
</f:Panel>
</form>
</body>
</html>