<%@ page language="C#" autoeventwireup="true" inherits="GroupFlyProduce_ProduceAdmin_ProduceAttachMent_Operate, GroupTGWeb_deploy" %>

<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="China315" %>
<!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>
    <link rel="stylesheet" type="text/css" href="style/index.css" />

    <script type="text/javascript" src="js/validate.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="main">
      
            <div class="title">
                <asp:Label ID="LabelTitle" runat="server" Text="附件添加"></asp:Label></div>
           
                <table cellpadding="0" cellspacing="1" width="100%">
                    <tr>
                        <td align="right" width="20%">
                            <asp:Localize ID="LocalizeDropDownListAssociatedCategoryGuid" runat="server" Text="附件类别："></asp:Localize>
                        </td>
                        <td>
                            <asp:DropDownList ID="DropDownListDropDownListAssociatedCategoryGuid" runat="server" CssClass="allinput1">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" width="20%">
                            <asp:Localize ID="LocalizeTitle" runat="server" Text="附件名称："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxTitle" runat="server" CssClass="allinput1"></asp:TextBox>
                            <asp:Label ID="Label1" runat="server" ForeColor="red" Text="*"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorTextBoxTitle" runat="server"
                                ControlToValidate="TextBoxTitle" ErrorMessage="该值不能为空 " Display="Dynamic"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorTextBoxTitle" runat="server"
                                ControlToValidate="TextBoxTitle" Display="Dynamic" ErrorMessage="最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" width="20%">
                            <asp:Localize ID="LocalizeAttachmentURL" runat="server" Text="上传附件："></asp:Localize>
                        </td>
                        <td>
                            <asp:FileUpload ID="FileUploadAttachmentURL" runat="server"  />
                            <asp:Label ID="Label2" runat="server" ForeColor="red" Text="*"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorAttachmentURL" runat="server"
                                ControlToValidate="FileUploadAttachmentURL" ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" valign="top" width="20%">
                            <asp:Localize ID="LocalizeDescription" runat="server" Text="简单描述："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxDescription" runat="server" TextMode="MultiLine" CssClass="allinput1"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorTextBoxDescription"
                                runat="server" ControlToValidate="TextBoxDescription" Display="Dynamic" ErrorMessage="最多150个字符"
                                ValidationExpression="^[\s\S]{0,150}$"></asp:RegularExpressionValidator>
                            <asp:Label ID="Warning2" runat="server" Text="限制150字符"></asp:Label>
                        </td>
                    </tr><tr style="background-color: rgb(238, 238, 238);">
<td align="right">  </td><td><div class="bottomLine">
        <asp:Button ID="ButtonConfirm" runat="server" Text="确定" CssClass="bnt1" OnClick="ButtonConfirm_Click" />&nbsp;
        <input id="Reset1" type="reset" value="重置" class="bnt1 cancel" /><asp:Button ID="Button1"
            runat="server" CssClass="bt3" PostBackUrl="ProduceAttachMent_List.aspx"
            Text="返回列表" CausesValidation="False" />
        &nbsp;<China315:MessageShow ID="MessageShow" Visible="false" runat="server" />
    </div></td></tr> 
                </table>
            </div>
     
    
    <asp:HiddenField ID="hiddenFieldGuid" runat="server" Value="0" />
    </form>
</body>
</html>
