<%@ page language="C#" autoeventwireup="true" inherits="Admin_OnlineService_Operate, ShopNum1Deploy" %>

<%@ Register assembly="ShopNum1.Control" namespace="ShopNum1.Control" tagprefix="cc1" %>

<%@ Register src="UserControl/MessageShow.ascx" tagname="MessageShow" tagprefix="uc1" %>

<!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 type="text/css" rel="Stylesheet" href="css/index.css" />
   
    </head>
<body style="padding:0; background-image: url(images/Bg_right.gif); background-repeat:repeat;">
    <form id="form1" runat="server">
    
    <div class="navigator">  <asp:Label ID="LabelPageTitle" runat="server" Font-Bold="True" Text="新增在线客服类型"></asp:Label>   </div>
        <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
            <tr>
                <td align="right" colspan="2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" width="20%">
                            <asp:Label ID="LabelType" runat="server" Text="在线客服类型："></asp:Label>
                        </td>
                <td align="left" >
                            <asp:DropDownList ID="DropDownListType" runat="server"  CssClass="select2">
                            </asp:DropDownList>
                            <asp:Label ID="Label2" runat="server" Text="*" ForeColor="red"></asp:Label>
                    <asp:CompareValidator ID="CompareValidatorTypeName" runat="server" 
                            ControlToValidate="DropDownListType" Display="Dynamic" ErrorMessage="该值必需选择" 
                            Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
                        </td>
            </tr>
            <tr>
                <td align="right" >
    
                            <asp:Label ID="LabelName" runat="server" Text="在线客服名称："></asp:Label>
                        </td>
                <td align="left" >
                            <asp:TextBox ID="TextBoxName" runat="server" 
                                CssClass="input2"></asp:TextBox>
                            <asp:Label ID="Label3" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorName" 
                            runat="server" ControlToValidate="TextBoxName" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorName" 
                        runat="server" ControlToValidate="TextBoxName" Display="Dynamic" 
                        ErrorMessage="标题最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                        </td>
            </tr>
            <tr>
                <td align="right" >
    
                            <asp:Label ID="LabelServiceAccount" runat="server" Text="在线客服账号："></asp:Label>
                        </td>
                <td align="left" >
                            <asp:TextBox ID="TextBoxServiceAccount" runat="server" 
                                CssClass="input2"></asp:TextBox>
                            <asp:Label ID="Label4" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorServiceAccount" 
                            runat="server" ControlToValidate="TextBoxServiceAccount" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorServiceAccount" 
                        runat="server" ControlToValidate="TextBoxServiceAccount" Display="Dynamic" 
                        ErrorMessage="标题最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                        </td>
            </tr>
    <%--        <tr>
                <td align="right" >
    
                            <asp:Label ID="LabelLocation" runat="server" Text="显示位置："></asp:Label>
                        </td>
                <td align="left" >
                            <asp:DropDownList ID="DropDownListLocation" runat="server"  CssClass="select2">
                            </asp:DropDownList>
                            <asp:Label ID="Label5" runat="server" Text="*" ForeColor="red"></asp:Label>
                    <asp:CompareValidator ID="CompareValidatorLocation" runat="server" 
                            ControlToValidate="DropDownListLocation" Display="Dynamic" ErrorMessage="该值必需选择" 
                            Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
                        </td>
            </tr>--%>
            <tr>
                <td align="right" >
    
                            <asp:Label ID="LabelIfShow" runat="server" Text="是否显示："></asp:Label>
                        </td>
                <td align="left" >
                    <asp:DropDownList ID="DropDownListIfShow" runat="server" CssClass="select2" 
                         >
                    </asp:DropDownList>
                            <asp:Label ID="Label6" runat="server" Text="*" ForeColor="red"></asp:Label>
                    <asp:CompareValidator ID="CompareValidatorIfShow" runat="server" 
                            ControlToValidate="DropDownListIfShow" Display="Dynamic" ErrorMessage="该值必需选择" 
                            Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
                        </td>
            </tr>
            <tr>
                <td align="right" >
    
                            <asp:Label ID="LabelOrderID" runat="server" Text="排序号："></asp:Label>
                        </td>
                <td align="left" >
                            <asp:TextBox ID="TextBoxOrderID" runat="server" CssClass="input2"></asp:TextBox>
                            <asp:Label ID="Label7" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorName0" 
                            runat="server" ControlToValidate="TextBoxName" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle1" 
                        runat="server" ControlToValidate="TextBoxOrderID" Display="Dynamic" 
                        ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
                        </td>
            </tr>
            <tr>
                <td align="right" >
    
                    &nbsp;</td>
                <td align="left" >
                    &nbsp;</td>
            </tr>
            <tr style="background-color:#EEEEEE;" class="btconfig">
             <td align="right" >
    
                 &nbsp;</td>
                <td align="left" >
                     <div style="width:100%;">
                     
                        <asp:Button ID="ButtonConfirm" runat="server" Text="确定" 
                            onclick="ButtonConfirm_Click" ToolTip="Submit"  CssClass="bt2"/>
                            <input ID="inputReset" runat="server"  type="reset" value="重置"  class="bt2"/>
                            <a href="OnlineService_List.aspx"><img src="images/back.png" border="0" align="top" /></a> 
                            <uc1:MessageShow ID="MessageShow" runat="server" Visible="False" />
    
                     </div>
                </td>  
            </tr>
        </table>
  


                    <asp:HiddenField ID="hiddenFieldGuid" runat="server" Value="0" />


    </form>
</body>
</html>
