<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Department.aspx.cs" Inherits="Neclog_3_0.Department" %>

<%@ Register Src="~/UserControls/ucSearchControl.ascx" TagName="ucSearchControl" TagPrefix="ucSearch" %>
<%@ Register TagPrefix="atv" Namespace="AdamTibi.Web.UI.Validators"
    Assembly="AdamTibi.Web.UI.Validators" %>
<%@ Register Assembly="obout_Interface" Namespace="Obout.Interface" TagPrefix="cc1" %>
<%@ Register TagPrefix="obout" Namespace="Obout.ComboBox" Assembly="obout_ComboBox" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script type="text/javascript">
        function grdSearch_OnClientDblClick(recordIndex) {
            grdSearch_OnInternalClientDblClick(recordIndex);
            var cObj = document.getElementById("<%= btnEdit.ClientID%>");
            cObj.click();
        }
    </script>

    <div class='divtable'>
        <asp:HiddenField ID="hdnRecordKeyId" runat="server" />
        <asp:HiddenField ID="hdnEmailSystem" runat="server" />
        <asp:HiddenField ID="hdnEmailTime" runat="server" />
        <asp:HiddenField ID="hdnEmailAddress" runat="server" />
        <asp:HiddenField ID="hdnSuperVisorEmailAddress" runat="server" />
        <asp:HiddenField ID="hdnSMSSystem" runat="server" />
        <asp:HiddenField ID="hdnSMSAddress" runat="server" />
        <asp:HiddenField ID="hdnMobileUserName" runat="server" />
        <asp:HiddenField ID="hdnArchiveEmailReminderDate" runat="server" />

        <div class='form-box'>
            <div class="box box-success">
                <div class="box-header with-border">
                    <div class='row'>
                        <div class='col-md-7'>
                            <asp:Label ID="lblTitle" runat="server" class="box-title"></asp:Label>
                            <asp:HiddenField ID="hdnHeaderNote" Value="0" runat="server" />
                            <asp:HiddenField ID="hdnFooterNote" Value="0" runat="server" />
                        </div>
                        <div class='col-md-5' align="right">
                            <asp:UpdatePanel runat="server" UpdateMode="Always">
                                <ContentTemplate>
                                    <asp:Button ID="btnSearch" runat="server" Text="Find" OnClick="SearchData" CssClass="myButton" CausesValidation="false" ToolTip="Find" />&nbsp;
                                    <asp:Button ID="btnAdd" runat="server" Text="Add" OnClick="AddData" CssClass="myButton" CausesValidation="false" ToolTip="Add" />&nbsp;
                                    <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="SaveData" CssClass="myButton" ToolTip="Save" />&nbsp;
                                    <asp:Button ID="btnEdit" runat="server" Text="Edit" OnClick="btnEdit_Click" CssClass="myButton" ToolTip="Edit" />&nbsp;
                                    <asp:Button ID="btnDelete" runat="server" Text="Delete" OnClientClick="return validateDelete();" OnClick="btnDelete_Click" CssClass="myButton" ToolTip="Delete" />&nbsp;
                                    <asp:Button ID="btnPrint" runat="server" Text="Print" OnClick="btnPrint_Click" CssClass="myButton" CausesValidation="false" ToolTip="Print" />
                                </ContentTemplate>
                                <Triggers>
                                    <asp:PostBackTrigger ControlID="btnPrint" />
                                </Triggers>
                            </asp:UpdatePanel>
                        </div>
                    </div>
                </div>
                <!-- /.box-header -->
                <!-- form start -->
                <asp:Panel runat="server" DefaultButton="btnSave">
                    <div class="form-horizontal">
                    <div class="box-body" id="divFormContent" runat="server">
                        <div class="form-group">
                            <asp:Label ID="Label1" runat="server" Text="Department Name*" class="col-sm-2 control-label"></asp:Label>
                            <div class="col-sm-5">
                                <asp:TextBox runat="server" ID="txtBranchName" MaxLength="50" CssClass="form-control" />
                            </div>
                            <div class="col-sm-5">
                                <asp:RequiredFieldValidator runat="server" ControlToValidate="txtBranchName"
                                    CssClass="text-alert" ErrorMessage="Department Name field is required." />
                            </div>
                        </div>
                        <div class="form-group" id="divCommGroup" runat="server">
                            <asp:Label ID="Label2" runat="server" Text="Comm. Group*" class="col-sm-2 control-label"></asp:Label>
                            <div class="col-sm-5">
                                <asp:DropDownList runat="server" ID="ddlBusinessUnitId" CssClass="form-control">
                                </asp:DropDownList>
                            </div>
                            <div class="col-sm-5">
                                <asp:RequiredFieldValidator runat="server" ControlToValidate="ddlBusinessUnitId"
                                    CssClass="text-alert" ErrorMessage="Comm. Group field is required." />
                            </div>
                        </div>
                        <div class="form-group">
                            <asp:Label ID="Label3" runat="server" Text="Header Note*" class="col-sm-2 control-label"></asp:Label>
                            <div class="col-sm-7">
                                <asp:TextBox runat="server" ID="txtHeaderNote" MaxLength="100" CssClass="form-control" />
                            </div>
                            <div class="col-sm-3">
                                <asp:RequiredFieldValidator runat="server" ControlToValidate="txtHeaderNote"
                                    CssClass="text-alert" ErrorMessage="Header Note field is required." />
                            </div>
                        </div>
                        <div class="form-group">
                            <asp:Label ID="Label4" runat="server" Text="Footer Note*" class="col-sm-2 control-label"></asp:Label>
                            <div class="col-sm-7">
                                <asp:TextBox runat="server" ID="txtFooterNote" MaxLength="100" class="form-control" />
                            </div>
                            <div class="col-sm-3">
                                <asp:RequiredFieldValidator runat="server" ControlToValidate="txtFooterNote"
                                    CssClass="text-alert" ErrorMessage="Footer Note field is required." />
                            </div>
                        </div>
                        <div class="form-group">
                            <asp:Label ID="Label5" runat="server" Text="Archive Month*" class="col-sm-2 control-label"></asp:Label>
                            <div class="col-sm-2">
                                <asp:DropDownList ID="ddlArchiveMonth" runat="server" class="form-control">
                                    <asp:ListItem Value="0" Text="Archive Month" Selected="True"></asp:ListItem>
                                    <asp:ListItem Value="1" Text="Jan"></asp:ListItem>
                                    <asp:ListItem Value="2" Text="Feb"></asp:ListItem>
                                    <asp:ListItem Value="3" Text="Mar"></asp:ListItem>
                                    <asp:ListItem Value="4" Text="Apr"></asp:ListItem>
                                    <asp:ListItem Value="5" Text="May"></asp:ListItem>
                                    <asp:ListItem Value="6" Text="Jun"></asp:ListItem>
                                    <asp:ListItem Value="7" Text="Jul"></asp:ListItem>
                                    <asp:ListItem Value="8" Text="Aug"></asp:ListItem>
                                    <asp:ListItem Value="9" Text="Sep"></asp:ListItem>
                                    <asp:ListItem Value="10" Text="Oct"></asp:ListItem>
                                    <asp:ListItem Value="11" Text="Nov"></asp:ListItem>
                                    <asp:ListItem Value="12" Text="Dec"></asp:ListItem>
                                </asp:DropDownList>
                            </div>
                            <div class="col-sm-8">
                                <asp:Label ID="Label6" runat="server" Text="( Archive data for more then 2 years. )" class="col-sm-14 control-label"></asp:Label>
                                <asp:RequiredFieldValidator runat="server" ControlToValidate="ddlArchiveMonth"
                                    CssClass="text-alert" ErrorMessage="Archive Month is required." InitialValue="0" />
                            </div>
                        </div>
                        <div class="break" id="divBreak" runat="server"></div>
                        <div class="form-group" id="divEmailRadio" runat="server">
                            <asp:Label ID="Label7" runat="server" Text="Email System" class="col-sm-2 control-label"></asp:Label>
                            <div class="col-sm-5" style="vertical-align: middle; margin-top: 5px;">
                                <asp:RadioButton ID="rdBtnEmailEnabled" runat="server" GroupName="EmailSystem" Text="Enabled"
                                    Checked="True" AutoPostBack="true" CssClass="control-label" OnCheckedChanged="EmailCheckChanged" />
                                <asp:RadioButton ID="rdBtnEmailDisabled" runat="server" GroupName="EmailSystem" Text="Disabled"
                                    AutoPostBack="true" CssClass="control-label" OnCheckedChanged="EmailCheckChanged" />
                            </div>
                        </div>

                        <asp:Panel ID="pnlEmail" runat="server">
                            <div class="form-group">
                                <asp:Label ID="Label8" runat="server" Text="Email Alert Delay*" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-1">
                                    <asp:TextBox runat="server" ID="txtEmailAlertDelay" Text="1" MaxLength="3" class="form-control" onkeypress="return onlyNumbers(event, this);" />
                                </div>
                                <div class="col-sm-3">
                                    <asp:Label ID="Label9" runat="server" Text="in min ( Min 1 to Max 180 )" class="control-label"></asp:Label>
                                </div>
                                <div class="col-sm-4">
                                    <asp:RequiredFieldValidator ID="txtREmailAlertDelay1" runat="server" ControlToValidate="txtEmailAlertDelay"
                                        CssClass="text-alert" ErrorMessage="Email Delay field is required." />
                                    <asp:RangeValidator ID="txtRangeEmailAlertDelay" ErrorMessage="Enter value between 1 to 180" CssClass="text-alert" Type="Integer" MinimumValue="1" MaximumValue="180" ControlToValidate="txtEmailAlertDelay" runat="server" />
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label15" runat="server" Text="Email Time*" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-2">
                                    <asp:DropDownList ID="cmbEmailHours" runat="server" class="form-control">
                                        <asp:ListItem Text="00" Value="0" Selected="True" />
                                        <asp:ListItem Text="01" Value="1" />
                                        <asp:ListItem Text="02" Value="2" />
                                        <asp:ListItem Text="03" Value="3" />
                                        <asp:ListItem Text="04" Value="4" />
                                        <asp:ListItem Text="05" Value="5" />
                                        <asp:ListItem Text="06" Value="6" />
                                        <asp:ListItem Text="07" Value="7" />
                                        <asp:ListItem Text="07" Value="7" />
                                        <asp:ListItem Text="08" Value="8" />
                                        <asp:ListItem Text="09" Value="9" />
                                        <asp:ListItem Text="10" Value="10" />
                                        <asp:ListItem Text="11" Value="11" />
                                        <asp:ListItem Text="12" Value="12" />
                                        <asp:ListItem Text="13" Value="13" />
                                        <asp:ListItem Text="14" Value="14" />
                                        <asp:ListItem Text="15" Value="15" />
                                        <asp:ListItem Text="16" Value="16" />
                                        <asp:ListItem Text="17" Value="17" />
                                        <asp:ListItem Text="18" Value="18" />
                                        <asp:ListItem Text="19" Value="19" />
                                        <asp:ListItem Text="20" Value="20" />
                                        <asp:ListItem Text="21" Value="21" />
                                        <asp:ListItem Text="22" Value="22" />
                                        <asp:ListItem Text="23" Value="23" />
                                    </asp:DropDownList>
                                </div>
                                <div class="col-sm-0">
                                    <asp:Label ID="Label16" runat="server" Text=":" Font-Bold="true" CssClass="control-label"></asp:Label>
                                </div>
                                <div class="col-sm-2">
                                    <asp:DropDownList ID="cmbEmailMins" runat="server" class="form-control">
                                        <asp:ListItem Text="00" Value="0" Selected="True" />
                                        <asp:ListItem Text="05" Value="10" />
                                        <asp:ListItem Text="10" Value="10" />
                                        <asp:ListItem Text="15" Value="15" />
                                        <asp:ListItem Text="20" Value="20" />
                                        <asp:ListItem Text="25" Value="25" />
                                        <asp:ListItem Text="30" Value="30" />
                                        <asp:ListItem Text="35" Value="35" />
                                        <asp:ListItem Text="40" Value="40" />
                                        <asp:ListItem Text="45" Value="45" />
                                        <asp:ListItem Text="50" Value="50" />
                                        <asp:ListItem Text="55" Value="55" />
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label10" runat="server" Text="Email Address 1*" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-4">
                                    <em>
                                        <asp:RegularExpressionValidator ErrorMessage="Invalid Email ID" Display="Dynamic" ControlToValidate="txtEmailAddress1" CssClass="text-alert"
                                            ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*" runat="server" />
                                    </em>
                                    <asp:TextBox runat="server" ID="txtEmailAddress1" MaxLength="50" class="form-control" />
                                </div>
                                <div class="col-sm-4">
                                    <asp:RequiredFieldValidator runat="server" ControlToValidate="txtEmailAddress1" ID="txtEmailAddress"
                                        CssClass="text-alert" ErrorMessage="Email Address 1 field is required." />
                                </div>
                            </div>

                            <div class="form-group">
                                <asp:Label ID="Label11" runat="server" Text="Email Address 2" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-4">
                                    <em>
                                        <asp:RegularExpressionValidator ErrorMessage="Invalid Email ID" Display="Dynamic" ControlToValidate="txtEmailAddress2" CssClass="text-alert"
                                            ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*" runat="server" />
                                    </em>
                                    <asp:TextBox runat="server" ID="txtEmailAddress2" MaxLength="50" class="form-control" />
                                </div>
                                <div class="col-sm-2">
                                    <asp:Label ID="Label12" runat="server" Text="Email Address 3" class="control-label"></asp:Label>
                                </div>
                                <div class="col-sm-4">
                                    <em>
                                        <asp:RegularExpressionValidator ErrorMessage="Invalid Email ID" Display="Dynamic" ControlToValidate="txtEmailAddress3" CssClass="text-alert"
                                            ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*" runat="server" />
                                    </em>
                                    <asp:TextBox runat="server" ID="txtEmailAddress3" MaxLength="50" CssClass="form-control" />
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label13" runat="server" Text="Email Address 4" class="col-sm-2 control-label"></asp:Label>

                                <div class="col-sm-4">
                                    <em>
                                        <asp:RegularExpressionValidator ErrorMessage="Invalid Email ID" Display="Dynamic" ControlToValidate="txtEmailAddress4" CssClass="text-alert"
                                            ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*" runat="server" />
                                    </em>
                                    <asp:TextBox runat="server" ID="txtEmailAddress4" MaxLength="50" class="form-control" />
                                </div>
                                <div class="col-sm-2">
                                    <asp:Label ID="Label14" runat="server" Text="Email Address 5" class="control-label"></asp:Label>
                                </div>
                                <div class="col-sm-4">
                                    <em>
                                        <asp:RegularExpressionValidator ErrorMessage="Invalid Email ID" Display="Dynamic" ControlToValidate="txtEmailAddress5" CssClass="text-alert"
                                            ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*" runat="server" />
                                    </em>
                                    <asp:TextBox runat="server" ID="txtEmailAddress5" MaxLength="50" class="form-control" />
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label17" runat="server" Text="Supervisor Email 1*" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-4">
                                    <em>
                                        <asp:RegularExpressionValidator ErrorMessage="Invalid Email ID" Display="Dynamic" ControlToValidate="txtSupervisorEmailAddress" CssClass="text-alert"
                                            ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*" runat="server" />
                                    </em>
                                    <asp:TextBox runat="server" ID="txtSupervisorEmailAddress" MaxLength="50" class="form-control" />
                                </div>
                                <div class="col-sm-4">
                                    <asp:RequiredFieldValidator runat="server" ControlToValidate="txtSupervisorEmailAddress" ID="txtRSupervisorEmailAddress"
                                        CssClass="text-alert" ErrorMessage="Supervisor Email 1 field is required." />
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label18" runat="server" Text="Supervisor Email 2" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-4">
                                    <em>
                                        <asp:RegularExpressionValidator ErrorMessage="Invalid Email ID" Display="Dynamic" ControlToValidate="txtSupervisorEmailAddress2" CssClass="text-alert"
                                            ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*" runat="server" />
                                    </em>
                                    <asp:TextBox runat="server" ID="txtSupervisorEmailAddress2" MaxLength="50" class="form-control" />
                                </div>
                            </div>


                        </asp:Panel>

                        <div class="break" id="divBreak1" runat="server"></div>

                        <div class="form-group" id="divSMSRadio" runat="server">
                            <asp:Label ID="Label30" runat="server" Text="SMS System" class="col-sm-2 control-label"></asp:Label>
                            <div class="col-sm-5" style="vertical-align: middle; margin-top: 5px;">
                                <asp:RadioButton ID="rdBtnSMSEnabled" runat="server" GroupName="SmsSystem" Text="Enabled"
                                    Checked="True" AutoPostBack="true" CssClass="control-label" OnCheckedChanged="SMSCheckChanged" />
                                <asp:RadioButton ID="rdBtnSMSDisabled" runat="server" GroupName="SmsSystem" Text="Disabled"
                                    AutoPostBack="true" CssClass="control-label" OnCheckedChanged="SMSCheckChanged" />
                            </div>
                            <%--                             <div class="col-sm-5">
                                   <atv:MultipleFieldsValidator ID="mfv" runat="server" Condition="AND"
                                        ControlsToValidate="txtSMSAlertDelay,txtMobileUserName1,txtMobileNo1" CssClass="text-alert">SMS Delay, Mobile User Name 1, Mobile No. 1 fields are required.</atv:MultipleFieldsValidator>
                             </div>--%>
                        </div>

                        <asp:Panel ID="pnlSMS" runat="server">
                            <div class="form-group">
                                <asp:Label ID="Label19" runat="server" Text="SMS Alert Delay*" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-1">
                                    <asp:TextBox runat="server" Text="1" ID="txtSMSAlertDelay" onkeypress="return onlyNumbers(event, this);" MaxLength="3" class="form-control" />
                                </div>
                                <div class="col-sm-3">
                                    <asp:Label ID="Label20" runat="server" Text="in min ( Min 1 to Max 180 )" class="control-label"></asp:Label>
                                </div>
                                <div class="col-sm-5">
                                    <asp:RequiredFieldValidator runat="server" ControlToValidate="txtSMSAlertDelay" ID="txtRSMSAlertDelay"
                                        CssClass="text-alert" ErrorMessage="SMS Alert Delay field is required." />
                                    <asp:RangeValidator ID="txtRangeSMSAlertDelay" ErrorMessage="Enter value between 1 to 180" CssClass="text-alert" Type="Integer" MinimumValue="1" MaximumValue="180" ControlToValidate="txtSMSAlertDelay" runat="server" />
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label23" runat="server" Text="Mobile User Name 1*" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-4">
                                    <em>
                                        <asp:RequiredFieldValidator runat="server" Display="Dynamic" ControlToValidate="txtMobileUserName1" ID="txtRMobileUserName1"
                                            CssClass="text-alert" ErrorMessage="Mobile User Name 1 field is required." />
                                    </em>
                                    <asp:TextBox runat="server" ID="txtMobileUserName1" MaxLength="50" class="form-control" />
                                </div>
                                <asp:Label ID="Label24" runat="server" Text="Mobile No 1*" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-4">
                                    <em>
                                        <asp:RequiredFieldValidator Display="Dynamic" runat="server" ControlToValidate="txtMobileNo1" ID="txtRMobileNo1"
                                            CssClass="text-alert" ErrorMessage="Mobile No 1 field is required." />
                                        <asp:RegularExpressionValidator Display="Dynamic" ControlToValidate="txtMobileNo1" ValidationExpression="^[\s\S]{10,}$"
                                            runat="server" CssClass="text-alert" ErrorMessage="Minimum 10 characters allowed."></asp:RegularExpressionValidator>
                                    </em>
                                    <asp:TextBox runat="server" ID="txtMobileNo1" placeholder="+9800000000" MaxLength="15" onkeypress="return onlyMobileNumbers(event, this);" class="form-control" />
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label25" runat="server" Text="Mobile User Name 2" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-4">
                                    <asp:TextBox runat="server" ID="txtMobileUserName2" MaxLength="50" class="form-control" />
                                </div>
                                <div class="col-sm-2">
                                    <asp:Label ID="Label26" runat="server" Text="Mobile No 2" class="control-label"></asp:Label>
                                </div>
                                <div class="col-sm-4">
                                    <em>
                                        <asp:RegularExpressionValidator Display="Dynamic" ControlToValidate="txtmobileno2" ValidationExpression="^[\s\S]{10,}$"
                                            runat="server" CssClass="text-alert" ErrorMessage="Minimum 10 characters allowed."></asp:RegularExpressionValidator>
                                    </em>
                                    <asp:TextBox runat="server" ID="txtmobileno2" MaxLength="15" onkeypress="return onlyMobileNumbers(event, this);" class="form-control" />
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label27" runat="server" Text="Mobile User Name 3" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-4">
                                    <asp:TextBox runat="server" ID="txtMobileUserName3" MaxLength="50" class="form-control" />
                                </div>
                                <div class="col-sm-2">
                                    <asp:Label ID="Label21" runat="server" Text="Mobile No 3" class="control-label"></asp:Label>
                                </div>
                                <div class="col-sm-4">
                                    <em>
                                        <asp:RegularExpressionValidator Display="Dynamic" ControlToValidate="txtmobileno3" ValidationExpression="^[\s\S]{10,}$"
                                            runat="server" CssClass="text-alert" ErrorMessage="Minimum 10 characters allowed."></asp:RegularExpressionValidator>
                                    </em>
                                    <asp:TextBox runat="server" ID="txtmobileno3" onkeypress="return onlyMobileNumbers(event, this);" MaxLength="15" class="form-control" />
                                </div>

                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label28" runat="server" Text="Mobile User Name 4" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-4">
                                    <asp:TextBox runat="server" ID="txtMobileUserName4" MaxLength="50" class="form-control" />
                                </div>
                                <div class="col-sm-2">
                                    <asp:Label ID="Label22" runat="server" Text="Mobile No 4" class="control-label"></asp:Label>
                                </div>
                                <div class="col-sm-4">
                                    <em>
                                        <asp:RegularExpressionValidator Display="Dynamic" ControlToValidate="txtmobileno4" ValidationExpression="^[\s\S]{10,}$"
                                            runat="server" CssClass="text-alert" ErrorMessage="Minimum 10 characters allowed."></asp:RegularExpressionValidator>
                                    </em>
                                    <asp:TextBox runat="server" ID="txtmobileno4" onkeypress="return onlyMobileNumbers(event, this);" MaxLength="15" class="form-control" />
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label29" runat="server" Text="Mobile User Name 5" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-4">
                                    <asp:TextBox runat="server" ID="txtMobileUserName5" MaxLength="50" class="form-control" />
                                </div>
                                <div class="col-sm-2">
                                    <asp:Label ID="Label31" runat="server" Text="Mobile No 5" class="control-label"></asp:Label>
                                </div>
                                <div class="col-sm-4">
                                    <em>
                                        <asp:RegularExpressionValidator Display="Dynamic" ControlToValidate="txtmobileno5" ValidationExpression="^[\s\S]{10,}$"
                                            runat="server" CssClass="text-alert" ErrorMessage="Minimum 10 characters allowed."></asp:RegularExpressionValidator>
                                    </em>
                                    <asp:TextBox runat="server" ID="txtmobileno5" onkeypress="return onlyMobileNumbers(event, this);" MaxLength="15" class="form-control" />
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                </div>
                </asp:Panel>
                                
                <div class="box-body" id="divSearchContent" runat="server" visible="false">
                    <ucSearch:ucSearchControl ID="ucSearch" runat="server" strSearchProcedurename="BranchMaster_Search"
                        strDelePrecedure="BranchMaster_Delete" strDeletekeys="0" strDeleteColName="@RecordKeyId" blnOutParameter="true" strColWidth="0,95,0" />
                </div>

            </div>

        </div>
    </div>


</asp:Content>
