<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="attachment.aspx.cs" Inherits="Subtext.Web.Admin.UserControls.attachment" %>
<%@ Register TagPrefix="st" Namespace="Subtext.Web.Admin.WebUI" Assembly="Subtext.Web" %>
<%@ Register TagPrefix="st1" Namespace="Subtext.Web.Controls" Assembly="Subtext.Web.Controls" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>文件上传</title>
    <st1:ScriptTag id="commonJs" src="~/Scripts/common.js" runat="server" />
    <st:HeaderLink id="adminCss" rel="stylesheet" href="resources/admin.css" linkType="text/css" runat="server" />
</head>
<body class="attachmentBody">
    <form id="form1" runat="server">
    <div>
        <asp:FileUpload ID="attachmentUpload" runat="server" Width="350px" />
        <asp:Button ID="Uploadbtn" runat="server" Text="上传" ValidationGroup="attachment" OnClick="Uploadbtn_Click" />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ForeColor="#990066" ControlToValidate="attachmentUpload" ErrorMessage="" ValidationGroup="attachment">上传文件地址不能为空.</asp:RequiredFieldValidator>
    </div>
    </form>
</body>
</html>