<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterFile/TimeCheck.master"
    CodeFile="TA_UI_Master_TerminalDatatypeModify.aspx.cs" Inherits="Masters_TA_UI_Master_TerminalDatatypeModify" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ContentPlaceHolderID="BodyContentPH" ID="conTerminalDatatypeModify"
    runat="server">
    <!--[if gt IE 5.5]>
	<link rel="stylesheet" type="text/css" href="../css/ProgressforIE.css" />
<![endif]-->

    <script type="text/javascript" language="javascript">
        var SelectBrandType = "Select Brand Type";
        var FillRawDataFormat = "Fill Raw Data Format";
        var SelectFileType = "Select File Type";
        var FillDelimiterSourcePath = "Fill Delimiter Source Path";
        var FillDelimiterBackupPath = "Fill Delimiter Backup Path";
        var CheckBackupTypeRadioButton = "Check Backup Type Radio Button";
        var FillNumberOfFieldsPath = "Fill Number Of Fields Path";
        var FillDelimiter = "Fill Delimiter";
        var SelectReaderNumber = "Select Reader Number";
        var SelectCardNumber = "Select Card Number";
        var CheckRadioButton = "Check Radio Button";
        var SelectDate = "Select Date";
        var EnterDateFormat = "Enter Date Format";
        var SelectTime = "Select Time";
        var EnterTimeFormat = "Enter Time Format";
        var SelectDateTime = "Select Date Time";
        var EnterDateTimeFormat = "Enter DateTime Format";
        var SelectPunchType = "Select Punch Type";
        var SelectTransactionIdentifier = "Select Transaction Identifier";
        var EnterTransactionIndentifierValue = "Enter Transaction Indentifier Value";
        var SelectdifferentFieldNamesintheDropdownLists = "Select different Field Names in the Dropdown Lists";
        var FillSourcePath = "Fill Source Path";
        var FillBackupPath = "Fill Backup Path";
        var FillReaderNumberFrom = "Fill Reader Number From";
        var FillReaderNumberTo = "Fill Reader Number To";
        var FillCardNumberFrom = "Fill Card Number From";
        var FillCardNumberTo = "Fill Card Number To";
        var FillDateFrom = "Fill Date From";
        var FillDateTo = "Fill Date To";
        var FillTimeFrom = "Fill Time From";
        var FillTimeTo = "Fill Time To";
        var FillDateTimeFrom = "Fill Date Time From";
        var FillDateTimeTo = "Fill Date Time To";
        var FillPunchTypeFrom = "Fill Punch Type From";
        var FillPunchTypeTo = "Fill Punch Type To";
        var EnterTransactionIdentifierFrom = "Enter Transaction Identifier From";
        var EnterTransactionIdentifierTo = "Enter Transaction Identifier To";
        var FillConnectionString = "Fill Connection String";
        var FillDBDatabaseName = "Fill Database Name";
        var FillDBServerName = "Fill Server Name";
        var FillMDBDataSource = "Fill Data Source";
        var FillTableName = "Fill Table Name";
        var FillReaderNumberFieldName = "Fill Reader Number Field Name";
        var FillCardNumberFieldName = "Fill Card Number Field Name";
        var FillDateTimeFieldName = "Fill Date Time Field Name";
        var FillDateFieldName = "Fill Date Field Name";
        var FillTimeFieldName = "Fill Time Field Name";
        var FillPunchTypeFieldName = "Fill Punch Type Field Name";
        var EnterTransactionIdentifier = "Enter Transaction Identifier";
        var EnterFlagFieldName = "Enter Flag Field Name";
        var MaxLength = "Maximum length is ";
        var Confirm = 'Are you sure to save';
        function MaxLengthh(maxLength) {
            MaxLength = maxLength;
        }
        function showPassword() {
            var x;
            x = document.getElementById("ctl00_BodyContentPH_txtDBPassword");
            if (x.type === "password") {
                x.type = "text";
            } else {
                x.type = "password";
            }
        }
        function SetAlertMessages
        (
            selectBrandType,
            fillRawDataFormat,
            selectFileType,
            fillDelimiterSourcePath,
            fillDelimiterBackupPath,
            checkBackupTypeRadioButton,
            fillNumberOfFieldsPath,
            fillDelimiter,
            selectReaderNumber,
            selectCardNumber,
            checkRadioButton,
            selectDate,
            enterDateFormat,
            selectTime,
            enterTimeFormat,
            selectDateTime,
            enterDateTimeFormat,
            selectPunchType,
            selectTransactionIdentifier,
            enterTransactionIndentifierValue,
            selectdifferentFieldNamesintheDropdownLists,
            fillSourcePath,
            fillBackupPath,
            fillReaderNumberFrom,
            fillReaderNumberTo,
            fillCardNumberFrom,
            fillCardNumberTo,
            fillDateFrom,
            fillDateTo,
            fillTimeFrom,
            fillTimeTo,
            fillDateTimeFrom,
            fillDateTimeTo,
            fillPunchTypeFrom,
            fillPunchTypeTo,
            enterTransactionIdentifierFrom,
            enterTransactionIdentifierTo,
            fillConnectionString,
             fillDBDatabaseName,
            fillDBServerName,
            fillMDBDataSource,
            fillTableName,
            fillReaderNumberFieldName,
            fillCardNumberFieldName,
            fillDateTimeFieldName,
            fillDateFieldName,
            fillTimeFieldName,
            fillPunchTypeFieldName,
            enterTransactionIdentifier,
            enterFlagFieldName, confirm
        ) {
            SelectBrandType = selectBrandType;
            FillRawDataFormat = fillRawDataFormat;
            SelectFileType = selectFileType;
            FillDelimiterSourcePath = fillDelimiterSourcePath;
            FillDelimiterBackupPath = fillDelimiterBackupPath;
            CheckBackupTypeRadioButton = checkBackupTypeRadioButton;
            FillNumberOfFieldsPath = fillNumberOfFieldsPath;
            FillDelimiter = fillDelimiter;
            SelectReaderNumber = selectReaderNumber;
            SelectCardNumber = selectCardNumber;
            CheckRadioButton = checkRadioButton;
            SelectDate = selectDate;
            EnterDateFormat = enterDateFormat;
            SelectTime = selectTime;
            EnterTimeFormat = enterTimeFormat;
            SelectDateTime = selectDateTime;
            EnterDateTimeFormat = enterDateTimeFormat;
            SelectPunchType = selectPunchType;
            SelectTransactionIdentifier = selectTransactionIdentifier;
            EnterTransactionIndentifierValue = enterTransactionIndentifierValue;
            SelectdifferentFieldNamesintheDropdownLists = selectdifferentFieldNamesintheDropdownLists;
            FillSourcePath = fillSourcePath;
            FillBackupPath = fillBackupPath;
            FillReaderNumberFrom = fillReaderNumberFrom;
            FillReaderNumberTo = fillReaderNumberTo;
            FillCardNumberFrom = fillCardNumberFrom;
            FillCardNumberTo = fillCardNumberTo;
            FillDateFrom = fillDateFrom;
            FillDateTo = fillDateTo;
            FillTimeFrom = fillTimeFrom;
            FillTimeTo = fillTimeTo;
            FillDateTimeFrom = fillDateTimeFrom;
            FillDateTimeTo = fillDateTimeTo;
            FillPunchTypeFrom = fillPunchTypeFrom;
            FillPunchTypeTo = fillPunchTypeTo;
            EnterTransactionIdentifierFrom = enterTransactionIdentifierFrom;
            EnterTransactionIdentifierTo = enterTransactionIdentifierTo;
            FillConnectionString = fillConnectionString;
            FillDBDatabaseName = fillDBDatabaseName;
            FillDBServerName = fillDBServerName;
            FillMDBDataSource = fillMDBDataSource;
            FillTableName = fillTableName;
            FillReaderNumberFieldName = fillReaderNumberFieldName;
            FillCardNumberFieldName = fillCardNumberFieldName;
            FillDateTimeFieldName = fillDateTimeFieldName;
            FillDateFieldName = fillDateFieldName;
            FillTimeFieldName = fillTimeFieldName;
            FillPunchTypeFieldName = fillPunchTypeFieldName;
            EnterTransactionIdentifier = enterTransactionIdentifier;
            EnterFlagFieldName = enterFlagFieldName; Confirm = confirm;
        }
        function ValidateFields() {
            var FileType = document.getElementById("ctl00_BodyContentPH_lblFileType").innerHTML;
            if (FileType == "Delimiter") {
                if (document.aspnetForm.ctl00_BodyContentPH_txtDelimiterSourePath.value == "") {
                    alert(FillDelimiterSourcePath);
                    document.aspnetForm.ctl00_BodyContentPH_txtDelimiterSourePath.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtDelimiterBackupPath.value == "") {
                    alert(FillDelimiterBackupPath);
                    document.aspnetForm.ctl00_BodyContentPH_txtDelimiterBackupPath.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_rbt_DelMove.checked == false && document.aspnetForm.ctl00_BodyContentPH_rbt_DelRename.checked == false) {
                    alert(CheckBackupTypeRadioButton);
                    document.aspnetForm.ctl00_BodyContentPH_rbt_DelMove.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtNumberOfFields.value == "") {
                    alert(FillNumberOfFieldsPath);
                    document.aspnetForm.ctl00_BodyContentPH_txtNumberOfFields.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtDelimiter.value == "") {
                    alert(FillDelimiter);
                    document.aspnetForm.ctl00_BodyContentPH_txtDelimiter.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_ddlReaderNo.value == "-Select-") {
                    alert(SelectReaderNumber);
                    document.aspnetForm.ctl00_BodyContentPH_ddlReaderNo.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_ddlCardNo.value == "-Select-") {
                    alert(SelectCardNumber);
                    document.aspnetForm.ctl00_BodyContentPH_ddlCardNo.focus();
                    return false;
                }
                if ((document.aspnetForm.ctl00_BodyContentPH_rbtDelDateTimeSeperate.checked == false) && (document.aspnetForm.ctl00_BodyContentPH_rbtDelDateTime.checked == false)) {
                    alert(CheckRadioButton);
                    document.aspnetForm.ctl00_BodyContentPH_rbtDelDateTimeSeperate.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_rbtDelDateTimeSeperate.checked == true) {
                    if (document.aspnetForm.ctl00_BodyContentPH_ddlDate.value == "-Select-") {
                        alert(SelectDate);
                        document.aspnetForm.ctl00_BodyContentPH_ddlDate.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txt_DelDateFormat.value == "") {
                        alert(EnterDateFormat);
                        document.aspnetForm.ctl00_BodyContentPH_txt_DelDateFormat.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_ddlTime.value == "-Select-") {
                        alert(SelectTime);
                        document.aspnetForm.ctl00_BodyContentPH_ddlTime.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txt_DelTimeFormat.value == "") {
                        alert(EnterTimeFormat);
                        document.aspnetForm.ctl00_BodyContentPH_txt_DelTimeFormat.focus();
                        return false;
                    }
                }
                if (document.aspnetForm.ctl00_BodyContentPH_rbtDelDateTime.checked == true) {
                    if (document.aspnetForm.ctl00_BodyContentPH_ddlDateTime.value == "-Select-") {
                        alert(SelectDateTime);
                        document.aspnetForm.ctl00_BodyContentPH_ddlDateTime.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txt_DelDateTimeFormat.value == "") {
                        alert(EnterDateTimeFormat);
                        document.aspnetForm.ctl00_BodyContentPH_txt_DelDateTimeFormat.focus();
                        return false;
                    }
                }
                if (document.aspnetForm.ctl00_BodyContentPH_ddlType.value == "-Select-") {
                    alert(SelectPunchType);
                    document.aspnetForm.ctl00_BodyContentPH_ddlType.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_chk_DelTransIdentifier.checked == true) {
                    if (document.aspnetForm.ctl00_BodyContentPH_ddlTransactionIdentifier.value == "-Select-") {
                        alert(SelectTransactionIdentifier);
                        document.aspnetForm.ctl00_BodyContentPH_ddlTransactionIdentifier.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txtDel_TIValue.value == "") {
                        alert(EnterTransactionIndentifierValue);
                        document.aspnetForm.ctl00_BodyContentPH_txtDel_TIValue.focus();
                        return false;
                    }
                }
                var item1 = document.aspnetForm.ctl00_BodyContentPH_ddlReaderNo.value;
                var item2 = document.aspnetForm.ctl00_BodyContentPH_ddlCardNo.value;
                var item3 = document.aspnetForm.ctl00_BodyContentPH_ddlDate.value;
                var item4 = document.aspnetForm.ctl00_BodyContentPH_ddlTime.value;
                var item5 = document.aspnetForm.ctl00_BodyContentPH_ddlType.value;
                var item6 = document.aspnetForm.ctl00_BodyContentPH_ddlDateTime.value;
                var item7 = document.aspnetForm.ctl00_BodyContentPH_ddlTransactionIdentifier.value
                if (document.aspnetForm.ctl00_BodyContentPH_rbtDelDateTimeSeperate.checked == true) {
                    if (item1 == item2 || item1 == item3 || item1 == item4 || item1 == item5 || item1 == item7 || item2 == item3 || item2 == item4 || item2 == item5 || item2 == item7 || item3 == item4 || item3 == item5 || item3 == item7 || item4 == item5 || item4 == item7 || item5 == item7) {
                        alert(SelectdifferentFieldNamesintheDropdownLists);
                        return false;
                    }
                }
                else if (document.aspnetForm.ctl00_BodyContentPH_rbtDelDateTime.checked == true) {
                    if (item1 == item2 || item1 == item5 || item1 == item6 || item1 == item7 || item2 == item5 || item2 == item6 || item2 == item7 || item5 == item6 || item5 == item7 || item6 == item7) {
                        alert(SelectdifferentFieldNamesintheDropdownLists);
                        return false;
                    }
                }
            }
            else if (FileType == "Fixed Length") {
                if (document.aspnetForm.ctl00_BodyContentPH_txtFLSourcePath.value == "") {
                    alert(FillSourcePath);
                    document.aspnetForm.ctl00_BodyContentPH_txtFLSourcePath.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtFLBackupPath.value == "") {
                    alert(FillBackupPath);
                    document.aspnetForm.ctl00_BodyContentPH_txtFLBackupPath.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_rbt_FLMove.checked == false && document.aspnetForm.ctl00_BodyContentPH_rbt_FLRename.checked == false) {
                    alert(CheckBackupTypeRadioButton);
                    document.aspnetForm.ctl00_BodyContentPH_rbt_FLMove.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtFL_ReaderNoFrom.value == "") {
                    alert(FillReaderNumberFrom);
                    document.aspnetForm.ctl00_BodyContentPH_txtFL_ReaderNoFrom.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtFL_ReaderNoTo.value == "") {
                    alert(FillReaderNumberTo);
                    document.aspnetForm.ctl00_BodyContentPH_txtFL_ReaderNoTo.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtFL_CardNoFrom.value == "") {
                    alert(FillCardNumberFrom);
                    document.aspnetForm.ctl00_BodyContentPH_txtFL_CardNoFrom.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtFL_CardNoTo.value == "") {
                    alert(FillCardNumberTo);
                    document.aspnetForm.ctl00_BodyContentPH_txtFL_CardNoTo.focus();
                    return false;
                }
                if ((document.aspnetForm.ctl00_BodyContentPH_rbtFLDateTimeSeperate.checked == false) && (document.aspnetForm.ctl00_BodyContentPH_rbtFLDateTime.checked == false)) {
                    alert(CheckRadioButton);
                    document.aspnetForm.ctl00_BodyContentPH_rbtFLDateTimeSeperate.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_rbtFLDateTimeSeperate.checked == true) {
                    if (document.aspnetForm.ctl00_BodyContentPH_txtFL_DateFrom.value == "") {
                        alert(FillDateFrom);
                        document.aspnetForm.ctl00_BodyContentPH_txtFL_DateFrom.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txtFL_DateTo.value == "") {
                        alert(FillDateTo);
                        document.aspnetForm.ctl00_BodyContentPH_txtFL_DateTo.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txt_FLDateFormat.value == "") {
                        alert(EnterDateFormat);
                        document.aspnetForm.ctl00_BodyContentPH_txt_FLDateFormat.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txtFL_TimeFrom.value == "") {
                        alert(FillTimeFrom);
                        document.aspnetForm.ctl00_BodyContentPH_txtFL_TimeFrom.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txtFL_TimeTo.value == "") {
                        alert(FillTimeTo);
                        document.aspnetForm.ctl00_BodyContentPH_txtFL_TimeTo.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txt_FLTimeFormat.value == "") {
                        alert(EnterTimeFormat);
                        document.aspnetForm.ctl00_BodyContentPH_txt_FLTimeFormat.focus();
                        return false;
                    }
                }
                if (document.aspnetForm.ctl00_BodyContentPH_rbtFLDateTime.checked == true) {
                    if (document.aspnetForm.ctl00_BodyContentPH_txtFL_DateTimeFrom.value == "") {
                        alert(FillDateTimeFrom);
                        document.aspnetForm.ctl00_BodyContentPH_txtFL_DateTimeFrom.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txtFL_DateTimeTo.value == "") {
                        alert(FillDateTimeTo);
                        document.aspnetForm.ctl00_BodyContentPH_txtFL_DateTimeTo.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txt_FLDateTimeFormat.value == "") {
                        alert(EnterDateTimeFormat);
                        document.aspnetForm.ctl00_BodyContentPH_txt_FLDateTimeFormat.focus();
                        return false;
                    }
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtFL_TypeFrom.value == "") {
                    alert(FillPunchTypeFrom);
                    document.aspnetForm.ctl00_BodyContentPH_txtFL_TypeFrom.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtFL_TypeTo.value == "") {
                    alert(FillPunchTypeTo);
                    document.aspnetForm.ctl00_BodyContentPH_txtFL_TypeTo.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_chk_FLTransIdentifier.checked == true) {
                    if (document.aspnetForm.ctl00_BodyContentPH_txtFL_TransIdentifierFrom.value == "") {
                        alert(EnterTransactionIdentifierFrom);
                        document.aspnetForm.ctl00_BodyContentPH_txtFL_TransIdentifierFrom.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txtFL_TransIdentifierTo.value == "") {
                        alert(EnterTransactionIdentifierTo);
                        document.aspnetForm.ctl00_BodyContentPH_txtFL_TransIdentifierTo.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txtFL_TIValue.value == "") {
                        alert(EnterTransactionIndentifierValue);
                        document.aspnetForm.ctl00_BodyContentPH_txtFL_TIValue.focus();
                        return false;
                    }
                }
            }
            else if ((FileType == "RDBMS") || (FileType == "MDB") || FileType == "MariaDB" || FileType == "PostgreSQL")
            {
                // This Line Add the Check Connection Sting Empty or No Karthikeyan.R
                if (document.aspnetForm.ctl00_BodyContentPH_ddlFileType.value == "RDBMS" || document.aspnetForm.ctl00_BodyContentPH_ddlFileType.value == "MariaDB") {
                    if (document.aspnetForm.ctl00_BodyContentPH_txtServerName.value == "") {
                        alert(FillDBServerName);
                        document.aspnetForm.ctl00_BodyContentPH_txtServerName.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txtDBName.value == "") {
                        alert(FillDBDatabaseName);
                        document.aspnetForm.ctl00_BodyContentPH_txtDBName.focus();
                        return false;
                    }
                }
                else if (document.aspnetForm.ctl00_BodyContentPH_ddlFileType.value == "MDB") {
                    if (document.aspnetForm.ctl00_BodyContentPH_txtMDBDataSource.value == "") {
                        alert(FillMDBDataSource);
                        document.aspnetForm.ctl00_BodyContentPH_txtMDBDataSource.focus();
                        return false;
                    }
                }
                //End
                if (document.aspnetForm.ctl00_BodyContentPH_txtConnectionString.value == "") {
                    alert(FillConnectionString);
                    document.aspnetForm.ctl00_BodyContentPH_txtConnectionString.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtTableName.value == "") {
                    alert(FillTableName);
                    document.aspnetForm.ctl00_BodyContentPH_txtTableName.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtRDBMSReaderNo.value == "") {
                    alert(FillReaderNumberFieldName);
                    document.aspnetForm.ctl00_BodyContentPH_txtRDBMSReaderNo.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtRDBMSCardNo.value == "") {
                    alert(FillCardNumberFieldName);
                    document.aspnetForm.ctl00_BodyContentPH_txtRDBMSCardNo.focus();
                    return false;
                }
                if ((document.aspnetForm.ctl00_BodyContentPH_rbtDateTime.checked == false) && (document.aspnetForm.ctl00_BodyContentPH_rbtDateTimeSeperate.checked == false)) {
                    alert(CheckRadioButton);
                    document.aspnetForm.ctl00_BodyContentPH_rbtDateTimeSeperate.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_rbtDateTime.checked == true) {
                    if (document.aspnetForm.ctl00_BodyContentPH_txtRDBMSDateTime.value == "") {
                        alert(FillDateTimeFieldName);
                        document.aspnetForm.ctl00_BodyContentPH_txtRDBMSDateTime.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txt_RDBMSDateTimeFormat.value == "") {
                        alert(EnterDateTimeFormat);
                        document.aspnetForm.ctl00_BodyContentPH_txt_RDBMSDateTimeFormat.focus();
                        return false;
                    }
                }
                if (document.aspnetForm.ctl00_BodyContentPH_rbtDateTimeSeperate.checked == true) {
                    if (document.aspnetForm.ctl00_BodyContentPH_txtRDBMSDate.value == "") {
                        alert(FillDateFieldName);
                        document.aspnetForm.ctl00_BodyContentPH_txtRDBMSDate.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txt_RDBMSDateFormat.value == "") {
                        alert(EnterDateFormat);
                        document.aspnetForm.ctl00_BodyContentPH_txt_RDBMSDateFormat.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txtRDBMSTime.value == "") {
                        alert(FillTimeFieldName);
                        document.aspnetForm.ctl00_BodyContentPH_txtRDBMSTime.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txt_RDBMSTimeFormat.value == "") {
                        alert(EnterTimeFormat);
                        document.aspnetForm.ctl00_BodyContentPH_txt_RDBMSTimeFormat.focus();
                        return false;
                    }
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txtRDBMSType.value == "") {
                    alert(FillPunchTypeFieldName);
                    document.aspnetForm.ctl00_BodyContentPH_txtRDBMSType.focus();
                    return false;
                }
                if (document.aspnetForm.ctl00_BodyContentPH_chk_TransIdentifier.checked == true) {
                    if (document.aspnetForm.ctl00_BodyContentPH_txt_RDBMSTransactionIdentifier.value == "") {
                        alert(EnterTransactionIdentifier);
                        document.aspnetForm.ctl00_BodyContentPH_txt_RDBMSTransactionIdentifier.focus();
                        return false;
                    }
                    if (document.aspnetForm.ctl00_BodyContentPH_txt_TIValue.value == "") {
                        alert(EnterTransactionIndentifierValue);
                        document.aspnetForm.ctl00_BodyContentPH_txt_TIValue.focus();
                        return false;
                    }
                }
                if (document.aspnetForm.ctl00_BodyContentPH_txt_FlagField.value == "") {
                    alert(EnterFlagFieldName);
                    document.aspnetForm.ctl00_BodyContentPH_txt_FlagField.focus();
                    return false;
                }
            }
            return confirm(Confirm);
        }
        function show() {
            var FileType = document.getElementById("ctl00_BodyContentPH_lblFileType").innerHTML;
            if (FileType == "Delimiter") {
                document.getElementById("div_delimiter").style.display = "block";
                document.getElementById("div_FixedLength").style.display = "none";
                document.getElementById("div_RDBMS").style.display = "none";
                if (document.aspnetForm.ctl00_BodyContentPH_rbtDelDateTimeSeperate.checked == true) {
                    DelimiterSeparateShow();
                }
                else if (document.aspnetForm.ctl00_BodyContentPH_rbtDelDateTime.checked == true) {
                    DelimiterCombinedShow();
                }
            }
            else if (FileType == "Fixed Length") {
                document.getElementById("div_FixedLength").style.display = "block";
                document.getElementById("div_RDBMS").style.display = "none";
                document.getElementById("div_delimiter").style.display = "none";
                if (document.aspnetForm.ctl00_BodyContentPH_rbtFLDateTimeSeperate.checked == true) {
                    FixedLengthSeparateShow();
                }
                else if (document.aspnetForm.ctl00_BodyContentPH_rbtFLDateTime.checked == true) {
                    FixedLengthCombinedShow();
                }
            }
            else if (FileType == "RDBMS" || FileType == "MariaDB" || obj1.value == "PostgreSQL") {
                document.getElementById("div_RDBMS").style.display = "block";
                document.getElementById("div_ConRDBMS").style.display = "block";
                document.getElementById("div_ConMDB").style.display = "none";
                document.getElementById("div_delimiter").style.display = "none";
                document.getElementById("div_FixedLength").style.display = "none";
                if (document.aspnetForm.ctl00_BodyContentPH_rbtDateTimeSeperate.checked == true) {
                    RDBMSDateTimeSeparateHideShow();
                }
                else if (document.aspnetForm.ctl00_BodyContentPH_rbtDateTime.checked == true) {
                    RDBMSDateTimeCombineHideShow();
                }
            }
            else if (FileType == "MDB") {
                document.getElementById("div_RDBMS").style.display = "block";
                document.getElementById("div_ConRDBMS").style.display = "none";
                document.getElementById("div_ConMDB").style.display = "block";
                document.getElementById("div_delimiter").style.display = "none";
                document.getElementById("div_FixedLength").style.display = "none";
                if (document.aspnetForm.ctl00_BodyContentPH_rbtDateTimeSeperate.checked == true) {
                    RDBMSDateTimeSeparateHideShow();
                }
                else if (document.aspnetForm.ctl00_BodyContentPH_rbtDateTime.checked == true) {
                    RDBMSDateTimeCombineHideShow();
                }
            }
            else {
                document.getElementById("div_delimiter").style.display = "none";
                document.getElementById("div_FixedLength").style.display = "none";
                document.getElementById("div_RDBMS").style.display = "none";
            }
        }
        function ShowTransIdentifier() {
            if (document.aspnetForm.ctl00_BodyContentPH_chk_DelTransIdentifier.checked == true) {
                document.aspnetForm.ctl00_BodyContentPH_ddlTransactionIdentifier.disabled = false;
                document.aspnetForm.ctl00_BodyContentPH_txtDel_TIValue.disabled = false;
                document.aspnetForm.ctl00_BodyContentPH_ddlTransactionIdentifier.style.background = "#ffffff";
                document.aspnetForm.ctl00_BodyContentPH_txtDel_TIValue.style.background = "#ffffff";
            }
            else {
                document.aspnetForm.ctl00_BodyContentPH_ddlTransactionIdentifier.disabled = true;
                document.aspnetForm.ctl00_BodyContentPH_txtDel_TIValue.disabled = true;
                document.aspnetForm.ctl00_BodyContentPH_ddlTransactionIdentifier.style.background = "#d3dbe7";
                document.aspnetForm.ctl00_BodyContentPH_txtDel_TIValue.style.background = "#d3dbe7";
            }
            if (document.aspnetForm.ctl00_BodyContentPH_chk_FLTransIdentifier.checked == true) {
                document.aspnetForm.ctl00_BodyContentPH_txtFL_TransIdentifierFrom.disabled = false;
                document.aspnetForm.ctl00_BodyContentPH_txtFL_TransIdentifierTo.disabled = false;
                document.aspnetForm.ctl00_BodyContentPH_txtFL_TIValue.disabled = false;
                document.aspnetForm.ctl00_BodyContentPH_txtFL_TransIdentifierFrom.style.background = "#ffffff";
                document.aspnetForm.ctl00_BodyContentPH_txtFL_TransIdentifierTo.style.background = "#ffffff";
                document.aspnetForm.ctl00_BodyContentPH_txtFL_TIValue.style.background = "#ffffff";
            }
            else {
                document.aspnetForm.ctl00_BodyContentPH_txtFL_TransIdentifierFrom.disabled = true;
                document.aspnetForm.ctl00_BodyContentPH_txtFL_TransIdentifierTo.disabled = true;
                document.aspnetForm.ctl00_BodyContentPH_txtFL_TIValue.disabled = true;
                document.aspnetForm.ctl00_BodyContentPH_txtFL_TransIdentifierFrom.style.background = "#d3dbe7";
                document.aspnetForm.ctl00_BodyContentPH_txtFL_TransIdentifierTo.style.background = "#d3dbe7";
                document.aspnetForm.ctl00_BodyContentPH_txtFL_TIValue.style.background = "#d3dbe7";
            }
            if (document.aspnetForm.ctl00_BodyContentPH_chk_TransIdentifier.checked == true) {
                document.aspnetForm.ctl00_BodyContentPH_txt_RDBMSTransactionIdentifier.disabled = false;
                document.aspnetForm.ctl00_BodyContentPH_txt_TIValue.disabled = false;
                document.aspnetForm.ctl00_BodyContentPH_txt_RDBMSTransactionIdentifier.style.background = "#ffffff";
                document.aspnetForm.ctl00_BodyContentPH_txt_TIValue.style.background = "#ffffff";
            }
            else {
                document.aspnetForm.ctl00_BodyContentPH_txt_RDBMSTransactionIdentifier.disabled = true;
                document.aspnetForm.ctl00_BodyContentPH_txt_TIValue.disabled = true;
                document.aspnetForm.ctl00_BodyContentPH_txt_RDBMSTransactionIdentifier.style.background = "#d3dbe7";
                document.aspnetForm.ctl00_BodyContentPH_txt_TIValue.style.background = "#d3dbe7";
            }
        }
        function RDBMSDateTimeSeparateHideShow() {
            document.getElementById("ctl00_BodyContentPH_txtRDBMSDate").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txt_RDBMSDateFormat").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txtRDBMSTime").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txt_RDBMSTimeFormat").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txtRDBMSDate").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txt_RDBMSDateFormat").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txtRDBMSTime").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txt_RDBMSTimeFormat").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txtRDBMSDateTime").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txt_RDBMSDateTimeFormat").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txtRDBMSDateTime").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txt_RDBMSDateTimeFormat").style.background = "#d3dbe7";
        }
        function RDBMSDateTimeCombineHideShow() {
            document.getElementById("ctl00_BodyContentPH_txtRDBMSDate").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txt_RDBMSDateFormat").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txtRDBMSTime").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txt_RDBMSTimeFormat").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txtRDBMSDate").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txt_RDBMSDateFormat").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txtRDBMSTime").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txt_RDBMSTimeFormat").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txtRDBMSDateTime").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txt_RDBMSDateTimeFormat").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txtRDBMSDateTime").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txt_RDBMSDateTimeFormat").style.background = "#ffffff";
        }
        function DelimiterSeparateShow() {
            document.getElementById("ctl00_BodyContentPH_ddlDate").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txt_DelDateFormat").disabled = false;
            document.getElementById("ctl00_BodyContentPH_ddlTime").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txt_DelTimeFormat").disabled = false;
            document.getElementById("ctl00_BodyContentPH_ddlDate").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txt_DelDateFormat").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_ddlTime").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txt_DelTimeFormat").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_ddlDateTime").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txt_DelDateTimeFormat").disabled = true;
            document.getElementById("ctl00_BodyContentPH_ddlDateTime").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txt_DelDateTimeFormat").style.background = "#d3dbe7";
        }
        function DelimiterCombinedShow() {
            document.getElementById("ctl00_BodyContentPH_ddlDate").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txt_DelDateFormat").disabled = true;
            document.getElementById("ctl00_BodyContentPH_ddlTime").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txt_DelTimeFormat").disabled = true;
            document.getElementById("ctl00_BodyContentPH_ddlDate").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txt_DelDateFormat").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_ddlTime").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txt_DelTimeFormat").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_ddlDateTime").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txt_DelDateTimeFormat").disabled = false;
            document.getElementById("ctl00_BodyContentPH_ddlDateTime").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txt_DelDateTimeFormat").style.background = "#ffffff";
        }
        function FixedLengthSeparateShow() {
            document.getElementById("ctl00_BodyContentPH_txtFL_DateFrom").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txtFL_DateTo").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txt_FLDateFormat").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txtFL_TimeFrom").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txtFL_TimeTo").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txt_FLTimeFormat").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txtFL_DateFrom").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txtFL_DateTo").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txt_FLDateFormat").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txtFL_TimeFrom").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txtFL_TimeTo").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txt_FLTimeFormat").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txtFL_DateTimeFrom").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txtFL_DateTimeTo").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txt_FLDateTimeFormat").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txtFL_DateTimeFrom").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txtFL_DateTimeTo").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txt_FLDateTimeFormat").style.background = "#d3dbe7";
        }
        function FixedLengthCombinedShow() {
            document.getElementById("ctl00_BodyContentPH_txtFL_DateFrom").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txtFL_DateTo").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txt_FLDateFormat").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txtFL_TimeFrom").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txtFL_TimeTo").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txt_FLTimeFormat").disabled = true;
            document.getElementById("ctl00_BodyContentPH_txtFL_DateFrom").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txtFL_DateTo").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txt_FLDateFormat").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txtFL_TimeFrom").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txtFL_TimeTo").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txt_FLTimeFormat").style.background = "#d3dbe7";
            document.getElementById("ctl00_BodyContentPH_txtFL_DateTimeFrom").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txtFL_DateTimeTo").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txt_FLDateTimeFormat").disabled = false;
            document.getElementById("ctl00_BodyContentPH_txtFL_DateTimeFrom").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txtFL_DateTimeTo").style.background = "#ffffff";
            document.getElementById("ctl00_BodyContentPH_txt_FLDateTimeFormat").style.background = "#ffffff";
        }
        function EnableFreeScanControls() {
            var isFreeScan = document.getElementById("ctl00_BodyContentPH_rb_Yes");
            if (isFreeScan.checked == true) {
                document.getElementById("ctl00_BodyContentPH_chkboxFreescan").disabled = false;
                document.getElementById("ctl00_BodyContentPH_chkboxFreescan").checked = false;
            }
            else {
                document.getElementById("ctl00_BodyContentPH_chkboxFreescan").disabled = true;
            }
        }
    </script>

    <div>
        <div class="content-header">
            <h1 style="background-image: url('../dist/img/database.png'); background-repeat: no-repeat; padding-left: 35px">
                <asp:Label ID="lbl_HeaderTerminalDatatype" runat="server"></asp:Label>
            </h1>
            <asp:SiteMapPath ID="site" runat="server" CssClass="breadcrumb">
                <NodeStyle CssClass="active" />
            </asp:SiteMapPath>
        </div>
        <div class="content">
            <div class="inr-ftr">
                <div class="row">
                    <div class="col-sm-12 ">
                        <div class="pull-right">
                            <h6>
                                <span style="color: Red">|</span><span style="padding-left: 10px; padding-right: 10px"><asp:Label
                                    ID="lbl_IndicatesMandatoryFields" runat="server"></asp:Label>
                                    (<asp:Label ID="lblmancount" runat="server" Text="3"></asp:Label>
                                    No.)</span>
                            </h6>
                        </div>
                    </div>
                    <div class="clearfix">
                    </div>
                </div>
            </div>
            <div class="emp-filter">
                <div class="form-horizontal">
                    <div class="row">
                        <div class="col-md-12">
                            <div class="row form-group">
                                <div class="col-md-2">
                                    <asp:Label ID="lbl_BrandType" runat="server"></asp:Label>
                                </div>
                                <div class="col-md-3">
                                    <asp:Label ID="lblBrandType" runat="server" Text="Label" CssClass="form-control"
                                        Enabled="false"></asp:Label>
                                </div>
                                <div class="col-md-1">
                                </div>
                                <div class="col-md-2" style="display:none">
                                    <asp:Label ID="lblTerminalType" runat="server" Text="Is Free Scan device"></asp:Label>
                                </div>
                                <div class="col-md-3 padding-left-0" style="display:none">
                                    <div class="col-md-6">
                                        <asp:RadioButton onClick="EnableFreeScanControls();" ID="rb_Yes" runat="server" Text="Yes" CssClass="radio radio-primary" GroupName="Terminal" />
                                    </div>
                                    <div class="col-md-6">
                                        <asp:RadioButton onClick="EnableFreeScanControls();" ID="rb_No" runat="server" Text="No" CssClass="radio radio-primary" GroupName="Terminal" Checked="true" />
                                    </div>
                                </div>
                            </div>
                            <div class="row form-group">
                                <div class="col-md-2">
                                    <asp:Label ID="lbl_Rawformat" runat="server"></asp:Label>
                                </div>
                                <div class="col-md-3">
                                    <asp:Label ID="lblRawDataFormat" runat="server" Text="Label" CssClass="form-control"
                                        Enabled="false"></asp:Label>
                                </div>
                                <div class="col-md-1">
                                </div>
                                <div class="col-md-2">
                                    <asp:Label ID="lbl_Filetype" runat="server"></asp:Label>
                                </div>
                                <div class="col-md-3">
                                    <asp:Label ID="lblFileType" runat="server" Text="Label" CssClass="form-control" Enabled="false"></asp:Label>
                                </div>
                            </div>

                            <div id="div_delimiter" style="display: none;">
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3>
                                            <asp:Label ID="lbl_ConStr" runat="server" Text="Connection File Path & Backup Type"></asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 20px 0 20px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_FileSourcePath1" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtDelimiterSourePath" runat="server" MaxLength="2000"
                                                        CssClass="form-control man-dat"></asp:TextBox>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_FileBackupPath1" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtDelimiterBackupPath" runat="server" MaxLength="2000"
                                                        CssClass="form-control man-dat"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <span style="color: Red">|</span>&nbsp;&nbsp;<asp:Label ID="lbl_DelBackupType" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-10 Pad-left-7px">
                                                    <div class="col-md-3">
                                                        <asp:RadioButton ID="rbt_DelMove" runat="server" GroupName="DelBackupType" Checked="True"
                                                            CssClass="radioLeave radioLeave-primary" />
                                                    </div>
                                                    <div class="col-md-6">
                                                        <asp:RadioButton ID="rbt_DelRename" runat="server" GroupName="DelBackupType" CssClass="radioLeave radioLeave-primary" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_NumberofFields" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtNumberOfFields" runat="server" AutoPostBack="True"
                                                        OnTextChanged="txtNumberOfFields_TextChanged" MaxLength="2" onkeyPress=" return number_only(event,this);"
                                                        CssClass="form-control man-dat" ondrop="return false"></asp:TextBox>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_Delimiter" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtDelimiter" runat="server" MaxLength="5"
                                                        CssClass="form-control man-dat" ondrop="return false" onkeyPress="return AcceptOnlySpecialCharacters(event,this);"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_StringEnclosedBy" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtStringEnclosedBy" runat="server" MaxLength="5"
                                                        CssClass="form-control" ondrop="return false" onkeyPress="return AcceptOnlySpecialCharacters(event,this);"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3>
                                            <asp:Label ID="lbl_OurFormat1" runat="server"></asp:Label>
                                            &
                                            <asp:Label ID="lbl_RawFileFields1" runat="server"></asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 20px 0 20px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_ReaderNo1" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:DropDownList ID="ddlReaderNo" runat="server" CssClass="form-control select2 Man-dat">
                                                    </asp:DropDownList>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_CardNo1" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:DropDownList ID="ddlCardNo" runat="server" CssClass="form-control select2 Man-dat">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_Type1" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:DropDownList ID="ddlType" runat="server" CssClass="form-control select2 Man-dat">
                                                    </asp:DropDownList>
                                                    <asp:Label ID="lbl_DateandTime1" runat="server" Visible="false"></asp:Label>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:CheckBox ID="chk_EmployeeId1" runat="server" CssClass="checkbox checkbox-primary" />
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3 style="line-height: normal;">
                                            <asp:RadioButton ID="rbtDelDateTimeSeperate" runat="server" GroupName="DelimiterDateTime"
                                                onclick="javascript:DelimiterSeparateShow();" CssClass="radioDataType radioDataType-primary" />
                                            <asp:Label ID="lblDelimiterDateTimeSeparate" runat="server" Visible="false"></asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 20px 0 20px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="row form-group" id="trDelimiterDateSeparate">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_Date1" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:DropDownList ID="ddlDate" runat="server" CssClass="form-control select2">
                                                    </asp:DropDownList>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_DelDateFormat" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txt_DelDateFormat" runat="server" CssClass="form-control"
                                                        MaxLength="30" onkeypress="return DateFormats_CharacterOnly(event,this);" onkeyup="return chkMaxLen(event,this,30,MaxLength);"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="row form-group" id="trDelimiterTimeSeparate">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_Time1" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:DropDownList ID="ddlTime" runat="server" CssClass="form-control select2">
                                                    </asp:DropDownList>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_DelTimeFormat" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txt_DelTimeFormat" runat="server" CssClass="form-control"
                                                        MaxLength="30" onkeypress="return TimeFormats_CharacterOnly(event,this);" onkeyup="return chkMaxLen(event,this,30,MaxLength);"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3 style="line-height: normal;">
                                            <asp:RadioButton ID="rbtDelDateTime" runat="server" GroupName="DelimiterDateTime"
                                                Checked="True" onclick="javascript:DelimiterCombinedShow();" CssClass="radioDataType radioDataType-primary"
                                                Font-Bold="true" />
                                            <asp:Label ID="lbl_DateandTime2" runat="server" Visible="false"></asp:Label>
                                            <asp:Label ID="lblData" runat="server" Visible="false">Date Time Combine</asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 20px 0 20px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="row form-group" id="trDelimiterDateAndTimeCombine">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lblDelimiterDateTimeCombine" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:DropDownList ID="ddlDateTime" runat="server" CssClass="form-control select2">
                                                    </asp:DropDownList>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_DelDateTimeFormat" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txt_DelDateTimeFormat" runat="server" CssClass="form-control"
                                                        MaxLength="30" onkeypress="return DateTimeFormats_CharacterOnly(event,this);"
                                                        onkeyup="return chkMaxLen(event,this,30,MaxLength);"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3>
                                            <asp:CheckBox ID="chk_DelTransIdentifier" runat="server" Style="min-height: 0px !important"
                                                CssClass="checkboxDataType checkboxDataType-primary" onClick="ShowTransIdentifier()" />
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 20px 0 5px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_TransactionIdentifier1" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:DropDownList ID="ddlTransactionIdentifier" runat="server" CssClass="form-control select2">
                                                    </asp:DropDownList>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lblDel_TIValue" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtDel_TIValue" runat="server" CssClass="form-control"
                                                        MaxLength="300" onkeypress="return character_number_nospace_pwd(event,this);"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div id="div_FixedLength" style="display: none;">
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3>
                                            <asp:Label ID="lbl_ConStr1" runat="server" Text="Connection File Path & Backup Type"></asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 20px 0 20px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_FileSourcePath2" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtFLSourcePath" runat="server" MaxLength="2000"
                                                        CssClass="form-control man-dat"></asp:TextBox>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_FileBackupPath2" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtFLBackupPath" runat="server" MaxLength="2000"
                                                        CssClass="form-control man-dat"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <span style="color: Red">|</span>&nbsp;&nbsp;<asp:Label ID="lbl_FLBackupType" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-10 Pad-left-7px">
                                                    <div class="col-md-3">
                                                        <asp:RadioButton ID="rbt_FLMove" runat="server" GroupName="FLBackupType" Checked="True"
                                                            CssClass="radioLeave radioLeave-primary" />
                                                    </div>
                                                    <div class="col-md-6">
                                                        <asp:RadioButton ID="rbt_FLRename" runat="server" GroupName="FLBackupType" CssClass="radioLeave radioLeave-primary" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3>
                                            <asp:Label ID="lbl_ReaderNo2" runat="server"></asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 20px 0 20px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_From1" runat="server"></asp:Label>&nbsp;
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtFL_ReaderNoFrom" runat="server" MaxLength="4"
                                                        onkeypress=" return number_only(event,this);" CssClass="form-control man-dat" ondrop="return false"></asp:TextBox>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_To1" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtFL_ReaderNoTo" runat="server" MaxLength="4"
                                                        onkeypress=" return number_only(event,this);" CssClass="form-control man-dat" ondrop="return false"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3>
                                            <asp:Label ID="lbl_CardNo2" runat="server"></asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 20px 0 20px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="row form-group">
                                                <div class="col-md-11">
                                                    <asp:CheckBox ID="chk_EmployeeId2" runat="server" CssClass="checkbox checkbox-primary" />
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_From2" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtFL_CardNoFrom" runat="server" MaxLength="4"
                                                        onkeypress=" return number_only(event,this);" CssClass="form-control man-dat" ondrop="return false"></asp:TextBox>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_To2" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtFL_CardNoTo" runat="server" MaxLength="4"
                                                        onkeypress=" return number_only(event,this);" CssClass="form-control man-dat" ondrop="return false"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3 style="line-height: normal;">
                                            <asp:RadioButton ID="rbtFLDateTimeSeperate" runat="server" GroupName="FLDateTime"
                                                CssClass="radioDataType radioDataType-primary" onclick="javascript:FixedLengthSeparateShow()" />
                                            <asp:Label ID="lbl_OurFormat2" runat="server" Visible="false"></asp:Label>
                                            <asp:Label ID="lbl_RawFileFields2" runat="server" Visible="false"></asp:Label>
                                            <asp:Label ID="lbl_DateandTime3" runat="server" Visible="false"></asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 20px 0 20px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="config-hdr con-spc" style="margin: 0 -20px !important; padding-left: 15px; padding-right: 15px; padding-top: 5px; padding-bottom: 5px">
                                                <b style="font-size: 15px">
                                                    <asp:Label ID="lbl_Date2" runat="server"></asp:Label></b>
                                            </div>
                                            <div id="trFixedLengthDateSeparate" style="margin-top: 15px">
                                                <div class="row form-group">
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_From3" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtFL_DateFrom" runat="server" MaxLength="4"
                                                            onkeypress=" return number_only(event,this);" CssClass="form-control" ondrop="return false"></asp:TextBox>
                                                    </div>
                                                    <div class="col-md-1">
                                                    </div>
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_To3" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtFL_DateTo" runat="server" MaxLength="4"
                                                            onkeypress=" return number_only(event,this);" CssClass="form-control" ondrop="return false"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="row form-group">
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_FLDateFormat" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txt_FLDateFormat" runat="server" CssClass="form-control"
                                                            MaxLength="30" onkeypress="return DateFormats_CharacterOnly(event,this);" onkeyup="return chkMaxLen(event,this,30,MaxLength);"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="config-hdr con-spc" style="margin: 0 -20px !important; padding-left: 15px; padding-right: 15px; padding-top: 5px; padding-bottom: 5px">
                                                <b style="font-size: 15px">
                                                    <asp:Label ID="lbl_Time2" runat="server"></asp:Label></b>
                                            </div>
                                            <div id="trFixedLengthTimeSeparate" style="margin-top: 15px;">
                                                <div class="row form-group">
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_From4" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtFL_TimeFrom" runat="server" MaxLength="4"
                                                            onkeypress=" return number_only(event,this);" CssClass="form-control" ondrop="return false"></asp:TextBox>
                                                    </div>
                                                    <div class="col-md-1">
                                                    </div>
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_To4" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtFL_TimeTo" runat="server" MaxLength="4"
                                                            onkeypress=" return number_only(event,this);" onkeyup="return chkMaxLen(event,this,30,MaxLength);"
                                                            CssClass="form-control" ondrop="return false"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="row form-group">
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_FLTimeFormat" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txt_FLTimeFormat" runat="server" CssClass="form-control"
                                                            MaxLength="30" onkeypress="return TimeFormats_CharacterOnly(event,this);" onkeyup="return chkMaxLen(event,this,30,MaxLength);"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3 style="line-height: normal;">
                                            <asp:RadioButton ID="rbtFLDateTime" runat="server" GroupName="FLDateTime" Checked="True"
                                                CssClass="radioDataType radioDataType-primary" onclick="javascript:FixedLengthCombinedShow()" />
                                            <asp:Label ID="lblFixedLengthDateTimeCombine" runat="server" Visible="false"></asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 20px 0 20px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div id="trFixedLengthDateTimeCombine">
                                                <div class="row form-group">
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_From5" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtFL_DateTimeFrom" runat="server" MaxLength="4"
                                                            onkeypress=" return number_only(event,this);" CssClass="form-control" ondrop="return false"></asp:TextBox>
                                                    </div>
                                                    <div class="col-md-1">
                                                    </div>
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_To5" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtFL_DateTimeTo" runat="server" MaxLength="4"
                                                            onkeypress=" return number_only(event,this);" CssClass="form-control" ondrop="return false"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="row form-group">
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_FLDateTimeFormat" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txt_FLDateTimeFormat" runat="server" CssClass="form-control"
                                                            MaxLength="30" onkeypress="return DateTimeFormats_CharacterOnly(event,this);"
                                                            onkeyup="return chkMaxLen(event,this,30,MaxLength);"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3>
                                            <asp:Label ID="lbl_Type2" runat="server"></asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 20px 0 20px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_From6" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtFL_TypeFrom" runat="server" MaxLength="4"
                                                        onkeypress=" return number_only(event,this);" CssClass="form-control man-dat" ondrop="return false"></asp:TextBox>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_To6" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtFL_TypeTo" runat="server" MaxLength="4"
                                                        onkeypress=" return number_only(event,this);" CssClass="form-control man-dat" ondrop="return false"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3>
                                            <asp:CheckBox ID="chk_FLTransIdentifier" runat="server" onclick="ShowTransIdentifier()"
                                                CssClass="checkboxDataType checkboxDataType-primary" Style="min-height: 0px" />
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 20px 0 5px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_From7" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtFL_TransIdentifierFrom" runat="server"
                                                        CssClass="form-control" MaxLength="4" onkeypress=" return number_only(event,this);"
                                                        ondrop="return false"></asp:TextBox>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_To7" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtFL_TransIdentifierTo" runat="server" CssClass="form-control"
                                                        MaxLength="4" onkeypress=" return number_only(event,this);" ondrop="return false"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lblFL_TIValue" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtFL_TIValue" runat="server" CssClass="form-control"
                                                        TextMode="MultiLine" MaxLength="300" onkeypress="return character_number_nospace_pwd(event,this);"
                                                        Style="resize: none;"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div id="div_RDBMS" style="display: none;">
                                <div class="row" style="display: none">
                                    <div class="col-md-12">
                                        <asp:TextBox onpaste="return true" ID="txtConnectionString" runat="server" MaxLength="2000"
                                            CssClass="form-control"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3>
                                            <asp:Label ID="lbl_ConnectionString" runat="server"></asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 15px 0 0px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div id="div_ConRDBMS" style="display: none;">
                                                <div class="row form-group">
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_DBServerName" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtServerName" runat="server" MaxLength="50"
                                                            CssClass="form-control man-dat"></asp:TextBox>
                                                    </div>
                                                    <div class="col-md-1">
                                                    </div>
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_DBDatabaseName" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtDBName" runat="server" MaxLength="50"
                                                            CssClass="form-control man-dat"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="row form-group">
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_DBUserName" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtDBUserName" runat="server" MaxLength="50"
                                                            CssClass="form-control"></asp:TextBox>
                                                    </div>
                                                    <div class="col-md-1">
                                                    </div>
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_DBPassword" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtDBPassword" runat="server" MaxLength="50"
                                                            CssClass="form-control" TextMode="Password"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                            <%--MDB Connection String--%>
                                            <div id="div_ConMDB" style="display: none;">
                                                <div class="row form-group">
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_MDBDataSource" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-9">
                                                        <asp:TextBox onpaste="return true" ID="txtMDBDataSource" runat="server" MaxLength="1000"
                                                            CssClass="form-control man-dat"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="row form-group">
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_MDBUserName" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtMDBUserName" runat="server" MaxLength="50"
                                                            CssClass="form-control"></asp:TextBox>
                                                    </div>
                                                    <div class="col-md-1">
                                                    </div>
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_MDBPassword" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtMDBPassword" runat="server" MaxLength="50"
                                                            CssClass="form-control" TextMode="Password"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_TableName" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtTableName" runat="server" MaxLength="50"
                                                        CssClass="form-control man-dat"></asp:TextBox>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:CheckBox ID="chkboxShowpwd" Text="Show Password" runat="server"
                                                        CssClass="checkbox checkbox-primary" onclick="showPassword();" />
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3>
                                            <asp:Label ID="lbl_OurFormat3" runat="server"></asp:Label>
                                            &
                                            <asp:Label ID="lbl_RawFileFields3" runat="server"></asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 15px 0 0px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_ReaderNo3" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtRDBMSReaderNo" runat="server" MaxLength="25"
                                                        CssClass="form-control man-dat"></asp:TextBox>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_CardNo3" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtRDBMSCardNo" runat="server" MaxLength="25"
                                                        CssClass="form-control man-dat"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_Type3" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txtRDBMSType" runat="server" MaxLength="25"
                                                        CssClass="form-control man-dat"></asp:TextBox>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:CheckBox ID="chk_EmployeeId3" runat="server" CssClass="checkbox checkbox-primary" />
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3 style="line-height: normal;">
                                            <asp:RadioButton ID="rbtDateTimeSeperate" runat="server" GroupName="RDBMSDateTime"
                                                Checked="True" onclick="javascript:RDBMSDateTimeSeparateHideShow();" CssClass="radioDataType radioDataType-primary" />
                                            <asp:Label ID="lblDBMSDateTimeSeparate" runat="server" Visible="false"></asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 15px 0 0px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div id="trDBMSDateSeparate">
                                                <div class="row form-group">
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_Date3" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtRDBMSDate" runat="server" MaxLength="25"
                                                            CssClass="form-control"></asp:TextBox>
                                                    </div>
                                                    <div class="col-md-1">
                                                    </div>
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_RDBMSDateFormat" runat="server" Width="90px"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txt_RDBMSDateFormat" runat="server" CssClass="form-control"
                                                            MaxLength="25" onkeypress="return DateFormats_CharacterOnly(event,this);"></asp:TextBox>
                                                        <asp:CheckBox ID="chkEncrypted" runat="server" Visible="false" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div id="trDBMSTimeSeparate">
                                                <div class="row form-group">
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_Time3" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtRDBMSTime" runat="server" CssClass="form-control"
                                                            MaxLength="25"></asp:TextBox>
                                                    </div>
                                                    <div class="col-md-1">
                                                    </div>
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_RDBMSTimeFormat" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txt_RDBMSTimeFormat" runat="server" CssClass="form-control"
                                                            MaxLength="25" onkeypress="return TimeFormats_CharacterOnly(event,this);"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3 style="line-height: normal;">
                                            <asp:RadioButton ID="rbtDateTime" runat="server" GroupName="RDBMSDateTime" onclick="javascript:RDBMSDateTimeCombineHideShow();"
                                                CssClass="radioDataType radioDataType-primary" />
                                            <asp:Label ID="lbl_DateandTime4" runat="server" Visible="false"></asp:Label>
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 15px 0 0px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="row form-group">
                                                <div id="trDBMSDateTimeCombine">
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_DateandTime5" runat="server" Visible="false"></asp:Label>
                                                        <asp:Label ID="lblDBMSDateTimeCombine" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txtRDBMSDateTime" runat="server" MaxLength="25"
                                                            CssClass="form-control"></asp:TextBox>
                                                    </div>
                                                    <div class="col-md-1">
                                                    </div>
                                                    <div class="col-md-2">
                                                        <asp:Label ID="lbl_RDBMSDateTimeFormat" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="col-md-3">
                                                        <asp:TextBox onpaste="return true" ID="txt_RDBMSDateTimeFormat" runat="server" CssClass="form-control"
                                                            MaxLength="25" onkeypress="return DateTimeFormats_CharacterOnly(event,this);"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="config-hdr con-spc" style="margin: 0 -5px !important">
                                        <h3>
                                            <asp:CheckBox ID="chk_TransIdentifier" runat="server" onclick="ShowTransIdentifier()"
                                                Style="min-height: 0px;" CssClass="checkboxDataType checkboxDataType-primary" />
                                        </h3>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-md-12 config-table" style="padding: 20px 0 5px 0px !important; margin: 0px !important">
                                        <div class="col-md-12">
                                            <div class="row form-group">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_TransactionIdentifier3" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txt_RDBMSTransactionIdentifier" runat="server"
                                                        CssClass="form-control" MaxLength="25"></asp:TextBox>
                                                </div>
                                                <div class="col-md-1">
                                                </div>
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_TIValue" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txt_TIValue" runat="server" CssClass="form-control"
                                                        MaxLength="300" onkeypress="return character_number_nospace_pwd(event,this);"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-md-2">
                                                    <asp:Label ID="lbl_FlagField" runat="server"></asp:Label>
                                                </div>
                                                <div class="col-md-3">
                                                    <asp:TextBox onpaste="return true" ID="txt_FlagField" runat="server" CssClass="form-control man-dat"
                                                        MaxLength="25"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="clearfix">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-5">
                                </div>
                                <div class="col-md-6">
                                    <div class="pull-right-button">
                                        <asp:LinkButton ID="btnModify" CssClass="btn save-btn fa-floppy-o" runat="server" OnClick="btnModify_Click"
                                            OnClientClick="javascript:return ValidateFields();" />
                                        <asp:LinkButton ID="btnCancel" CssClass="btn save-btn fa-angle-left" runat="server"
                                            OnClick="btnCancel_Click" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript" language="javascript">show();</script>

    <script type="text/javascript" language="javascript">ShowTransIdentifier();</script>

</asp:Content>
