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

<%@ Register Src="~/UserControls/ucSearchControl.ascx" TagName="ucSearchControl" TagPrefix="ucSearch" %>
<%@ Register TagPrefix="atv" Namespace="AdamTibi.Web.UI.Validators"
    Assembly="AdamTibi.Web.UI.Validators" %>

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

    <div class='divtable'>
        <asp:HiddenField ID="hdnRecordKeyId" runat="server" />
        <asp:HiddenField ID="hdnBackupTime" runat="server" Value="" />
        <asp:HiddenField ID="hdnSMTPPassword" runat="server" Value="" />
        <asp:HiddenField ID="hdnEmailSystem" runat="server" Value="" />
        <asp:HiddenField ID="hdnSMSSystem" runat="server" Value="" />
        <asp:HiddenField ID="hdnTestEmailTime" runat="server" Value="" />
        <asp:HiddenField ID="hdnTestSMSTime" runat="server" Value="" />
        <asp:HiddenField ID="hdnMainEmailSystem" runat="server" Value="" />
        <asp:HiddenField ID="hdnMainSMSSystem" runat="server" Value="" />
        <div class='form-box'>
            <div class="box box-success">
                <div class="box-header with-border">
                    <div class='row'>
                        <div class='col-md-10'>
                            <asp:Label ID="lblTitle" runat="server" class="box-title"></asp:Label>
                        </div>
                        <div class='col-md-1'>
                            <asp:Button ID="btnSave" runat="server" Text="Update" OnClick="SaveData" CssClass="myButton" ToolTip="Update" />
                        </div>
                    </div>
                </div>
                <!-- /.box-header -->
                <!-- form start -->

                <div class="form-horizontal">
                    <asp:Panel runat="server" DefaultButton="btnSave">
                        <div class="box-body" id="divFormContent" runat="server">
                            <div class="form-group">
                                <asp:Label ID="Label28" runat="server" Text="Import File Path*" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-7">
                                    <asp:TextBox runat="server" ID="txtImportFilePath" MaxLength="500" class="form-control" />
                                </div>
                                <div class="col-sm-3">
                                    <asp:RequiredFieldValidator runat="server" ControlToValidate="txtImportFilePath"
                                        CssClass="text-alert" ErrorMessage="Import file path field is required." />
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label1" runat="server" Text="Backup Local Path*" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-7">
                                    <asp:TextBox runat="server" ID="txtBackupLocalPath" MaxLength="500" class="form-control" />
                                </div>
                                <div class="col-sm-3">
                                    <asp:RequiredFieldValidator runat="server" ControlToValidate="txtBackupLocalPath"
                                        CssClass="text-alert" ErrorMessage="Backup local path field is required." />
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label2" runat="server" Text="Backup Remote Path" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-7">
                                    <asp:TextBox runat="server" ID="txtBackupRemotePath" MaxLength="500" class="form-control" />
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label3" runat="server" Text="Backup Time*" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-2">
                                    <asp:DropDownList ID="cmbBackupHours" runat="server" class="form-control">
                                        <asp:ListItem Text="Hours" Value="-1" Selected="True" />
                                        <asp:ListItem Text="00" Value="0" />
                                        <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="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="Label18" runat="server" Text=":" Font-Bold="true" CssClass="control-label"></asp:Label>
                                </div>
                                <div class="col-sm-2">
                                    <asp:DropDownList ID="cmbBackupMins" runat="server" class="form-control">
                                        <asp:ListItem Text="Mins" Value="-1" Selected="True" />
                                        <asp:ListItem Text="00" Value="0" />
                                        <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="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:ListItem Text="24" Value="24" />
                                        <asp:ListItem Text="25" Value="25" />
                                        <asp:ListItem Text="26" Value="26" />
                                        <asp:ListItem Text="27" Value="27" />
                                        <asp:ListItem Text="28" Value="28" />
                                        <asp:ListItem Text="29" Value="29" />
                                        <asp:ListItem Text="30" Value="30" />
                                        <asp:ListItem Text="31" Value="31" />
                                        <asp:ListItem Text="32" Value="32" />
                                        <asp:ListItem Text="33" Value="33" />
                                        <asp:ListItem Text="34" Value="34" />
                                        <asp:ListItem Text="35" Value="35" />
                                        <asp:ListItem Text="36" Value="36" />
                                        <asp:ListItem Text="37" Value="37" />
                                        <asp:ListItem Text="38" Value="38" />
                                        <asp:ListItem Text="39" Value="39" />
                                        <asp:ListItem Text="40" Value="40" />
                                        <asp:ListItem Text="41" Value="41" />
                                        <asp:ListItem Text="42" Value="42" />
                                        <asp:ListItem Text="43" Value="43" />
                                        <asp:ListItem Text="44" Value="44" />
                                        <asp:ListItem Text="45" Value="45" />
                                        <asp:ListItem Text="46" Value="46" />
                                        <asp:ListItem Text="47" Value="47" />
                                        <asp:ListItem Text="48" Value="48" />
                                        <asp:ListItem Text="49" Value="49" />
                                        <asp:ListItem Text="50" Value="50" />
                                        <asp:ListItem Text="51" Value="51" />
                                        <asp:ListItem Text="52" Value="52" />
                                        <asp:ListItem Text="53" Value="53" />
                                        <asp:ListItem Text="54" Value="54" />
                                        <asp:ListItem Text="55" Value="55" />
                                        <asp:ListItem Text="56" Value="56" />
                                        <asp:ListItem Text="57" Value="57" />
                                        <asp:ListItem Text="58" Value="58" />
                                        <asp:ListItem Text="59" Value="59" />
                                    </asp:DropDownList>
                                </div>
                                <div class="col-sm-5">
                                    <asp:RequiredFieldValidator runat="server" ControlToValidate="cmbBackupHours" ID="cmbRBackupHours" InitialValue="-1"
                                        CssClass="text-alert" ErrorMessage="Please select Backup Hours." />
                                    <asp:RequiredFieldValidator runat="server" ControlToValidate="cmbBackupMins" ID="cmbRBackupMins" InitialValue="-1"
                                        CssClass="text-alert" ErrorMessage="Please select Backup Mins." />
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label4" runat="server" Text="Report Date/Time Stamp*" class="col-sm-2"></asp:Label>
                                <div class="col-sm-2">
                                    <asp:DropDownList ID="cmbReportDisplayDateTime" runat="server" CssClass="form-control">
                                        <asp:ListItem Text="Yes" Value="Y" Selected="True" />
                                        <asp:ListItem Text="No" Value="N" />
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label5" runat="server" Text="Password Change*" class="col-sm-2 control-label"></asp:Label>
                                <div class="col-sm-1">
                                    <asp:TextBox runat="server" ID="txtPasswordFrequency" Text="1" MaxLength="3" onkeypress="return onlyNumbers(event, this);" CssClass="form-control" />
                                </div>
                                <div class="col-sm-4">
                                    <asp:Label ID="Label32" runat="server" Text="Frequency in Days ( Min 1 to Max 365 )" class="control-label"></asp:Label>
                                </div>
                                <div class="col-sm-5">
                                    <asp:RequiredFieldValidator runat="server" ControlToValidate="txtPasswordFrequency" ID="txtRPasswordFrequency"
                                        CssClass="text-alert" ErrorMessage="Password Change field is required." />
                                    <asp:RangeValidator ID="txtRangePasswordFrequency" ErrorMessage="Enter value between 1 to 365" CssClass="text-alert" Type="Integer" MinimumValue="1" MaximumValue="365" ControlToValidate="txtPasswordFrequency" runat="server" />
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label6" runat="server" Text="System Auto Logout Time*" class="col-sm-2"></asp:Label>
                                <div class="col-sm-2">
                                    <asp:DropDownList ID="cmbAutoLogOutTime" runat="server" CssClass="form-control">
                                        <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="10" Value="10" Selected="True" />
                                        <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:ListItem Text="60" Value="60" />
                                    </asp:DropDownList>
                                </div>
                                <div class="col-sm-2">
                                    <asp:Label ID="Label21" runat="server" Text="Minutes" class="control-label"></asp:Label>
                                </div>
                            </div>
                            <div class="form-group">
                                <asp:Label ID="Label33" runat="server" Text="User Access Lock Count*" class="col-sm-2"></asp:Label>
                                <div class="col-sm-2">
                                    <asp:DropDownList ID="cmbUserLockCount" runat="server" CssClass="form-control">
                                        <asp:ListItem Text="03" Value="3" />
                                        <asp:ListItem Text="04" Value="4" />
                                        <asp:ListItem Text="05" Value="5" Selected="True" />
                                        <asp:ListItem Text="06" Value="6" />
                                        <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:DropDownList>
                                </div>
                                <div class="col-sm-2">
                                    <asp:Label ID="Label22" runat="server" Text="No. of Attemps" class="control-label"></asp:Label>
                                </div>
                            </div>
                            <div class="break"></div>
                            <div class="form-group">
                                <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="SMTP Authentication*" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-2">
                                        <asp:DropDownList ID="cmbSMTPAuthentication" runat="server" CssClass="form-control">
                                            <asp:ListItem Text="Yes" Value="0" Selected="True" />
                                            <asp:ListItem Text="No" Value="1" />
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <asp:Label ID="Label10" runat="server" Text="SMTP Email*" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-4">
                                        <em>
                                            <asp:RegularExpressionValidator ErrorMessage="Invalid Email ID" Display="Dynamic" ControlToValidate="txtSMTPEmail" CssClass="text-alert"
                                                ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*" runat="server" />
                                        </em>
                                        <asp:TextBox runat="server" ID="txtSMTPEmail" MaxLength="100" class="form-control" />
                                    </div>
                                    <div class="col-sm-3">
                                        <asp:RequiredFieldValidator Display="Dynamic" CssClass="text-alert" ID="txtRSMTPEmail"
                                            runat="server" ControlToValidate="txtSMTPEmail"
                                            ErrorMessage="SMTP Email is required field"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <asp:Label ID="Label9" runat="server" Text="SMTP Address*" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-4">
                                        <asp:TextBox runat="server" ID="txtSMTPAddress" MaxLength="100" class="form-control" />
                                    </div>
                                    <div class="col-sm-3">
                                        <asp:RequiredFieldValidator Display="Dynamic" CssClass="text-alert" ID="txtRSMTPAddress"
                                            runat="server" ControlToValidate="txtSMTPAddress"
                                            ErrorMessage="SMTP Address is required field"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <asp:Label ID="Label11" runat="server" Text="SMTP User Name" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-4">
                                        <asp:TextBox runat="server" ID="txtSMTPUserName" MaxLength="100" class="form-control" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <asp:Label ID="Label15" runat="server" Text="SMTP Password" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-4">
                                        <asp:TextBox runat="server" ID="txtSMTPPassword" MaxLength="20" TextMode="Password" class="form-control" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <asp:Label ID="Label16" runat="server" Text="SMTP Port*" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-1">
                                        <asp:TextBox runat="server" ID="txtEmailSMTPPort" Text="25" onkeypress="return onlyNumbers(event, this);" MaxLength="5" class="form-control" />
                                    </div>
                                    <div class="col-sm-3">
                                        <asp:RequiredFieldValidator Display="Dynamic" CssClass="text-alert" ID="txtREmailSMTPPort"
                                            runat="server" ControlToValidate="txtEmailSMTPPort"
                                            ErrorMessage="SMTP Port is required field"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <asp:Label ID="Label34" runat="server" Text="Secure Sockets Layer (SSL)" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-2">
                                        <asp:DropDownList ID="cmbEmailSMTPSSL" runat="server" CssClass="form-control">
                                            <asp:ListItem Text="Yes" Value="0" Selected="True" />
                                            <asp:ListItem Text="No" Value="1" />
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <asp:Label ID="Label35" runat="server" Text="Email Signature*" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-5">
                                        <asp:TextBox runat="server" ID="txtEmailSignature" TextMode="MultiLine" Height="100px" class="form-control" />
                                    </div>
                                    <div class="col-sm-3">
                                        <asp:RequiredFieldValidator Display="Dynamic" CssClass="text-alert" ID="txtREmailSignature"
                                            runat="server" ControlToValidate="txtEmailSignature"
                                            ErrorMessage="Email Signature is required field"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <asp:Label ID="Label36" runat="server" Text="Test Email Id" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-4">
                                        <em>
                                            <asp:RegularExpressionValidator ErrorMessage="Invalid Email ID" Display="Dynamic" ControlToValidate="txtTestEmail" CssClass="text-alert" ValidationGroup="TestEmail"
                                                ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*" runat="server" />
                                            <asp:RequiredFieldValidator ErrorMessage="Enter Email ID" ValidationGroup="TestEmail" ControlToValidate="txtTestEmail" CssClass="text-alert" Display="Dynamic" runat="server" />
                                        </em>
                                        <asp:TextBox runat="server" ID="txtTestEmail" placeholder="abc@domainname.com,xyz@domainname.com" MaxLength="100" class="form-control" />
                                    </div>
                                    <div class='col-md-1'>
                                        <asp:Button ID="btnTestEmail" runat="server" Text="Email Test" ValidationGroup="TestEmail" OnClick="btnTestEmail_Click" CssClass="myButton" ToolTip="Email Test" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <asp:Label ID="Label12" runat="server" Text="Test Email Time" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-2">
                                        <asp:DropDownList ID="cmbTestEmailHours" 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="Label24" runat="server" Text=":" Font-Bold="true" CssClass="control-label"></asp:Label>
                                    </div>
                                    <div class="col-sm-2">
                                        <asp:DropDownList ID="cmbTestEmailMins" 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>
                            </asp:Panel>

                            <div class="break"></div>

                            <div class="form-group">
                                <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>

                            <asp:Panel ID="pnlSMS" runat="server">
                                <div class="form-group">
                                    <asp:Label ID="Label19" runat="server" Text="Communication Port*" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-1">
                                        <asp:TextBox runat="server" ID="txtCommunicationPort" MaxLength="2" onkeypress="return onlyNumbers(event, this);" CssClass="form-control" />
                                    </div>
                                    <div class="col-sm-3">
                                        <asp:Label ID="Label20" runat="server" Text=" ( Min 1 to Max 99 )" CssClass="control-label"></asp:Label>
                                    </div>
                                    <div class="col-sm-5">
                                        <asp:RequiredFieldValidator ID="txtRCommunicationPort" runat="server" ControlToValidate="txtCommunicationPort"
                                            CssClass="text-alert" ErrorMessage="Communication Port field is required." />
                                        <asp:RangeValidator ID="txtRangeCommunicationPort" ErrorMessage="Enter value between 1 to 99" CssClass="text-alert" Type="Integer" MinimumValue="1" MaximumValue="99" ControlToValidate="txtCommunicationPort" runat="server" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <asp:Label ID="Label23" runat="server" Text="Parity*" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-4">
                                        <asp:DropDownList ID="cmbParity" runat="server" CssClass="form-control">
                                            <asp:ListItem Text="Even" Value="Even" />
                                            <asp:ListItem Text="Odd" Value="Odd" />
                                            <asp:ListItem Text="None" Value="None" Selected="True" />
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <asp:Label ID="Label13" runat="server" Text="Baud Rate*" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-4">
                                        <asp:DropDownList ID="cmbBaudRate" runat="server" CssClass="form-control">
                                            <asp:ListItem Text="2400" Value="2400" Selected="True" />
                                            <asp:ListItem Text="4800" Value="4800" />
                                            <asp:ListItem Text="7200" Value="7200" />
                                            <asp:ListItem Text="9600" Value="9600" />
                                            <asp:ListItem Text="14400" Value="14400" />
                                            <asp:ListItem Text="19200" Value="19200" />
                                            <asp:ListItem Text="38400" Value="38400" />
                                            <asp:ListItem Text="57600" Value="57600" />
                                            <asp:ListItem Text="115200" Value="115200" />
                                            <asp:ListItem Text="230400" Value="230400" />
                                            <asp:ListItem Text="4680000" Value="4680000" />
                                            <asp:ListItem Text="921600" Value="921600" />
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <asp:Label ID="Label14" runat="server" Text="Data Bits*" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-4">
                                        <asp:DropDownList ID="cmbDataBits" runat="server" CssClass="form-control">
                                            <asp:ListItem Text="4" Value="4" Selected="True" />
                                            <asp:ListItem Text="5" Value="5" />
                                            <asp:ListItem Text="6" Value="6" />
                                            <asp:ListItem Text="7" Value="7" />
                                            <asp:ListItem Text="8" Value="8" />
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <asp:Label ID="Label17" runat="server" Text=" Stop Bits*" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-4">
                                        <asp:DropDownList ID="cmbStopBits" runat="server" CssClass="form-control">
                                            <asp:ListItem Text="1" Value="1" Selected="True" />
                                            <asp:ListItem Text="2" Value="2" />
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <asp:Label ID="Label25" runat="server" Text=" Test Mobile Number" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-4">
                                        <em>
                                            <asp:RegularExpressionValidator Display="Dynamic" ControlToValidate="TxtTestSMS" ValidationExpression="^[\s\S]{10,}$"
                                                runat="server" CssClass="text-alert" ValidationGroup="TestSMS" ErrorMessage="Enter Minimum 10 characters."></asp:RegularExpressionValidator>
                                            <asp:RequiredFieldValidator ErrorMessage="Enter Mobile Number." ValidationGroup="TestSMS" CssClass="text-alert" Display="Dynamic" ControlToValidate="TxtTestSMS" runat="server" />
                                        </em>
                                        <asp:TextBox runat="server" ID="TxtTestSMS" MaxLength="15" placeholder="+919811111111" onkeypress="return onlyMobileNumbers(event, this);" class="form-control" />
                                    </div>
                                    <div class='col-md-1'>
                                        <asp:Button ID="btnTetsMobileNo" runat="server" Text="SMS Test" ValidationGroup="TestSMS" OnClick="btnTetsMobileNo_Click" CssClass="myButton" ToolTip="SMS Test" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <asp:Label ID="Label27" runat="server" Text="Test SMS Time" class="col-sm-2 control-label"></asp:Label>
                                    <div class="col-sm-2">
                                        <asp:DropDownList ID="cmbTestSMSHours" 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="Label26" runat="server" Text=":" Font-Bold="true" CssClass="control-label"></asp:Label>
                                    </div>
                                    <div class="col-sm-2">
                                        <asp:DropDownList ID="cmbTestSMSMins" 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>
                            </asp:Panel>
                        </div>
                    </asp:Panel>
                </div>
                <div class="box-body" id="divSearchContent" runat="server" visible="false">
                    <ucSearch:ucSearchControl ID="ucSearch" runat="server" />
                </div>
            </div>

        </div>
    </div>


</asp:Content>
