<%@ page language="C#" autoeventwireup="true" inherits="GroupFlyProduce_ProduceAdmin_ProduceOnLineService_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>Untitled Page</title>
    <link rel="stylesheet" type="text/css" href="style/index.css" />

    <script type="text/javascript" language="javascript" src="../../js/CommonJS.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 width="100%" cellspacing="1">
                    <tr>
                        <td style="text-align: right;">
                            <asp:Localize ID="LocalizeType" runat="server" Text="在线客服类型："></asp:Localize>
                        </td>
                        <td>
                            <asp:DropDownList ID="DropDownListType" runat="server">
                            </asp:DropDownList>
                            <asp:Label ID="Label5" runat="server" ForeColor="red" Text="*"></asp:Label>
                            <asp:CompareValidator ID="CompareDropDownListType" runat="server" ControlToValidate="DropDownListType"
                                Display="Dynamic" ErrorMessage="该值必需选择" ValueToCompare="-1" Operator="NotEqual"></asp:CompareValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right;">
                            <asp:Localize ID="LocalizeName" runat="server" Text="在线客服名称："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxName" runat="server" CssClass="allinput1"></asp:TextBox>
                            <asp:Label ID="Label1" runat="server" ForeColor="red" Text="*"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxName"
                                ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorTextBoxName" runat="server"
                                ControlToValidate="TextBoxName" Display="Dynamic" ErrorMessage="最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right;">
                            <asp:Localize ID="LocalizeServiceAccount" runat="server" Text="在线客服账号："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxServiceAccount" runat="server" CssClass="allinput1"></asp:TextBox>
                            <asp:Label ID="Label6" runat="server" ForeColor="red" Text="*"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxServiceAccount"
                                ErrorMessage="该值不能为空 "></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorTextBoxServiceAccount"
                                runat="server" ControlToValidate="TextBoxServiceAccount" Display="Dynamic" ErrorMessage="最多50个字符"
                                ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right;">
                            <asp:Localize ID="LocalizeOrderID" runat="server" Text="排序号："></asp:Localize>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxOrderID" runat="server" CssClass="allinput1"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorRepertoryOrderID" runat="server"
                                ControlToValidate="TextBoxOrderID" ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"
                                Display="Dynamic"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="lblIsShow" runat="server" Text="是否前台显示："></asp:Label>
                        </td>
                        <td>
                            <asp:CheckBox ID="CheckBoxIsShow" runat="server" Checked="True" Text="是" />
                        </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"
            ToolTip="Submit" />
        <input id="Reset1" type="reset" value="重置" class="bnt1" /><asp:Button ID="Button1"
            runat="server" CssClass="bt3 cancel" CausesValidation="false" PostBackUrl="ProduceOnLineService_List.aspx"
            Text="返回列表"  />
        <China315:MessageShow ID="MessageShow" Visible="false" runat="server" />
    </div></td></tr>
                </table>
        
    </div>
 
    <asp:HiddenField ID="hiddenFieldGuid" runat="server" Value="0" />
    </form>
</body>
</html>
