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

<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="China315" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" 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>

    <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>

    <link rel="stylesheet" type="text/css" href="style/index.css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" EnableScriptGlobalization="true" EnableScriptLocalization="true"
        runat="server">
    </asp:ScriptManager>
    <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 style="text-align: right;"  width="20%">
                            <asp:Localize ID="LocalizeCardnum" runat="server" Text="证照编号："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxCardnum" runat="server" CssClass="allinput2"></asp:TextBox>
                            <asp:Label ID="Label5" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorCardMember" runat="server"
                                ControlToValidate="TextBoxCardnum" ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorTextBoxCardnum" runat="server"
                                ControlToValidate="TextBoxCardnum" Display="Dynamic" ErrorMessage="最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right;"  width="20%">
                            <asp:Localize ID="LocalizeCardType" runat="server" Text="证件选择："></asp:Localize>
                        </td>
                        <td>
                            <asp:DropDownList ID="DropDownListCardType" runat="server" CssClass="allinput2">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right;"  width="20%">
                            <asp:Localize ID="LocalizeCardName" runat="server" Text="证照名称："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxCardName" runat="server" CssClass="allinput2"></asp:TextBox>
                            <asp:Label ID="Label1" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorTextBoxCardName" runat="server"
                                ControlToValidate="TextBoxCardName" ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorTextBoxCardName" runat="server"
                                ControlToValidate="TextBoxCardName" Display="Dynamic" ErrorMessage="最多50个字符"
                                ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right;"  width="20%">
                            <asp:Localize ID="LocalizeCardDate" runat="server" Text="发证日期："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxCardDate" runat="server" CssClass="allinput2"></asp:TextBox>
                            <img id="imgCalendarSReplyTime1" alt="" src="images/Calendar.png" style="width: 16px;
                                height:18px; position:relative; top:4px" />
                            <asp:Label ID="Label2" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorStartDate" runat="server"
                                ControlToValidate="TextBoxCardDate" Display="Dynamic" ErrorMessage="时间格式不正确"
                                ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator>
                            <china315:calendarextender id="CalendarExtender1" runat="server" targetcontrolid="TextBoxCardDate"
                                popupbuttonid="imgCalendarSReplyTime1" cssclass="ajax__calendar" />
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right;"  width="20%">
                            <asp:Localize ID="LocalizeCardDepartment" runat="server" Text="发证机关："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxCardDepartment" runat="server" CssClass="allinput2"></asp:TextBox>
                            <asp:Label ID="Label3" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorCardDepartment" runat="server"
                                ControlToValidate="TextBoxCardDepartment" ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorTextBoxCardDepartment"
                                runat="server" ControlToValidate="TextBoxCardDepartment" Display="Dynamic" ErrorMessage="最多50个字符"
                                ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right;"  width="20%">
                            <asp:Localize ID="LocalizeCardContent" runat="server" Text="证照内容："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxCardContent" runat="server" TextMode="MultiLine" CssClass="allinput2"></asp:TextBox>
                            <asp:Label ID="Label4" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorTextBoxCardContent" ControlToValidate="TextBoxCardContent"
                                runat="server" ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right;"   width="20%" valign="bottom" >
                            <asp:Localize ID="LocalizeCardImage" runat="server" Text="证照图片："></asp:Localize>
                        </td>
                        <td>
                            <asp:FileUpload ID="FileUploadCardImage" runat="server" />
                            <asp:Image ID="ImageCardImage" runat="server"  ImageUrl="~/ProduceAdmin/images/noImage.gif"  Height="60px" Width="100" />
                        </td>
                    </tr><tr style="background-color: rgb(238, 238, 238);">
<td align="right">  </td><td><div class="bottomLine">
        <asp:Button ID="ButtonAdd" runat="server" Text="确定" CssClass="bnt1" OnClick="ButtonAdd_Click" />&nbsp;
        <input id="Reset1" type="reset" value="重置" class="bnt1 cancel" />
        <asp:Button ID="Button1" runat="server" CssClass="bt3 cancel" PostBackUrl="ProduceEnterpriseResources_List.aspx"
            Text="返回列表"  CausesValidation="False" />
        <china315:messageshow id="MessageShow" visible="false" runat="server" />
    </div></td></tr>
                </table>
         
    </div>
    
    <asp:HiddenField ID="hiddenFieldGuid" runat="server" Value="0" />
    </form>
</body>
</html>
