<%@ page language="C#" autoeventwireup="true" inherits="Forms_ManageMakDevices, App_Web_4todeeuo" enableeventvalidation="false" %>

<%@ Register Assembly="TimePicker" Namespace="MKB.TimePicker" TagPrefix="MKB" %>
<%@ Register Src="~/UserControls/Notification_List.ascx" TagPrefix="uc3" TagName="NotificationsList" %>
<%--<%@ Register Src="~/UserControls/AMCNotification_List.ascx" TagPrefix="uc6" TagName="NotificationsListAMC" %>--%>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/TrinetraGrid.ascx" TagName="FleetGrid" TagPrefix="uc5" %>
<%@ Register Src="~/UserControls/TrinetraGrid.ascx" TagName="EmailGrid" TagPrefix="uc4" %>
<%@ Register Src="~/UserControls/New_Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/New_Footer.ascx" TagName="Footer" TagPrefix="uc2" %>

<%--<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>--%>
<%--<%@ Register Assembly="DevExpress.Web.ASPxGridView.v8.2" Namespace="DevExpress.Web.ASPxGridView"
    TagPrefix="dxgv" %>
<%@ Register Assembly="DevExpress.Web.v8.2, Version=8.2.10.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxMenu" TagPrefix="dxm" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v8.2, Version=8.2.10.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v8.2" Namespace="DevExpress.Web.ASPxEditors"
    TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v8.2.Export" Namespace="DevExpress.Web.ASPxGridView.Export"
    TagPrefix="exp" %>
<%@ Register Assembly="DevExpress.Web.v8.2" Namespace="DevExpress.Web.ASPxPopupControl"
    TagPrefix="dxpc" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v8.2, Version=8.2.10.0, Culture=neutral, PublicKeyToken=9B171C9FD64DA1D1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>--%>

<%@ Register Assembly="DevExpress.Web.v14.2" Namespace="DevExpress.Web" TagPrefix="dxw" %>

<!DOCTYPE html>
<html lang="en">
<head runat="server">
    <title>Configuration</title>
    <meta content="charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <%--<meta http-equiv="Page-Enter" content="blendTrans(Duration=0)" />
    <meta http-equiv="Page-Exit" content="blendTrans(Duration=0)" />
    <meta http-equiv="X-UA-Compatible" content="IE=7" />--%>

    <link href="../css/CustomeAlert/demos.css" rel="stylesheet" type="text/css" />
    <link href="../css/CustomeAlert/themes/jquery.ui.all.css" rel="stylesheet" type="text/css" />
    <link id="reset" runat="server" href="../css/reset.css" rel="stylesheet" type="text/css" />
    <link id="stylesheet2" runat="server" href="../css/stylesheet2.css" rel="stylesheet" type="text/css" />
    <link id="dropdown" runat="server" href="../css/dropdown.css" rel="stylesheet" type="text/css" />
    <link id="ieonly" runat="server" rel="stylesheet" type="text/css" href="" />
    <%--<link id="datepicker" runat="server" type="text/css" href="../css/ui.datepicker.css" rel="stylesheet" />--%>
    <link id="uicore" runat="server" type="text/css" href="../css/ui.core.css" rel="stylesheet" />
    <link id="uitheme" runat="server" type="text/css" href="../css/ui.theme.css" rel="stylesheet" />

    <%--Custom Theme for DevEx 14.2--%>
    <%--<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">--%>
    <link type="text/css" href="~/App_Themes/Office2003Blue/GridView/grid.css" rel="stylesheet" />
    <link type="text/css" href="~/App_Themes/Office2003Blue/Editors/styles.css" rel="stylesheet" />
    <link rel="icon" href="../NewDesign/img/favicon.png" type="image/x-icon">
    <link href="../NewDesign/css/bootstrap.css" rel="stylesheet" />
    <link href="../NewDesign/css/font-awesome.css" rel="stylesheet" />
    <link href="../NewDesign/css/responsive.css" rel="stylesheet" />
    <link href="../NewDesign/css/style.css" rel="stylesheet" />
    <script src="../NewDesign/js/jquery.min.js"></script>
    <script src="../js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="../NewDesign/js/bootstrap.min.js"></script>
    <script src="../NewDesign/js/jquery.js"></script>
    <script src="../NewDesign/js/script.js"></script>
    <link href="../NewDesign/font-awesome-4.7.0/css/font-awesome.css" rel="stylesheet" />
    <link href="../NewDesign/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" />
    <link href="../NewDesign/css/build.css" rel="stylesheet" />
    <%--BootStrap Css--%>
    <%--<link id="BootStrapCss" href="../css/bootstrap.css" runat="server" rel="stylesheet" type="text/css" />--%>
    <link id="mainstyle" runat="server" href="../css/mainstyle.css" rel="stylesheet" type="text/css" />
    <%--End of BootStrap Css--%>

    <script src="../js/CustomAlert/jquery.min.js" type="text/javascript"></script>
    <script src="../js/CustomAlert/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
    <script src="../js/CustomAlert/jquery-ui-1.10.3.custom.js" type="text/javascript"></script>
    <script src="../js/CustomAlert/CustomAlert.js" type="text/javascript"></script>
    <%--<script type="text/javascript" src="../js/jquery-1.3.2.js"></script>--%>
    <script type="text/javascript" src="../js/jquery-1.5.1.min.js"></script>
    <%--<script type="text/javascript" src="../js/ui.datepicker.js"></script>
    <script type="text/javascript" src="../js/JQQueryDatePicker.js"></script>--%>

    <style type="text/css">
        .rTable {
            display: table;
            width: 100%;
        }

        .rTableRow {
            display: table-row;
        }

        .rTableHeading {
            display: table-header-group;
            background-color: #ddd;
        }

        .rTableCell, .rTableHead {
            display: table-cell;
            padding: 3px 10px;
            /*border: 1px solid #999999;*/
        }

        .rTableHeading {
            display: table-header-group;
            background-color: #ddd;
            font-weight: bold;
        }

        .rTableFoot {
            display: table-footer-group;
            font-weight: bold;
            background-color: #ddd;
        }

        .rTableBody {
            display: table-row-group;
        }

        .form-group {
            min-height: 25px !important;
        }

        /*.maintenance-plan .form-group label {
            display: inline;
            padding: 10px;
        }*/
        /*.bootstrap-datetimepicker-widget table td span {
            display: inline-block !important;
            width: 35px !important;
            height: 10px !important;
            line-height: 10px !important;
            /*margin: 2px 1.5px !important;*/
        /*cursor: pointer !important;*/
        /*border-radius: 4px !important;*/
        /*z-index: 999999999 !important;*/
        /*}*/

        /*.glyphicon {
            position: relative;
            top: 1px;
            display: inline-block;
            font-family: 'Glyphicons Halflings';
            font-style: normal;
            font-weight: 400;
            line-height: 1;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }*/
        #txtGatewayPwd + .glyphicon {
            cursor: pointer;
            pointer-events: all;
            padding-bottom: 2px;
        }

        .form-control-feedback {
            position: absolute;
            top: 3px;
            right: 10px;
            z-index: 2;
            display: block;
            width: 34px;
            height: 34px;
            line-height: 30px;
            text-align: center;
            pointer-events: none;
        }
    </style>

    <script type="text/javascript">
        function BindEvents() {
            $('#txtGatewayPwd + .glyphicon').on('click', function () {
                $(this).toggleClass('glyphicon-eye-close').toggleClass('glyphicon-eye-open'); // toggle our classes for the eye icon
                // $('#txtGatewayPwd').togglePassword(); // activate the hideShowPassword plugin     
                var x = document.getElementById("txtGatewayPwd");
                if (x.type === "password") {
                    x.type = "text";
                } else {
                    x.type = "password";
                }
            });
        }
    </script>
</head>
<body class="white">
    <div class="page-wrapper">
        <div class="preloader"></div>
        <form id="form1" runat="server">
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel runat="server" ID="updVenDetails" UpdateMode="Conditional">
                <ContentTemplate>
                    <!-- Header Starts Here -->
                    <uc1:Header ID="ucHeader" runat="server" />
                    <!-- Nav Ends Here -->
                    <!-- Content Starts Here -->
                    <script type="text/javascript">
                        Sys.Application.add_load(BindEvents);
                    </script>
                    <div class="vlive-reports-section maintenance">
                        <div class="container-fluid">
                            <div class="row clearfix">
                                <div class="col-ks-16">
                                    <div class="col-ks-8 HeaderTest">
                                        <div class="col-ks-16">
                                            <h2 class="pull-left">
                                                <asp:Literal ID="lblConfigurationCaption" runat="server">Configuration</asp:Literal></h2>
                                        </div>
                                        <div class="col-ks-16">
                                            <asp:SiteMapPath ID="site" runat="server" CssClass="breadcrumb">
                                                <NodeStyle CssClass="active" />
                                            </asp:SiteMapPath>
                                        </div>
                                    </div>
                                    <div class="col-ks-8 HeaderTopButton">
                                        <asp:LinkButton ID="lbtnAddDevice" runat="server" CssClass="fa-plus btn btn-primary" OnClick="lbtnAddDevice_Click"
                                            OnClientClick="ShowPopUp();" Text="&nbsp;&nbsp;Add Device">
                                        </asp:LinkButton>
                                        <asp:LinkButton ID="btnBack" runat="server" CssClass="fa-arrow-left btn btn-primary" CausesValidation="false"
                                            PostBackUrl="~/Forms/ConfigurationSetup.aspx" Text="&nbsp;&nbsp;Back to Configuration">
                                        </asp:LinkButton>
                                    </div>
                                </div>
                                <div class="col-ks-8 HeaderTopButton ControlHide">
                                    <asp:ImageButton ID="btnBack1" runat="server" OnClick="btnBack_Click" CausesValidation="false"
                                        ImageUrl="~/images/btn-back-to-configuration.jpg" Visible="false" />

                                    <div class="col-ks-7">
                                    </div>
                                    <div class="col-ks-3_5">

                                        <asp:LinkButton ID="lbtnVehSeveritySetting" runat="server" CssClass="MultilingualBtn"
                                            PostBackUrl="~/Forms/VendorVehicleMapping.aspx" Visible="false">
                                            <span id="Span3" runat="server" class="MultilingualBtnspan">
                                                <div class="SeveritySettings">
                                                    <div id="SeveritySettingsDiv" runat="server" class="MultilingualBtnTextAlign">
                                                        Device Assignment
                                                    </div>
                                                </div>
                                            </span>
                                        </asp:LinkButton>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <asp:Panel ID="pnlVendorInfo" runat="server" Visible="false">

                        <div class="vlive-filter">
                            <div class="container-fluid">
                                <div class="vlive-centrifugal-fan maintenance-plan">
                                    <h2>
                                        <asp:Label ID="lblVenInfoHeading" runat="server" Text="Device Information"></asp:Label></h2>
                                    <div class="row ftop">
                                        <div class="col-md-12">
                                            <asp:Panel ID="pnlequipment" runat="server">
                                                <div>
                                                    <div id="trDevice" runat="server" class="form-group">
                                                        <div class="col-sm-2">
                                                            <asp:Label ID="lblDevID" runat="server" Text="Device ID (Controller Id)"></asp:Label>
                                                            <asp:Label ID="lblManDeviceID" runat="server" ForeColor="Red">*</asp:Label>
                                                        </div>
                                                        <div class="col-sm-4">
                                                            <asp:Label ID="lblDevice" runat="server" Text="ID of the Device" Visible="false"></asp:Label>
                                                            <asp:TextBox ID="txtdeviceID" runat="server" Style="display: block" MaxLength="15" CssClass="form-control man-dat" TabIndex="1">
                                                            </asp:TextBox>
                                                            <%--onblur="validateDev(this.id,this.value); onkeypress="return chkPhoneMobile(event);"--%>
                                                        </div>
                                                        <div class="col-sm-2 ">
                                                            <asp:Label ID="lblEquiptype" runat="server" Text="Device Type"></asp:Label>
                                                            <span style="color: red; display: none">*</span>
                                                        </div>
                                                        <div class="col-sm-4 form-controllinebreak ">
                                                            <asp:DropDownList ID="ddlEquiptype" runat="server" TabIndex="2" CssClass="form-control man-dat">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="form-group ControlHide">
                                                        <div class="col-sm-2">
                                                            <asp:Label ID="lblEquisubtype" runat="server" Text="Equipment Rating"></asp:Label>
                                                            <span style="color: red">*</span>
                                                        </div>
                                                        <div class="col-sm-4">
                                                            <%-- onblur="return equipmentName();"--%>
                                                            <asp:DropDownList ID="ddlequipsubtype" runat="server" TabIndex="3" CssClass="form-control"
                                                                AutoPostBack="false">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <div class="col-sm-2">
                                                            <asp:Label ID="lblEqupName" runat="server" Text="Device Name"></asp:Label>
                                                            <span style="color: red; display: none;">*</span>
                                                        </div>
                                                        <div class="col-sm-4 form-controllinebreak">
                                                            <%--chkDescription(event,this,49);onkeypress="return false;"--%>
                                                            <asp:TextBox ID="txtEquipName" runat="server" MaxLength="49" CssClass="form-control man-dat" TabIndex="3">
                                                            </asp:TextBox>
                                                        </div>
                                                        <%--<div class="col-sm-2">
                                                                        <asp:Label ID="lblEquipID" runat="server" Text="Equipment Sr.No"></asp:Label>
                                                                        <span id="equip" style="color: red">*</span>
                                                                    </div>
                                                                    <div class="col-sm-4 form-controllinebreak">                                                                        
                                                                        <asp:TextBox ID="txtEquipID" MaxLength="19" TabIndex="1" runat="server" CssClass="form-control"
                                                                            onblur="return equipmentName();" onkeypress="return chkNumeric_only(event);"></asp:TextBox>
                                                                    </div>--%>
                                                        <%--<div class="col-sm-2">
                                                                        <asp:Label ID="lblEquipLocation" runat="server" Text="Equipment Location"></asp:Label>
                                                                        <span style="color: red">*</span>
                                                                    </div>
                                                                    <div class="col-sm-4">--%>
                                                        <%--OnSelectedIndexChanged="ddlEquipType_SelectedIndexChanged"--%>
                                                        <%--<asp:DropDownList ID="ddlLocation" runat="server" TabIndex="3" CssClass="form-control" AutoPostBack="false">
                                                                        </asp:DropDownList>--%>
                                                        <%--<asp:ListItem Text="Inlet" Value="0"></asp:ListItem>
                                                                            <asp:ListItem Text="Outlet" Value="1"></asp:ListItem>
                                                                            <asp:ListItem Text="Intermediate" Value="2"></asp:ListItem>
                                                                    </div>--%>

                                                        <div class="col-sm-2">
                                                            <asp:Label ID="Label7" runat="server" Text="Gateway ID"></asp:Label>
                                                        </div>
                                                        <div class="col-sm-3">
                                                            <asp:DropDownList ID="ddlGateway" runat="server" TabIndex="7" CssClass="form-control man-dat" AutoPostBack="true" AppendDataBoundItems="true"
                                                                onchange="document.getElementById('divMsg').innerHTML=''; ShowPopUp();">
                                                            </asp:DropDownList>
                                                        </div>
                                                        <div class="col-sm-1 col-xs-1 nullpadding">
                                                            <div id="AddServiceCategory" runat="server" style="padding-top: 5px;">
                                                                <asp:LinkButton ID="ibtnAddGateway" runat="server" ToolTip="Add Gateway"
                                                                    Style="width: auto;" CssClass="btn-fa-plus-circle" OnClientClick="ShowPopUp();" OnClick="ibtnAddGateway_Click"></asp:LinkButton>
                                                            </div>
                                                            <div id="EditServiceCategory" runat="server" style="padding-top: 5px;">
                                                                <asp:LinkButton ID="ibtnEditGateway" ToolTip="Edit Gateway" runat="server" OnClick="ibtnEditGateway_Click"
                                                                    CssClass="Grid-btn-fa-pencil-square-o" Style="width: auto;" OnClientClick="document.getElementById('divMsg').innerHTML='';"></asp:LinkButton>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <div class="col-sm-2">
                                                            <asp:Label ID="lblpurchase" runat="server" Text="Date of Commissioning"></asp:Label>
                                                            <%--<span style="color: red">*</span>--%>
                                                        </div>
                                                        <div class="col-sm-4 controllinebreak">
                                                            <div class="input-group" id="dtPurchasedDate" runat="server">
                                                                <asp:TextBox ID="txtPurchasedDate1" runat="server" onkeypress="return CalendarTab(event);" AutoCompleteType="Disabled"
                                                                    CssClass="form-control" TabIndex="5"></asp:TextBox>
                                                                <div class="input-group-addon" style="cursor: pointer">
                                                                    <i class="fa fa-calendar"></i>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-2">
                                                            <asp:Label ID="lblCurrentEngineHrs" runat="server" Text="Opening Running Hours"></asp:Label>
                                                        </div>
                                                        <div class="col-sm-4 form-controllinebreak">
                                                            <asp:TextBox ID="txtCurrentEngineHrs" runat="server" CssClass="form-control form-controllinebreak" oncopy="return false"
                                                                ondrop="return false" MaxLength="6" onkeypress="return chkNumeric_only(event);" TabIndex="7" />
                                                        </div>
                                                        <%--  <div class="col-sm-2">
                                                            <asp:Label ID="lblCompactor" runat="server" Text="Compactor"></asp:Label>
                                                            <span style="color: red; display: none;">*</span>
                                                        </div>
                                                        <div class="col-sm-4">
                                                            <div class="LandmarkPaddingStyleASPX">
                                                                <span class="dropdown">
                                                                    <div style="position: relative;">
                                                                        <asp:LinkButton ID="lnkvenfan" runat="server" Style="text-decoration: underline" Text="Add Compactor Details" TabIndex="6" data-backdrop="static" data-keyboard="false" OnClick="lnkvenfan_Click" OnClientClick="ShowPopUp();"></asp:LinkButton>
                                                                    </div>
                                                                </span>
                                                            </div>
                                                            <asp:UpdatePanel ID="updLndCat" UpdateMode="Conditional" runat="server">
                                                                <ContentTemplate>
                                                                    <div id="AddLandmarkCategory" runat="server">
                                                                        <asp:ImageButton ID="ibtnAddCustomer" runat="server" ToolTip="Add New Customer" ImageUrl="../images/add-icon.gif"
                                                                            CausesValidation="false" OnClick="ibtnAddCustomer_Click" Visible="false"></asp:ImageButton>
                                                                    </div>
                                                                    <div id="EditLandmarkCategory" runat="server">
                                                                        <asp:ImageButton ID="ibtnEditCustomer" ToolTip="Edit Customer" runat="server" OnClick="ibtnEditCustomer_Click" Visible="false"
                                                                            ImageUrl="../images/icn-edit.gif" Style="width: auto;" />
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>--%>
                                                    </div>
                                                    <%--<div class="form-group">                                                                    
                                                                    <div class="col-sm-2">
                                                                        <asp:Label ID="lbladdress" runat="server" Text="Site (<i>Max 250 char</i>)"></asp:Label>
                                                                    </div>
                                                                    <div class="col-sm-4">
                                                                        <asp:TextBox ID="txtAddress" MaxLength="249" runat="server" TextMode="MultiLine"
                                                                            Height="30px" onkeypress="return chkDescription(event,this,249);" TabIndex="8"
                                                                            CssClass="form-control"></asp:TextBox>
                                                                    </div>
                                                                </div>--%>
                                                    <%-- <div class="form-group">--%>
                                                    <%-- <div class="col-sm-2">
                                                                        <asp:Label ID="lblContactno" runat="server" Text="Contact No."></asp:Label>
                                                                        <span style="color: red">*</span>
                                                                    </div>
                                                                    <div class="col-sm-4 form-controllinebreak">
                                                                        <asp:TextBox ID="txtContactNo" MaxLength="14" onkeypress="return chkNumeric_only(event);"
                                                                            TabIndex="9" runat="server" CssClass="form-control"></asp:TextBox>
                                                                    </div>--%>

                                                    <%--</div>--%>
                                                    <div class="form-group ControlHide">

                                                        <div class="col-sm-2">
                                                            <asp:Label ID="lblcustomerName" runat="server" Text="Customer Name"></asp:Label>
                                                            <span style="color: red; display: none;">*</span>
                                                        </div>
                                                        <div class="col-sm-4">
                                                            <asp:DropDownList ID="ddlCategory" runat="server" TabIndex="7" CssClass="form-control man-dat" AutoPostBack="true"
                                                                OnSelectedIndexChanged="ddlCategory_SelectedIndexChanged" onchange="ShowPopUp();">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="form-group ControlHide">
                                                        <div class="col-sm-2">
                                                            <asp:Label ID="lblWrntyStrtdt" runat="server" Text="Warranty Start Date"></asp:Label>
                                                            <span style="color: red; display: none;">*</span>
                                                        </div>
                                                        <div class="col-sm-4 form-controllinebreak">
                                                            <asp:HiddenField runat="server" ID="HiddenField3" Value="dd-MMM-yyyy" />
                                                            <div class="input-group" id="dtWrntyStDate" runat="server">
                                                                <asp:TextBox ID="txtWrntyStrtdt" runat="server" AutoCompleteType="Disabled" onkeypress="return CalendarTab(event);"
                                                                    CssClass="form-control man-dat" TabIndex="8"></asp:TextBox>
                                                                <div class="input-group-addon" style="cursor: pointer">
                                                                    <i class="fa fa-calendar"></i>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-2">
                                                            <asp:Label ID="lblWrntyEndDt" runat="server" Text="Warranty End Date"></asp:Label>
                                                            <span style="color: red; display: none;">*</span>
                                                        </div>
                                                        <div class="col-sm-4">
                                                            <asp:HiddenField runat="server" ID="HiddenField2" Value="dd-MMM-yyyy" />
                                                            <div class="input-group" id="dtWrntyEndDate" runat="server">
                                                                <asp:TextBox ID="txtWrntyEndDt" runat="server" onkeypress="return CalendarTab(event);" AutoCompleteType="Disabled"
                                                                    CssClass="form-control man-dat" TabIndex="9"></asp:TextBox>
                                                                <div class="input-group-addon" style="cursor: pointer">
                                                                    <i class="fa fa-calendar"></i>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <div class="col-sm-2">
                                                            <asp:Label ID="lblAddnlInfo" runat="server" Text="Additional Information (<i>Max 250 char</i>)"></asp:Label>
                                                        </div>
                                                        <div class="col-sm-4">
                                                            <asp:TextBox ID="txtAdnlInfo" MaxLength="249" runat="server" TextMode="MultiLine"
                                                                onkeypress="return chkDescription(event,this,249);" TabIndex="10" Height="50px"
                                                                CssClass="form-control"></asp:TextBox>
                                                        </div>
                                                        <div class="col-sm-2">
                                                            <asp:Label ID="lblBattery" runat="server" Text="Battery Replacement On" CssClass="label"></asp:Label>
                                                            <asp:Label ID="Label3" runat="server" ForeColor="Red" Visible="false">*</asp:Label>
                                                        </div>
                                                        <div class="col-sm-4">
                                                            <asp:HiddenField runat="server" ID="HiddenField4" Value="dd-MMM-yyyy" />
                                                            <div class="input-group" id="dtBatteryDate" runat="server">
                                                                <asp:TextBox ID="txtBattery" runat="server" onkeypress="return CalendarTab(event);" AutoCompleteType="Disabled"
                                                                    CssClass="form-control" TabIndex="9"></asp:TextBox>
                                                                <div class="input-group-addon" style="cursor: pointer">
                                                                    <i class="fa fa-calendar"></i>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <%--<div class="col-sm-4">
                                                            <asp:Label ID="lblShift" runat="server"></asp:Label>
                                                            <asp:LinkButton ID="lnkshiftdetails" runat="server" OnClick="lnkShiftDetails_Click" Text="Add Shift" CssClass="btn-fa-clock-o btn btn-primary" TabIndex="11" OnClientClick="ShowPopUp();"></asp:LinkButton>
                                                        </div>--%>
                                                    </div>
                                                    <div class="form-group">
                                                        <div class="col-sm-2">
                                                            <span class="redtxt">|</span>&nbsp;<asp:Label ID="lblSeverity" runat="server" Text="Severity" CssClass="label"></asp:Label>
                                                            <asp:Label ID="Label8" runat="server" ForeColor="Red" Visible="false">*</asp:Label>
                                                        </div>
                                                        <div class="col-sm-5">
                                                            <%--<asp:CheckBox ID="chkaddParams" runat="server" Text="Primary & Secondary" />--%>
                                                            <div style="direction: ltr">
                                                                <asp:CheckBoxList ID="chkSeverities" runat="server" CssClass="checkbox checkbox-primary" RepeatDirection="Horizontal"
                                                                    RepeatLayout="Flow" TabIndex="12" OnPreRender="chkSeverities_PreRender" Width="100%">
                                                                </asp:CheckBoxList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="form-group ControlHide">
                                                        <div class="col-sm-2">
                                                            <asp:Label ID="lblEngine" runat="server" Text="Engine Hrs" Visible="false"></asp:Label>
                                                        </div>
                                                        <div class="col-sm-4">
                                                            <asp:TextBox ID="txtEnginehrs" runat="server" onkeypress="return chkNumeric_only(event);"
                                                                CssClass="form-control" TabIndex="13" MaxLength="6" Visible="false"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="form-group"></div>
                                                    <div class="form-group">
                                                        <div class="col-sm-2"></div>
                                                        <div class="col-sm-4 padding-width-lg-left form-controllinebreak">
                                                            <asp:LinkButton ID="btnAddNotifictions" runat="server" TabIndex="13" OnClientClick="ShowPopUp();" Text="&nbsp;&nbsp;Manage Device Notifications" CssClass="btn btn-primary btn-fa-envelope-open" OnClick="btnAddNotifictions_Click"></asp:LinkButton>

                                                            <asp:LinkButton ID="btnAddNotifictions1" runat="server" CssClass="MultilingualBtn" Visible="false"
                                                                TabIndex="15" OnClientClick="ShowPopUp();" OnClick="btnAddNotifictions_Click">
                                                                <span id="Span5" runat="server" class="MultilingualBtnspan">
                                                                    <div class="ManageNotification">
                                                                        <div id="Div1" runat="server" class="MultilingualBtnTextAlign">
                                                                            Manage Device Notifications
                                                                        </div>
                                                                    </div>
                                                                </span>
                                                            </asp:LinkButton>
                                                        </div>
                                                        <div class="col-sm-2">
                                                        </div>
                                                        <div class="col-sm-3 col-xs-4 icon-img">
                                                        </div>
                                                        <div class="col-sm-3 col-xs-5">
                                                        </div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <asp:Panel ID="pnlAMC" runat="server" GroupingText="AMC Details" Visible="false">
                                                <div class="form-group">
                                                    <div class="col-sm-2">
                                                        <asp:Label ID="lblAMC" runat="server" Text="AMC"></asp:Label>
                                                    </div>
                                                    <div class="col-sm-4">
                                                        <asp:RadioButtonList ID="rbnlAMC" runat="server" TabIndex="14" RepeatDirection="Horizontal"
                                                            onclick="return changetextbox('rbnlAMC','txtAMCStrtDt,txtAMCEndDt');" CssClass="radiobtnlst">
                                                            <asp:ListItem Text="Enabled" Value="1" />
                                                            <asp:ListItem Text="Disabled" Value="0" />
                                                        </asp:RadioButtonList>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <div class="col-sm-2">
                                                        <asp:Label ID="lblAMCStrtDt" runat="server" Text="AMC Start Date"></asp:Label>
                                                    </div>
                                                    <div class="col-sm-4 form-controllinebreak">
                                                        <asp:TextBox ID="txtAMCStrtDt" runat="server" onkeypress="return CalendarTab(event);"
                                                            CssClass="form-control" TabIndex="15"></asp:TextBox>
                                                    </div>
                                                    <div class="col-sm-2">
                                                        <asp:Label ID="lblAMCEndDt" runat="server" Text="AMC End Date"></asp:Label>
                                                    </div>
                                                    <div class="col-sm-4">
                                                        <asp:TextBox ID="txtAMCEndDt" runat="server" onkeypress="return CalendarTab(event);"
                                                            CssClass="form-control" TabIndex="16"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <div class="col-sm-12">
                                                        <asp:LinkButton ID="btnAddNotifictionsAMC" runat="server" CssClass="MultilingualBtn"
                                                            OnClientClick="ShowPopUp();" OnClick="btnAddNotifictionsAMC_Click" TabIndex="17">
                                                            <span id="Span2" runat="server" class="MultilingualBtnspan">
                                                                <div class="ManageNotification">
                                                                    <div id="AddNotifictionsButDiv" runat="server" class="MultilingualBtnTextAlign">
                                                                        Manage AMC Notifications
                                                                    </div>
                                                                </div>
                                                            </span>
                                                        </asp:LinkButton>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <div class="form-group">
                                                <div class="col-sm-10">
                                                    <asp:Label ID="Label1" runat="server" ForeColor="Red" Visible="false">*</asp:Label>
                                                    <span class="redtxt">|</span>&nbsp;<asp:Label ID="lblIndicatesMandatory" runat="server">Required Fields</asp:Label>
                                                </div>
                                            </div>
                                            <div class="form-group" align="right">
                                                <div class="col-md-12">
                                                    <div class="col-ks-16">
                                                        <asp:LinkButton ID="ibtnUpdateVehicle" ValidationGroup="vgVeh" runat="server" CssClass="btn btn-primary btn-fa-floppy-o"
                                                            TabIndex="18" CausesValidation="false" OnClientClick="return ValidateDeviceInfo('ibtnUpdateVehicle');"
                                                            OnClick="ibtnUpdateVehicle_Click" Text="&nbsp;&nbsp;Update">
                                                        </asp:LinkButton>
                                                        <asp:LinkButton ID="ibtnAddDevice" runat="server" CssClass="btn btn-primary btn-fa-floppy-o" ValidationGroup="vgVeh"
                                                            TabIndex="19" OnClientClick="return ValidateDeviceInfo('ibtnAddDevice');" OnClick="ibtnAddDevice_Click" Text="&nbsp;&nbsp;Save"> 
                                                        </asp:LinkButton>
                                                        <asp:LinkButton ID="btnUserCancel" runat="server" CssClass="btn btn-primary btn-fa-ban" OnClick="btnUserCancel_Click"
                                                            TabIndex="20" CausesValidation="false" Text="&nbsp;&nbsp;Cancel">
                                                        </asp:LinkButton>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </asp:Panel>
                    <asp:Panel ID="pnlVendorDetailsList" runat="server">
                        <div class="vlive-filter">
                            <div class="container-fluid">
                                <div class="vlive-centrifugal-fan maintenance-plan">
                                    <div class="col-ks-16 vlive-header_VXL">
                                        <div class="col-ks-13">
                                            <asp:Label ID="lblDeviceCapiton" runat="server" CssClass="pnlhearder" Text="Device Management"></asp:Label>
                                        </div>
                                        <div class="col-ks-1">
                                            <dxw:ASPxComboBox ID="ASPxCboExport" runat="server" ValueType="System.String"
                                                ShowImageInEditBox="false" ClientInstanceName="ASPxCboExport" SelectedIndex="0"
                                                EnableTheming="true" Theme="Office2003Blue" CssClass="form-control exportddl"
                                                CssFilePath="~/App_Themes/Office2003Blue/Editors/styles.css" CssPostfix="Office2003_Blue">
                                                <Items>
                                                    <dxw:ListEditItem ImageUrl="../images/icn-pdf.jpg" Text="pdf" Value="pdf" />
                                                    <dxw:ListEditItem ImageUrl="../images/icn-excel.jpg" Text="xls" Value="xls" />
                                                    <dxw:ListEditItem ImageUrl="../images/icn-excel-xlsx.png" Text="xlsx" Value="xlsx" />
                                                    <%-- <dxw:ListEditItem ImageUrl="../images/icn-word.jpg" Text="rtf" Value="rtf" />
                                                                <dxw:ListEditItem ImageUrl="../images/icn-csv.gif" Text="csv" Value="csv" />--%>
                                                </Items>
                                            </dxw:ASPxComboBox>
                                        </div>
                                        <div class="col-ks-2">
                                            <asp:ImageButton ID="btnExport1" runat="server" ImageUrl="~/images/btn-export.jpg"
                                                OnClick="btnExport_Click" Visible="false" />
                                            <asp:LinkButton ID="btnExport" runat="server" CssClass="fa-file-excel-o btn btn-primary" OnClick="btnExport_Click" Text="&nbsp;&nbsp;Export">
                                            </asp:LinkButton>
                                        </div>
                                    </div>
                                    <div class="row ftop">
                                        <div class="col-md-12" style="padding-top: 10px">
                                            <div class="table-responsive">
                                                <dxw:ASPxGridView ID="gvDevice" runat="server" Width="100%" EnableTheming="true" Theme="Office2003Blue"
                                                    EnableViewState="true" KeyFieldName="Sno" CssFilePath="~/App_Themes/Office2003Blue/GridView/styles.css"
                                                    CssPostfix="Office2003_Blue" OnHtmlRowCreated="gvDevice_OnHtmlRowCreated" OnDataBinding="gvDevice_DataBinding">

                                                    <Styles CssFilePath="~/App_Themes/Office2003Blue/GridView/grid.css" AlternatingRow-Enabled="True" Header-Wrap="True"
                                                        CssPostfix="Office2003_Blue">
                                                        <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                                        </Header>
                                                        <LoadingPanel ImageSpacing="10px">
                                                        </LoadingPanel>
                                                        <PagerBottomPanel CssClass="PageFooter">
                                                        </PagerBottomPanel>
                                                        <PagerTopPanel CssClass="PageFooter">
                                                        </PagerTopPanel>
                                                    </Styles>
                                                    <SettingsPager PageSize="15" PrevPageButton-Image-Url="../App_Themes/Office2003Blue/GridView/pPrev.gif"
                                                        PrevPageButton-Image-UrlDisabled="../App_Themes/Office2003Blue/GridView/pPrevDisabled.gif"
                                                        NextPageButton-Image-UrlDisabled="../App_Themes/Office2003Blue/GridView/pNextDisabled.gif"
                                                        NextPageButton-Image-Url="../App_Themes/Office2003Blue/GridView/pNext.gif" AlwaysShowPager="true">
                                                    </SettingsPager>
                                                    <Columns>
                                                        <dxw:GridViewDataColumn FieldName="BoxId" Caption="Equipment ID" VisibleIndex="0"
                                                            CellStyle-HorizontalAlign="Center" Width="10%" HeaderStyle-Wrap="True">
                                                            <HeaderCaptionTemplate>
                                                                <asp:Label ID="lblVendorNameCaption" runat="server" Text="Device ID"></asp:Label>
                                                            </HeaderCaptionTemplate>
                                                        </dxw:GridViewDataColumn>
                                                        <dxw:GridViewDataColumn FieldName="EquipmentSrNo" Caption="EquipmentSrNo" VisibleIndex="1"
                                                            CellStyle-HorizontalAlign="Center" Width="10%" Visible="false" HeaderStyle-Wrap="True">
                                                            <HeaderCaptionTemplate>

                                                                <asp:Label ID="lblVendorNameCaption" runat="server" Text="ESPSrNo"></asp:Label>
                                                            </HeaderCaptionTemplate>
                                                        </dxw:GridViewDataColumn>
                                                        <dxw:GridViewDataColumn FieldName="EquipmentName" Caption="Device Name" VisibleIndex="2"
                                                            CellStyle-Wrap="True" Width="12%" HeaderStyle-HorizontalAlign="Center" CellStyle-HorizontalAlign="Left" HeaderStyle-Wrap="True">
                                                            <HeaderCaptionTemplate>

                                                                <asp:Label ID="lblCntrctprdCaption" runat="server" Text="Device Name"></asp:Label>
                                                            </HeaderCaptionTemplate>
                                                        </dxw:GridViewDataColumn>
                                                        <dxw:GridViewDataColumn FieldName="VehicleTypeName" Caption="Device Type" VisibleIndex="3"
                                                            Width="10%" CellStyle-HorizontalAlign="Left" Visible="true" HeaderStyle-Wrap="True">
                                                            <HeaderCaptionTemplate>

                                                                <asp:Label ID="lblWrkOdrCaption" runat="server" Text="Device Type"></asp:Label>
                                                            </HeaderCaptionTemplate>
                                                        </dxw:GridViewDataColumn>
                                                        <dxw:GridViewDataTextColumn FieldName="DateOfPurchase" Caption="Date Of Commissioning" HeaderStyle-Wrap="True"
                                                            VisibleIndex="3" Width="10%" HeaderStyle-HorizontalAlign="Center" CellStyle-HorizontalAlign="Center">
                                                            <HeaderCaptionTemplate>

                                                                <asp:Label ID="lblCntrctprdCaption" runat="server" Text="Date Of Commissioning"></asp:Label>
                                                            </HeaderCaptionTemplate>
                                                            <HeaderStyle Wrap="True" />
                                                            <PropertiesTextEdit DisplayFormatString="dd-MMM-yyyy" NullDisplayText="-">
                                                            </PropertiesTextEdit>
                                                            <Settings AllowAutoFilter="False" />
                                                        </dxw:GridViewDataTextColumn>
                                                        <dxw:GridViewDataTextColumn FieldName="CustomerName" Caption="Gateway ID" VisibleIndex="4"
                                                            CellStyle-Wrap="True" Width="12%" CellStyle-HorizontalAlign="Left" HeaderStyle-Wrap="True">
                                                            <HeaderCaptionTemplate>

                                                                <asp:Label ID="lblMDaysCaption" runat="server" Text="Gateway ID"></asp:Label>
                                                            </HeaderCaptionTemplate>
                                                            <Settings AllowAutoFilter="True" />
                                                        </dxw:GridViewDataTextColumn>

                                                        <dxw:GridViewDataTextColumn FieldName="OpeningEngineHours" Caption="Opening Running Hours"
                                                            VisibleIndex="5" Width="10%" CellStyle-HorizontalAlign="Center" HeaderStyle-Wrap="True"
                                                            CellStyle-Wrap="True">
                                                            <HeaderCaptionTemplate>

                                                                <asp:Label ID="lblOpeningEngineHours" runat="server" Text="Opening Running Hours"></asp:Label>
                                                            </HeaderCaptionTemplate>
                                                            <Settings AllowAutoFilter="False" />
                                                        </dxw:GridViewDataTextColumn>
                                                        <dxw:GridViewDataTextColumn FieldName="WarrantyStDate" Caption="Battery Replacement On"
                                                            VisibleIndex="5" Width="10%" CellStyle-HorizontalAlign="Center" HeaderStyle-Wrap="True"
                                                            CellStyle-Wrap="True">
                                                            <HeaderCaptionTemplate>

                                                                <asp:Label ID="lblCaptionBattery" runat="server" Text="Battery Replacement On"></asp:Label>
                                                            </HeaderCaptionTemplate>
                                                            <Settings AllowAutoFilter="False" />
                                                        </dxw:GridViewDataTextColumn>
                                                        <%--   <dxw:GridViewDataColumn FieldName="CurrentValues" Caption="Current Running Hours" VisibleIndex="6"
                                                            Width="10%" HeaderStyle-Wrap="True" CellStyle-HorizontalAlign="right">
                                                            <HeaderCaptionTemplate>

                                                                <asp:Label ID="lblOpeningEngineHours" runat="server" Text="Current Running Hours"></asp:Label>
                                                            </HeaderCaptionTemplate>
                                                        </dxw:GridViewDataColumn>--%>
                                                        <dxw:GridViewDataTextColumn FieldName="EmailUserNameList" Caption="Notification"
                                                            VisibleIndex="6" Width="10%" CellStyle-HorizontalAlign="Left" HeaderStyle-Wrap="True"
                                                            CellStyle-Wrap="True">
                                                            <HeaderCaptionTemplate>

                                                                <asp:Label ID="lblMDaysCaption" runat="server" Text="Notification"></asp:Label>
                                                            </HeaderCaptionTemplate>

                                                            <Settings AllowAutoFilter="False" />
                                                        </dxw:GridViewDataTextColumn>

                                                        <%-- <dxw:GridViewDataTextColumn FieldName="Energyconsumption" Caption="Energy Consumption" HeaderStyle-Wrap="True"
                                                            VisibleIndex="9" Width="8%" CellStyle-HorizontalAlign="Center" CellStyle-Wrap="True">
                                                            <HeaderCaptionTemplate>

                                                                <asp:Label ID="lblMDaysCaption" runat="server" Text="Energy Consumption"></asp:Label>
                                                            </HeaderCaptionTemplate>
                                                            <Settings AllowAutoFilter="False" />
                                                        </dxw:GridViewDataTextColumn>
                                                        <dxw:GridViewDataTextColumn FieldName="AMCEndDate" Caption="AMC End Date" VisibleIndex="10"
                                                            Width="10%" CellStyle-HorizontalAlign="Center" Visible="false" HeaderStyle-Wrap="True">
                                                            <HeaderCaptionTemplate>

                                                                <asp:Label ID="lblMDaysCaption" runat="server" Text="AMC End Date"></asp:Label>
                                                            </HeaderCaptionTemplate>
                                                            <Settings AllowAutoFilter="False" />
                                                            <PropertiesTextEdit DisplayFormatString="dd-MMM-yyyy" NullDisplayText="-">
                                                            </PropertiesTextEdit>
                                                        </dxw:GridViewDataTextColumn>--%>
                                                        <dxw:GridViewDataTextColumn Caption="View" Width="3%" Name="View" VisibleIndex="7" HeaderStyle-Wrap="True"
                                                            CellStyle-HorizontalAlign="Center">
                                                            <%--ibtViewVendor_click--%>
                                                            <HeaderTemplate>
                                                            </HeaderTemplate>
                                                            <DataItemTemplate>
                                                                <asp:LinkButton ID="ibView" runat="server" OnClick="ibtViewVendor_click" CommandArgument='<%# Eval("BoxId") %>' CssClass="Grid-btn-fa-binoculars"
                                                                    OnClientClick="return ShowPopUp();" Style="text-decoration: none;" ToolTip="Click to view"></asp:LinkButton>
                                                                <%--<img src="../images/icn-view.gif"/>--%>
                                                            </DataItemTemplate>
                                                        </dxw:GridViewDataTextColumn>
                                                        <%--     <dxw:GridViewDataTextColumn Caption="Shift" Width="3%" Name="View" VisibleIndex="12" HeaderStyle-Wrap="True"
                                                            CellStyle-HorizontalAlign="Center">                                                              
                                                            <HeaderTemplate>
                                                            </HeaderTemplate>
                                                            <DataItemTemplate>
                                                                <asp:LinkButton ID="ibshift" runat="server" OnClick="ibshift_Click" CommandArgument='<%# Eval("BoxId") %>' CssClass="Grid-btn-fa-clock-o"
                                                                    OnClientClick="return ShowPopUp();" Style="text-decoration: none;" ToolTip="View and create shift details"></asp:LinkButton>
                                                              
                                                            </DataItemTemplate>
                                                        </dxw:GridViewDataTextColumn>--%>
                                                        <dxw:GridViewDataTextColumn Caption="Edit" VisibleIndex="8" Width="3%" Name="Edit"
                                                            CellStyle-HorizontalAlign="Center">
                                                            <HeaderTemplate>
                                                            </HeaderTemplate>
                                                            <DataItemTemplate>
                                                                <asp:LinkButton ID="btnUpdateVendor" runat="server" CommandArgument='<%# Eval("BoxId") %>' ToolTip="Click here to Edit" CssClass="Grid-btn-fa-pencil-square-o"
                                                                    OnClientClick="return ShowPopUp();" OnClick="btnUpdateVendor_Click" Style="text-decoration: none;"></asp:LinkButton>
                                                                <%--<img src="../images/icn-edit.gif" alt="View" title="Click here to Edit"/>--%>
                                                            </DataItemTemplate>
                                                        </dxw:GridViewDataTextColumn>
                                                        <dxw:GridViewDataTextColumn Caption="Delete" Width="3%" HeaderStyle-HorizontalAlign="Center" VisibleIndex="9"
                                                            CellStyle-HorizontalAlign="Center">
                                                            <HeaderTemplate>
                                                            </HeaderTemplate>
                                                            <DataItemTemplate>
                                                                <asp:LinkButton ID="lbtnDelete" runat="server" OnClientClick="return ShowPopUp();" CssClass="Grid-btn-fa-trash-o" ToolTip="Click here to Delete"
                                                                    CommandArgument='<%#Eval("BoxId")+","+Eval("VehicleId") %>' OnClick="lbtnDelete_click"></asp:LinkButton>
                                                                <%--<img src="../images/delete-icon.gif" alt="Delete" title="Click here to Delete"/>--%>
                                                            </DataItemTemplate>
                                                        </dxw:GridViewDataTextColumn>
                                                    </Columns>
                                                    <Settings ShowVerticalScrollBar="true" VerticalScrollableHeight="270" />
                                                    <Settings ShowFilterRow="true" ShowFilterRowMenu="True" />
                                                    <SettingsText EmptyDataRow="No Device details found" />
                                                    <SettingsBehavior AllowFocusedRow="false" />
                                                </dxw:ASPxGridView>
                                                <dxw:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server" GridViewID="gvDevice"
                                                    ReportHeader="{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Times New Roman;}{\f1\fnil\fcharset0 Arial;}}
                                                            \viewkind4\uc1\pard\f0\fs20\b\f1\fs28 Vendor Details\par\par\par}"
                                                    DetailHorizontalOffset="1" DetailVerticalOffset="1" MaxColumnWidth="120">
                                                    <Styles>
                                                        <Default VerticalAlign="Middle">
                                                        </Default>
                                                        <Header BackColor="#D1D1D1" Font-Bold="True" Font-Names="Arial" Font-Size="10pt"
                                                            ForeColor="Black" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="false">
                                                        </Header>
                                                        <Cell VerticalAlign="Middle" Wrap="True" Font-Size="8pt" Font-Names="Arial" HorizontalAlign="Left"
                                                            ForeColor="Black">
                                                        </Cell>
                                                    </Styles>
                                                    <PageHeader Center="Fuel Entry Details" VerticalAlignment="Far">
                                                        <Font Bold="True" Names="Arial" Size="10pt" Underline="True"></Font>
                                                    </PageHeader>
                                                    <PageFooter Right="[Page # of Pages #]">
                                                    </PageFooter>
                                                </dxw:ASPxGridViewExporter>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </asp:Panel>

                    <asp:Button ID="btnLoadModel" runat="server" CssClass="btn" Style="display: none"></asp:Button>
                    <asp:Button ID="btnTest" runat="server" OnClick="btnTest_click" CssClass="ControlHide" Text="Test" />
                    <asp:HiddenField ID="hdnCancelsts" runat="server" />
                    <asp:HiddenField ID="hdnselectedays" runat="server" />

                    <asp:Panel ID="pnlAddEditLandmarkCategory" runat="server" CssClass="col-sm-8 col-md-6 col-lg-5" Style="display: none;">
                        <asp:UpdatePanel ID="upLandmarkCate" runat="server">
                            <ContentTemplate>
                                <div class="popup">
                                    <div class="top">
                                        <h1>
                                            <asp:Label ID="lblResetPwd" Text="Customer Information" runat="server"></asp:Label>
                                        </h1>
                                        <div class="close">
                                            <asp:ImageButton ID="ibtClose" runat="server" OnClientClick="CategoryPopup(false, this);" OnClick="btnCancelCustomer_Click"
                                                ImageUrl="~/Images/popup-close.gif" />
                                        </div>
                                        <div class="clear clearfix">
                                        </div>
                                    </div>
                                    <div class="popup-cont">
                                        <div class="form-tbl">
                                            <div class="form-horizontal">
                                                <div class="form-group">
                                                    <div class="col-sm-3 icon-img">
                                                        <asp:Label ID="lblCustomerNme" runat="server" Text="Customer Name"></asp:Label>
                                                        <span style="color: Red">*</span>
                                                    </div>
                                                    <div class="col-sm-9 form-controllinebreak">
                                                        <asp:TextBox ID="txtCustomerNme" runat="server" MaxLength="25" ondrop="return false" onkeypress="return chkAlphaNumericWithSpace(event,this,24);"
                                                            TabIndex="101" CssClass="form-control"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <div class="col-sm-3 icon-img">
                                                        <asp:Label ID="lblLocation" runat="server" Text="Location"></asp:Label>
                                                    </div>
                                                    <div class="col-sm-9">
                                                        <asp:TextBox ID="txtLocation" TextMode="MultiLine" runat="server" Rows="5" TabIndex="102"
                                                            MaxLength="249" onkeypress="return chkDescription(event,this,249);"
                                                            onblur="return disallowScriptTags(this);" CssClass="form-control"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <div class="col-sm-3"></div>
                                                    <div class="col-sm-9">
                                                        <asp:LinkButton ID="btnSaveCustomer" runat="server" CausesValidation="true" TabIndex="103"
                                                            ValidationGroup="vgLandmark" CssClass="MultilingualBtn" OnClientClick="if(ValidateCategory()){ShowPopUp();return true;} else{return false;}"
                                                            OnClick="btnSaveCustomer_Click">
                                                            <span id="Span10" runat="server" class="MultilingualBtnspan">
                                                                <div class="Save">
                                                                    <div id="SaveButDivCategory" runat="server" class="MultilingualBtnTextAlign">
                                                                        Save
                                                                    </div>
                                                                </div>
                                                            </span>
                                                        </asp:LinkButton>
                                                        <asp:LinkButton ID="btnUpdateCustomer" runat="server" CausesValidation="true" TabIndex="104"
                                                            ValidationGroup="vgLandmark" CssClass="MultilingualBtn" Visible="false"
                                                            OnClientClick="if(ValidateCategory()){ShowPopUp();return true;} else{return false;}" OnClick="btnUpdateCustomer_Click">
                                                            <span id="Span13" runat="server" class="MultilingualBtnspan">
                                                                <div class="Update">
                                                                    <div id="UpdateButDivCategory" runat="server" class="MultilingualBtnTextAlign">
                                                                        Update
                                                                    </div>
                                                                </div>
                                                            </span>
                                                        </asp:LinkButton>
                                                        <asp:LinkButton ID="btnDeleteCustomer" runat="server" CssClass="MultilingualBtn" TabIndex="105"
                                                            OnClick="btnDeleteCustomer_Click" OnClientClick="ShowPopUp();">
                                                            <span id="Span11" runat="server" class="MultilingualBtnspan">
                                                                <div class="Delete">
                                                                    <div id="DeleteButDivCategory" runat="server" class="MultilingualBtnTextAlign">
                                                                        Delete
                                                                    </div>
                                                                </div>
                                                            </span>
                                                        </asp:LinkButton>
                                                        <asp:LinkButton ID="btnCancelCustomer" runat="server" CssClass="MultilingualBtn" CausesValidation="false"
                                                            OnClick="btnCancelCustomer_Click" TabIndex="106">
                                                            <span id="Span12" runat="server" class="MultilingualBtnspan">
                                                                <div class="Cancel">
                                                                    <div id="CancelButDivCategory" runat="server" class="MultilingualBtnTextAlign">
                                                                        Cancel
                                                                    </div>
                                                                </div>
                                                            </span>
                                                        </asp:LinkButton>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <asp:HiddenField ID="hdnLandmarkImage" runat="server" />
                            </ContentTemplate>
                            <Triggers>
                                <%--<asp:PostBackTrigger ControlID="btnSaveCustomer" />--%>
                                <%--<asp:PostBackTrigger ControlID="btnDeleteCustomer" />--%>
                            </Triggers>
                        </asp:UpdatePanel>
                    </asp:Panel>
                    <asp:Panel ID="pnlEnergy" runat="server" CssClass="Shift-edit-LandmarkPanel col-sm-8 col-md-6 col-lg-5" Style="display: none;">
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <div class="popup">
                                    <div class="top">
                                        <h1>
                                            <asp:Label ID="Label2" Text="Shift Information" runat="server"></asp:Label>
                                        </h1>
                                        <div class="close">
                                            <%--  <button onclick="return ClosePopup(false, this); false">X</button>--%>
                                            <%-- <asp:ImageButton ID="ImageButton1" runat="server" OnClientClick="return ClosePopup(false, this); false"
                                                ImageUrl="~/Images/popup-close.gif" />--%>
                                            <asp:LinkButton ID="lnkclose" runat="server" OnClientClick="return ClosePopup(false, this); false"
                                                CssClass="Map-btn-fa-times-circle-o" />
                                        </div>
                                        <div class="clear clearfix">
                                        </div>
                                    </div>
                                    <div class="popup-cont">

                                        <div class="form-horizontal">
                                            <div class="form-group">
                                                <div class="col-sm-4 icon-img">
                                                    <span class="redtxt">|</span>&nbsp;<asp:Label ID="Label5" runat="server" Text="Energy Consumption kWH" CssClass="label"></asp:Label>
                                                    <asp:Label ID="Label6" runat="server" ForeColor="Red" Visible="false">*</asp:Label>
                                                </div>
                                                <div class="col-sm-8 form-controllinebreak">
                                                    <asp:RadioButtonList ID="rdlenergy" CssClass="Chkinput" runat="server" RepeatDirection="Horizontal">
                                                        <asp:ListItem Value="1" Text="Shift-wise" Selected="True"></asp:ListItem>
                                                        <asp:ListItem Value="2" Text="24 Hour"></asp:ListItem>
                                                    </asp:RadioButtonList>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <div class="col-sm-4 icon-img">
                                                    <asp:Label ID="Label4" runat="server" Text="No of Shifts"></asp:Label>
                                                    <span style="color: Red; display: none;">*</span>
                                                </div>
                                                <div class="col-sm-6 form-controllinebreak">
                                                    <asp:DropDownList ID="ddlShifts" runat="server" CssClass="form-control man-dat" onchange="javascript:shiftselect();" OnSelectedIndexChanged="ddlShifts_SelectedIndexChanged">
                                                        <asp:ListItem Value="1" Text="1"></asp:ListItem>
                                                        <asp:ListItem Value="2" Text="2"></asp:ListItem>
                                                        <asp:ListItem Value="3" Text="3"></asp:ListItem>
                                                        <asp:ListItem Value="4" Text="4"></asp:ListItem>
                                                        <asp:ListItem Value="5" Text="5"></asp:ListItem>
                                                        <asp:ListItem Value="6" Text="6"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                                <div class="col-md-12">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <div class="col-md-12">
                                                    <div class="panel panel-default col-md-12">
                                                        <div class="panel-body">
                                                            <div class="rTable">
                                                                <div class="rTableRow">
                                                                    <%--<div class="rTableHead">&nbsp;</div>
                                                                <div class="rTableHead"><strong>Start Time</strong></div>
                                                                <div class="rTableHead"><span style="font-weight: bold;">End Time</span></div>--%>
                                                                </div>
                                                                <div class="rTableRow" id="shift1">
                                                                    <div class="rTableCell">Shift 1 :</div>
                                                                    <div class="rTableCell">
                                                                        <asp:TextBox ID="txtsft1s" runat="server" onkeypress="return CalendarTab(event);" AutoCompleteType="Disabled"
                                                                            CssClass="form-control" onblur="Autofillshift()"></asp:TextBox>
                                                                    </div>
                                                                    <div class="rTableCell">
                                                                        <asp:TextBox ID="txtsft1e" ReadOnly="false" runat="server" CssClass="form-control"></asp:TextBox>
                                                                    </div>
                                                                    <script type="text/javascript" src="../JQTimePicker/jquery-2.1.1.min.js"></script>
                                                                    <link id="Link1" runat="server" href="../css/Monitor_css/bootstrap-datetimepicker.css" rel="stylesheet" type="text/css" />
                                                                    <script type="text/javascript" src="../JQTimePicker/moment-with-locales.js"></script>
                                                                    <script type="text/javascript" src="../js/Monitor_js/bootstrap-datetimepicker.js"></script>
                                                                    <script type="text/javascript" src="../js/BDatePicker.js"></script>
                                                                </div>
                                                                <div class="rTableRow" id="shift2" style="display: none">
                                                                    <div class="rTableCell">Shift 2 :</div>
                                                                    <div class="rTableCell">
                                                                        <asp:TextBox ID="txtsft2s" runat="server" CssClass="form-control" onkeypress="return CalendarTab(event);" AutoCompleteType="Disabled"
                                                                            onblur="Autofillshift()"></asp:TextBox>
                                                                    </div>
                                                                    <div class="rTableCell">
                                                                        <asp:TextBox ID="txtsft2e" ReadOnly="true" runat="server" CssClass="form-control"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="rTableRow" id="shift3" style="display: none">
                                                                    <div class="rTableCell">Shift 3 :</div>
                                                                    <div class="rTableCell">
                                                                        <asp:TextBox ID="txtsft3s" runat="server" CssClass="form-control" onkeypress="return CalendarTab(event);" AutoCompleteType="Disabled"
                                                                            onblur="Autofillshift()"></asp:TextBox>
                                                                    </div>
                                                                    <div class="rTableCell">
                                                                        <asp:TextBox ID="txtsft3e" ReadOnly="true" runat="server" CssClass="form-control"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="rTableRow" id="shift4" style="display: none">
                                                                    <div class="rTableCell">Shift 4 :</div>
                                                                    <div class="rTableCell">
                                                                        <asp:TextBox ID="txtsft4s" runat="server" CssClass="form-control" onkeypress="return CalendarTab(event);" AutoCompleteType="Disabled"
                                                                            onblur="Autofillshift()"></asp:TextBox>
                                                                    </div>
                                                                    <div class="rTableCell">
                                                                        <asp:TextBox ID="txtsft4e" ReadOnly="true" runat="server" CssClass="form-control"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="rTableRow" id="shift5" style="display: none">
                                                                    <div class="rTableCell">Shift 5 :</div>
                                                                    <div class="rTableCell">
                                                                        <asp:TextBox ID="txtsft5s" runat="server" onkeypress="return CalendarTab(event);" AutoCompleteType="Disabled"
                                                                            CssClass="form-control" onblur="Autofillshift()"></asp:TextBox>
                                                                    </div>
                                                                    <div class="rTableCell">
                                                                        <asp:TextBox ID="txtsft5e" ReadOnly="true" runat="server" CssClass="form-control"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div class="rTableRow" id="shift6" style="display: none">
                                                                    <div class="rTableCell">Shift 6 :</div>
                                                                    <div class="rTableCell">
                                                                        <asp:TextBox ID="txtsft6s" runat="server" onkeypress="return CalendarTab(event);" AutoCompleteType="Disabled"
                                                                            CssClass="form-control" onblur="Autofillshift()"></asp:TextBox>
                                                                    </div>
                                                                    <div class="rTableCell">
                                                                        <asp:TextBox ID="txtsft6e" ReadOnly="true" runat="server" CssClass="form-control"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="form-group"></div>
                                                            <div class="form-group">
                                                                <div class="col-sm-4"></div>
                                                                <div class="col-sm-8">
                                                                    <asp:LinkButton ID="lnkenergy" runat="server" CausesValidation="true"
                                                                        TabIndex="103" CssClass="btn btn-primary btn-fa-floppy-o" OnClientClick="return ValidateShift();"
                                                                        OnClick="lnkenergy_Click" Text="&nbsp;&nbsp;Save" />
                                                                    <asp:LinkButton ID="lnkenergy1" runat="server" CausesValidation="true" TabIndex="103" Visible="false"
                                                                        ValidationGroup="vgLandmark" CssClass="btn btn-primary btn-fa-floppy-o"
                                                                        OnClick="lnkenergy_Click" OnClientClick="return ValidateShift();">
                                                                        <span id="Span14" runat="server" class="MultilingualBtnspan">
                                                                            <div class="Save">
                                                                                <div id="Div2" runat="server" class="MultilingualBtnTextAlign">
                                                                                    Save
                                                                                </div>
                                                                            </div>
                                                                        </span>
                                                                    </asp:LinkButton>
                                                                    <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="true" TabIndex="104"
                                                                        ValidationGroup="vgLandmark" CssClass="MultilingualBtn" Visible="false"
                                                                        OnClientClick="if(ValidateCategory()){ShowPopUp();return true;} else{return false;}" OnClick="btnUpdateCustomer_Click">
                                                                        <span id="Span15" runat="server" class="MultilingualBtnspan">
                                                                            <div class="Update">
                                                                                <div id="Div3" runat="server" class="MultilingualBtnTextAlign">
                                                                                    Update
                                                                                </div>
                                                                            </div>
                                                                        </span>
                                                                    </asp:LinkButton>
                                                                    <%--<asp:LinkButton ID="LinkButton3" runat="server" CssClass="MultilingualBtn ControlHide" TabIndex="105" 
                                                            OnClick="btnDeleteCustomer_Click" OnClientClick="ShowPopUp();">
                                                            <span id="Span16" runat="server" class="MultilingualBtnspan">
                                                                <div class="Delete">
                                                                    <div id="Div4" runat="server" class="MultilingualBtnTextAlign">
                                                                        Delete
                                                                    </div>
                                                                </div>
                                                            </span>
                                                        </asp:LinkButton>--%>
                                                                    <asp:LinkButton ID="ibtnCancel" runat="server"
                                                                        CausesValidation="false" OnClientClick="ClosePopup(false, this);" OnClick="btnCancelCustomer_Click"
                                                                        TabIndex="106" CssClass="btn btn-primary btn-fa-ban" Text="&nbsp;&nbsp;Cancel" />
                                                                    <asp:LinkButton ID="LinkButton4" runat="server" CssClass="MultilingualBtn" CausesValidation="false" Visible="false"
                                                                        OnClick="btnCancelCustomer_Click" TabIndex="106" OnClientClick="ClosePopup(false, this);">
                                                                        <span id="Span17" runat="server" class="MultilingualBtnspan">
                                                                            <div class="Cancel">
                                                                                <div id="Div5" runat="server" class="MultilingualBtnTextAlign">
                                                                                    Cancel
                                                                                </div>
                                                                            </div>
                                                                        </span>
                                                                    </asp:LinkButton>
                                                                </div>
                                                            </div>
                                                        </div>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                    </div>
                                </div>
                                <asp:HiddenField ID="HiddenField1" runat="server" />
                            </ContentTemplate>
                            <Triggers>
                                <%--<asp:PostBackTrigger ControlID="btnSaveCustomer" />--%>
                                <%--<asp:PostBackTrigger ControlID="btnDeleteCustomer" />--%>
                            </Triggers>
                        </asp:UpdatePanel>
                    </asp:Panel>
                    <asp:Button ID="btnTesting" Style="display: none;" runat="server" />
                    <asp:Panel ID="pnlNotificationsList" runat="server" Style="display: none; width: 90%; position: absolute; top: 20%; left: 7%; z-index: 150;">
                        <asp:UpdatePanel ID="updNotify" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                                <uc3:NotificationsList ID="ucNotificationList" runat="server" NotificationType="4" />
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </asp:Panel>
                    <asp:Panel ID="pnlCompactor" runat="server" CssClass="Shift-edit-LandmarkPanel col-sm-10 col-md-8 col-lg-6" Style="display: none;">
                        <asp:UpdatePanel ID="updpnlcmp" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                                <div class="popup">
                                    <div class="top">
                                        <h1>
                                            <asp:Label ID="lblServiceCategoryHeading" Text="Add / Edit Cateway ID" runat="server"></asp:Label></h1>
                                        <div class="close">
                                            <asp:LinkButton ID="LinkButton1" runat="server" OnClientClick="OpenandCloseModal(false);"
                                                CssClass="Map-btn-fa-times-circle-o" />
                                        </div>
                                        <div class="clear clearfix">
                                        </div>
                                    </div>
                                    <div class="">
                                        <div class="form-tbl form-landmark">
                                            <div class="form-horizontal">
                                                <div>
                                                    <div class="row row-Geozone" style="margin-left: 0px;">
                                                        <div class="col-sm-4 padding-width-lg-left">
                                                            <asp:Label ID="lblCategoryName" runat="server" Text="Gateway USB ID" CssClass="label"></asp:Label>

                                                        </div>
                                                        <div class="col-sm-8">
                                                            <%-- <asp:TextBox ID="txtGatewayId" runat="server" CssClass="form-control man-dat" MaxLength="50" onpaste="return false"
                                                                ondrop="return false" onkeypress="return chkAlphaNumericWithSpace(event,this,49);" Style="text-transform: uppercase"
                                                                Width="" TabIndex="1"></asp:TextBox>--%>
                                                            <asp:TextBox ID="txtGatewayId" runat="server" CssClass="form-control man-dat"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="row row-Geozone" style="margin-left: 0px;">
                                                        <div class="col-sm-4">
                                                            <asp:Label ID="lblDescription" runat="server" Text="Gateway Password" CssClass="label"></asp:Label>
                                                        </div>
                                                        <div class="col-sm-8">
                                                            <asp:TextBox ID="txtGatewayPwd" runat="server" Rows="5" TabIndex="2"
                                                                MaxLength="250" onkeypress="return chkDescription(event,this,249);" CssClass="form-control man-dat" Style="resize: none;"
                                                                onblur="return disallowScriptTags(this);"></asp:TextBox>
                                                            <%--<i class="glyphicon glyphicon-eye-open form-control-feedback"></i>--%>
                                                        </div>
                                                    </div>
                                                    <div class="row row-Geozone" style="margin-left: 0px;">
                                                        <div class="col-sm-12" align="right">
                                                            <asp:LinkButton ID="ibtnSaveGateway" runat="server" CausesValidation="true"
                                                                TabIndex="5" CssClass="btn btn-primary btn-fa-floppy-o" OnClientClick="return ValidateGatewayDts();" OnClick="ibtnSaveGateway_Click"
                                                                Text="&nbsp;&nbsp;Save" />
                                                            <asp:LinkButton ID="ibtnCancelCatetory" runat="server"
                                                                CausesValidation="false" onkeydown="return setFocus(event,'txtGatewayId');"
                                                                OnClientClick="OpenandCloseModal(false);" TabIndex="7" CssClass="btn btn-primary btn-fa-ban" Text="&nbsp;&nbsp;Cancel" />
                                                            <asp:LinkButton ID="ibtnDeleteGateway" runat="server" TabIndex="6" OnClick="ibtnDeleteGateway_Click"
                                                                CssClass="btn btn-primary btn-fa-trash-o" Text="&nbsp;&nbsp;Delete" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </asp:Panel>

                    <asp:Panel ID="pnlAddEditGateway" runat="server" Style="display: none;">
                        <asp:UpdatePanel ID="updGateway" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                                <div class="popup" id="pnlCompactor1">
                                    <div class="top">
                                        <h1>
                                            <asp:Label ID="lblcompTitle" Text="Compactor Details" runat="server"></asp:Label>
                                        </h1>
                                        <div class="close">
                                            <asp:LinkButton ID="lnkCClose" runat="server" OnClientClick="return OpenandCloseModal(false, this); false"
                                                CssClass="Map-btn-fa-times-circle-o" />
                                        </div>
                                        <div class="clear clearfix">
                                        </div>
                                    </div>
                                    <div class="popup-cont">
                                        <div class="form-horizontal">
                                            <div class="col-md-12">
                                                <div class="form-group">
                                                    <div class="col-sm-7 ">
                                                        <asp:Label ID="lblnooffan" runat="server" Text="No.of Fibre Compactors / Fibre Separator Compactors"></asp:Label>
                                                    </div>
                                                    <div class="col-sm-4 form-controllinebreak">
                                                        <asp:DropDownList ID="ddlfan" runat="server" CssClass="form-control" onchange="javascript:CompactorShowHide();">
                                                            <asp:ListItem Value="1" Text="1"></asp:ListItem>
                                                            <asp:ListItem Value="2" Text="2"></asp:ListItem>
                                                            <asp:ListItem Value="3" Text="3"></asp:ListItem>
                                                            <asp:ListItem Value="4" Text="4"></asp:ListItem>
                                                            <asp:ListItem Value="0" Text="Remove All"></asp:ListItem>
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <div class="col-md-12">
                                                    <div class="panel-body">
                                                        <div class="panel panel-default" style="width: 100%; margin-bottom: 8px;" id="divfan1">
                                                            &nbsp;<strong><asp:Label ID="lblhead1" runat="server" Text="Fibre Compactors / Fibre Separator Compactors - 1 :"></asp:Label></strong>
                                                            <div class="form-group">
                                                                <div class="col-sm-3" style="width: 23%;">
                                                                    <asp:RadioButtonList ID="rdbfan1" CssClass="" runat="server" RepeatDirection="Horizontal">
                                                                        <asp:ListItem Value="1" Text="Fiber&nbsp;" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Value="2" Text="Separator"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                                <div class="col-sm-3 form-controllinebreak" style="width: 23%;">
                                                                    <asp:TextBox ID="txtcompaxtorMno1" placeholder="Model#" runat="server" MaxLength="12" CssClass="form-control man-dat" TabIndex="4">
                                                                    </asp:TextBox>
                                                                </div>
                                                                <div class="col-sm-3" style="width: 23%;">
                                                                    <asp:CheckBox ID="chkvfan1" runat="server" CssClass="" Text="&nbsp;Ventilator Fan" onclick="Vanfanchek(this.checked, 'txtvfmodelno1')" />
                                                                </div>
                                                                <div class="col-sm-3 form-controllinebreak" style="width: 23%;">
                                                                    <asp:TextBox ID="txtvfmodelno1" placeholder="Model#" Enabled="false" runat="server" MaxLength="12" CssClass="form-control man-dat" TabIndex="4">
                                                                    </asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="panel panel-default" style="width: 100%; margin-bottom: 8px;" id="divfan2">
                                                            &nbsp;<strong><asp:Label ID="lblhead2" runat="server" Text="Fibre Compactors / Fibre Separator Compactors - 2 :"></asp:Label></strong>
                                                            <div class="form-group">
                                                                <div class="col-sm-3" style="width: 23%;">
                                                                    <asp:RadioButtonList ID="rdbfan2" CssClass="" runat="server" RepeatDirection="Horizontal">
                                                                        <asp:ListItem Value="1" Text="Fiber&nbsp;" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Value="2" Text="Separator"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                                <div class="col-sm-3 form-controllinebreak" style="width: 23%;">
                                                                    <asp:TextBox ID="txtcompaxtorMno2" placeholder="Model#" runat="server" MaxLength="12" CssClass="form-control man-dat" TabIndex="4">
                                                                    </asp:TextBox>
                                                                </div>
                                                                <div class="col-sm-3" style="width: 23%;">
                                                                    <asp:CheckBox ID="chkvfan2" runat="server" CssClass="" Text="&nbsp;Ventilator Fan" onclick="Vanfanchek(this.checked, 'txtvfmodelno2')" />
                                                                </div>
                                                                <div class="col-sm-3 form-controllinebreak" style="width: 23%;">
                                                                    <asp:TextBox ID="txtvfmodelno2" placeholder="Model#" Enabled="false" runat="server" MaxLength="12" CssClass="form-control man-dat" TabIndex="4">
                                                                    </asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="panel panel-default" style="width: 100%; margin-bottom: 8px;" id="divfan3">
                                                            &nbsp;<strong><asp:Label ID="lblhead3" runat="server" Text="Fibre Compactors / Fibre Separator Compactors - 3 :"></asp:Label></strong>
                                                            <div class="form-group">
                                                                <div class="col-sm-3" style="width: 23%;">
                                                                    <asp:RadioButtonList ID="rdbfan3" CssClass="" runat="server" RepeatDirection="Horizontal">
                                                                        <asp:ListItem Value="1" Text="Fiber&nbsp;" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Value="2" Text="Separator"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                                <div class="col-sm-3 form-controllinebreak" style="width: 23%;">
                                                                    <asp:TextBox ID="txtcompaxtorMno3" placeholder="Model#" runat="server" MaxLength="12" CssClass="form-control man-dat" TabIndex="4">
                                                                    </asp:TextBox>
                                                                </div>
                                                                <div class="col-sm-3" style="width: 23%;">
                                                                    <asp:CheckBox ID="chkvfan3" runat="server" CssClass="" Text="&nbsp;Ventilator Fan" onclick="Vanfanchek(this.checked, 'txtvfmodelno3')" />
                                                                </div>
                                                                <div class="col-sm-3 form-controllinebreak" style="width: 23%;">
                                                                    <asp:TextBox ID="txtvfmodelno3" placeholder="Model#" Enabled="false" runat="server" MaxLength="12" CssClass="form-control man-dat" TabIndex="4">
                                                                    </asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="panel panel-default" style="width: 100%; margin-bottom: 8px;" id="divfan4">
                                                            &nbsp;<strong><asp:Label ID="lblhead4" runat="server" Text="Fibre Compactors / Fibre Separator Compactors - 4 :"></asp:Label></strong>
                                                            <div class="form-group">
                                                                <div class="col-sm-3" style="width: 23%;">
                                                                    <asp:RadioButtonList ID="rdbfan4" CssClass="" runat="server" RepeatDirection="Horizontal">
                                                                        <asp:ListItem Value="1" Text="Fiber&nbsp;" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Value="2" Text="Separator"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                                <div class="col-sm-3 form-controllinebreak" style="width: 23%;">
                                                                    <asp:TextBox ID="txtcompaxtorMno4" placeholder="Model#" runat="server" MaxLength="12" CssClass="form-control man-dat" TabIndex="4">
                                                                    </asp:TextBox>
                                                                </div>
                                                                <div class="col-sm-3" style="width: 23%;">
                                                                    <asp:CheckBox ID="chkvfan4" runat="server" CssClass="" Text="&nbsp;Ventilator Fan" onclick="Vanfanchek(this.checked, 'txtvfmodelno4')" />
                                                                </div>
                                                                <div class="col-sm-3 form-controllinebreak" style="width: 23%;">
                                                                    <asp:TextBox ID="txtvfmodelno4" placeholder="Model#" Enabled="false" runat="server" MaxLength="12" CssClass="form-control man-dat" TabIndex="4">
                                                                    </asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="panel panel-default" style="width: 100%; margin-bottom: 8px;" id="divfan0">
                                                            <br />
                                                            <h4 style="text-align: center">Remove All Compactor details</h4>
                                                            <br />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-sm-12" style="padding-top: 10px; padding-bottom: 10px;">
                                            <div class="pull-right">
                                                <asp:LinkButton ID="lnksave" runat="server" CssClass="btn btn-primary btn-fa-floppy-o" CausesValidation="false"
                                                    TabIndex="19" OnClientClick="return ValidationCompactor(lnksave);" Text="&nbsp;&nbsp;Save" OnClick="lnksave_Click"> </asp:LinkButton>

                                                <asp:LinkButton ID="lnkbtnclose" runat="server" CssClass="btn btn-primary btn-fa-ban"
                                                    TabIndex="19" OnClientClick="return OpenandCloseModal(false,this); false" Text="&nbsp;&nbsp;Close"> 
                                                </asp:LinkButton>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                </div>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </asp:Panel>

                    <asp:Panel ID="pnlAddEditGateway1" runat="server" Style="display: none;" CssClass="edit-LandmarkPanel col-sm-8 col-md-6 col-lg-5">
                        <asp:UpdatePanel ID="upGateway" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </asp:Panel>
                    <asp:Panel ID="pnlNotificationsListAMC" runat="server" Style="display: none; width: 90%; position: absolute; top: 150px; left: 50px; z-index: 150;">
                        <asp:UpdatePanel ID="updNotifyAMC" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                                <%--///#<uc6:NotificationsListAMC ID="ucNotificationListAMC" runat="server" NotificationType="4" />///#--%>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </asp:Panel>
                </ContentTemplate>
                <Triggers>
                    <asp:PostBackTrigger ControlID="ibtnAddDevice" />
                    <%--<asp:PostBackTrigger ControlID="ibtnUpdateVendor" />--%>
                    <asp:PostBackTrigger ControlID="btnExport" />
                    <asp:PostBackTrigger ControlID="btnTest" />
                    <%--<asp:PostBackTrigger ControlID="btnAddNotifictions" />
                <asp:PostBackTrigger ControlID="btnAddNotifictionsAMC" />
                <asp:PostBackTrigger ControlID="gvVendor_cell3_4_lnkLegend" /> --%>
                </Triggers>
            </asp:UpdatePanel>

            <div id="divMsg" runat="server" align="center" style="font-weight: bold;">
            </div>

            <!-- Modal -->

            <cc1:ModalPopupExtender ID="mpeProgressIndicator" runat="server" PopupControlID="pnlProgress"
                TargetControlID="Button1" BackgroundCssClass="modalBackground">
            </cc1:ModalPopupExtender>
            <asp:Button ID="Button1" Style="display: none;" runat="server" />
            <asp:Panel ID="pnlProgress" runat="server" CssClass="processMessage" Style="z-index: 1000;">
                <center>
                <br />
                <img id="imgLoad" runat="server" alt="Please Wait ..." src="../images/47.gif" /><br />
                <br />
                <asp:Label ID="lbl_msg12" Text="Processing... Please Wait..." runat="server" CssClass="specialdisplay"></asp:Label>
                <br />
                <br />
            </center>
            </asp:Panel>
            <asp:HiddenField ID="isEdit" runat="server" />
            <script src="../js/ScriptToClearCtrls.js" type="text/javascript"></script>
            <script type="text/javascript" src="../js/GridCheckBoxMaintaining.js"></script>
            <script type="text/javascript" src="../js/DriverManagementScript.js"></script>
            <script type="text/javascript" src="../js/myformvalidations.js"></script>
            <script type="text/javascript" src="../js/FormValidations.js"></script>
            <script src="../js/Mak_ctrlsScripts.js" type="text/javascript"></script>

            <script lang="javascript" type="text/javascript">
                function HidePopUp() {
                    if ($find('mpeProgressIndicator') != undefined) {
                        $find('mpeProgressIndicator').hide();
                    }
                }
                function ShowPopUp() {
                    if ($find('mpeProgressIndicator') != undefined) {
                        $find('mpeProgressIndicator').show();
                    }
                }
                Sys.Browser.WebKit = {}; //Safari 3 is considered WebKit
                if (navigator.userAgent.indexOf('WebKit/') > -1) {
                    Sys.Browser.agent = Sys.Browser.WebKit;
                    Sys.Browser.version = parseFloat(navigator.userAgent.match(/WebKit\/(\d+(\.\d+)?)/)[1]);
                    Sys.Browser.name = 'WebKit';
                }

                var keyValue;
                function OnMoreInfoClick(element) {
                    popup.ShowAtElement(element);

                }
                function popup_Shown(s, e) {

                    popup.ShowAtPos(s, e);
                }

                function equipmentName() {
                    var Etype, Ectype, EName = "";
                    Etype = document.getElementById("ddlEquiptype");
                    sState = Etype.options[Etype.selectedIndex].text;
                    Ectype = document.getElementById("ddlequipsubtype");
                    Category = Ectype.options[Ectype.selectedIndex].text;

                    if (Category != "- Select -") {
                        EName = Category;
                    }

                    if (document.getElementById("txtEquipID").value != null && document.getElementById("txtEquipID").value != '') {
                        EName += "_" + document.getElementById("txtEquipID").value;

                    }

                    document.getElementById("txtEquipName").value = EName;
                }

                function CategoryPopup(isShow, control) {
                    if (document.getElementById('pnlAddEditLandmarkCategory') != null) {
                        document.getElementById('pnlAddEditLandmarkCategory').style.display = (isShow) ? "block" : "none";
                    }
                    if (!isShow) {
                        document.getElementById('ddlCategory').focus();
                    }
                    else {
                        document.getElementById('txtCustomerNme').focus();
                    }
                    if (IsEdit == 0) {
                    }
                    if (isShow && control != null) {
                        document.getElementById('btnDeleteCustomer').style.display = (control.id == 'ibtnEditCustomer') ? "inline-block" : "none";
                        if (control.id == 'ibtnAddCustomer') {
                            document.getElementById('txtCustomerNme').value = '';
                            document.getElementById('txtLocation').value = '';
                        }
                        return true;
                    }
                    return false;
                }
                function ClosePopup(isShow, control) {
                    if (document.getElementById('pnlEnergy') != null) {
                        document.getElementById('pnlEnergy').style.display = (isShow) ? "block" : "none";
                    }
                    if (!isShow) {

                        document.getElementById('ddlShifts').focus();
                        document.getElementById("ddlShifts").value = "1";
                        if (IsEdit == null || IsEdit == 0) {
                            var lnk = document.getElementById("lnkshiftdetails");
                            if (lnk.style.display == "block") {
                                //document.getElementById("rdlenergy_0").checked = true;
                            }
                            else {
                                //document.getElementById("rdlenergy_1").checked = true;
                                document.getElementById("txtsft1s").value = '';
                                document.getElementById("txtsft2s").value = '';
                                document.getElementById("txtsft3s").value = '';
                                document.getElementById("txtsft4s").value = '';
                                document.getElementById("txtsft5s").value = '';
                                document.getElementById("txtsft6s").value = '';
                                document.getElementById("txtsft1e").value = '';
                                document.getElementById("txtsft2e").value = '';
                                document.getElementById("txtsft3e").value = '';
                                document.getElementById("txtsft4e").value = '';
                                document.getElementById("txtsft5e").value = '';
                                document.getElementById("txtsft6e").value = '';
                                //document.getElementById("lnkshiftdetails").style.display = "none";
                            }

                        }
                        else {

                        }

                    }
                    else {
                        document.getElementById('txtCustomerNme').focus();
                    }
                    if (isShow && control != null) {
                        document.getElementById('btnDeleteCustomer').style.display = (control.id == 'ibtnEditCustomer') ? "inline-block" : "none";
                        if (control.id == 'ibtnAddCustomer') {
                            document.getElementById('txtCustomerNme').value = '';
                            document.getElementById('txtLocation').value = '';
                        }
                        return true;
                    }
                    return false;
                }
                function Okpopup() {
                    document.getElementById('pnlEnergy').style.display = "none";
                }
            </script>

            <script type="text/javascript">
                var IsEdit = null;
                function Edit(val) {
                    IsEdit = val;
                }
                function ClearPnl() {
                    document.getElementById("txtsft1s").value = '';
                    document.getElementById("txtsft2s").value = '';
                    document.getElementById("txtsft3s").value = '';
                    document.getElementById("txtsft4s").value = '';
                    document.getElementById("txtsft5s").value = '';
                    document.getElementById("txtsft6s").value = '';
                    document.getElementById("txtsft1e").value = '';
                    document.getElementById("txtsft2e").value = '';
                    document.getElementById("txtsft3e").value = '';
                    document.getElementById("txtsft4e").value = '';
                    document.getElementById("txtsft5e").value = '';
                    document.getElementById("txtsft6e").value = '';
                }


                function shiftselect() {
                    try {
                        var ele = document.getElementById("ddlShifts");
                        var Shift1 = document.getElementById("shift1");
                        var Shift2 = document.getElementById("shift2");
                        var Shift3 = document.getElementById("shift3");
                        var Shift4 = document.getElementById("shift4");
                        var Shift5 = document.getElementById("shift5");
                        var Shift6 = document.getElementById("shift6");
                        var txtend1 = document.getElementById("txtsft1e"); //setattribute("readonly", "readonly");

                        if (ele.value == "1") {
                            Shift1.style.display = "block";
                            txtend1.removeAttribute("readonly");
                            Shift2.style.display = "none";
                            Shift3.style.display = "none";
                            Shift4.style.display = "none";
                            Shift5.style.display = "none";
                            Shift6.style.display = "none";
                        }
                        else if (ele.value == "2") {
                            Shift1.style.display = "block";
                            txtend1.setAttribute("readonly", "readonly");
                            Shift2.style.display = "block";
                            Shift3.style.display = "none";
                            Shift4.style.display = "none";
                            Shift5.style.display = "none";
                            Shift6.style.display = "none";
                        }
                        else if (ele.value == "3") {
                            Shift1.style.display = "block";
                            txtend1.setAttribute("readonly", "readonly");
                            Shift2.style.display = "block";
                            Shift3.style.display = "block";
                            Shift4.style.display = "none";
                            Shift5.style.display = "none";
                            Shift6.style.display = "none";
                        }
                        else if (ele.value == "4") {
                            Shift1.style.display = "block";
                            txtend1.setAttribute("readonly", "readonly");
                            Shift2.style.display = "block";
                            Shift3.style.display = "block";
                            Shift4.style.display = "block";
                            Shift5.style.display = "none";
                            Shift6.style.display = "none";
                        }
                        else if (ele.value == "5") {
                            Shift1.style.display = "block";
                            txtend1.setAttribute("readonly", "readonly");
                            Shift2.style.display = "block";
                            Shift3.style.display = "block";
                            Shift4.style.display = "block";
                            Shift5.style.display = "block";
                        }

                        else {
                            Shift1.style.display = "block";
                            txtend1.setAttribute("readonly", "readonly");
                            Shift2.style.display = "block";
                            Shift3.style.display = "block";
                            Shift4.style.display = "block";
                            Shift5.style.display = "block";
                            Shift6.style.display = "block";
                        }

                        Autofillshift();
                    } catch (e) {

                    }
                }

                function CompactorShowHide() {
                    try {
                        var ddlCompactor = document.getElementById("ddlfan");
                        var divfan2 = document.getElementById("divfan2");
                        var divfan3 = document.getElementById("divfan3");
                        var divfan4 = document.getElementById("divfan4");

                        if (ddlCompactor.value == "1") {
                            divfan1.style.display = "block";
                            divfan2.style.display = "none";
                            divfan3.style.display = "none";
                            divfan4.style.display = "none";
                            divfan0.style.display = "none";
                        }
                        else if (ddlCompactor.value == "2") {
                            divfan1.style.display = "block";
                            divfan2.style.display = "block";
                            divfan3.style.display = "none";
                            divfan4.style.display = "none";
                            divfan0.style.display = "none";
                        }
                        else if (ddlCompactor.value == "3") {
                            divfan1.style.display = "block";
                            divfan2.style.display = "block";
                            divfan3.style.display = "block";
                            divfan4.style.display = "none";
                            divfan0.style.display = "none";
                        }
                        else if (ddlCompactor.value == "4") {
                            divfan1.style.display = "block";
                            divfan2.style.display = "block";
                            divfan3.style.display = "block";
                            divfan4.style.display = "block";
                            divfan0.style.display = "none";
                        }
                        else {
                            divfan1.style.display = "none";
                            divfan2.style.display = "none";
                            divfan3.style.display = "none";
                            divfan4.style.display = "none";
                            divfan0.style.display = "block";
                        }
                    } catch (e) {

                    }

                }

                function Vanfanchek(bEnable, textBoxID) {
                    //alert(bEnable);
                    document.getElementById(textBoxID).disabled = !bEnable;
                    if (!bEnable) {
                        document.getElementById(textBoxID).value = '';
                        //document.getElementById(textBoxID).style.backgroundColor = 'lightgrey'
                    }


                }

                function OpenandCloseModal(Show) {
                    try {

                        if (document.getElementById('pnlCompactor') != null) {
                            document.getElementById('pnlCompactor').style.display = (Show) ? "block" : "none";
                        }

                    } catch (e) {

                    }
                }

                function ValidateGatewayDts() {
                    var GatewayID = document.getElementById('txtGatewayId');
                    var GatewayPwd = document.getElementById('txtGatewayPwd');

                    var isError = false;
                    var controlToBeFocused;
                    var alertMessage = '';

                    if (RemoveSpaces(GatewayID).length == 0) {
                        alertMessage += (alertMessage.length == 0 ? '' : '</br>') + 'Please enter the Gateway ID.';
                        if (!isError) {
                            controlToBeFocused = GatewayID;
                            isError = true;
                        }
                        GatewayID.style.backgroundColor = 'lightyellow';
                    }

                    if (RemoveSpaces(GatewayPwd).length == 0) {
                        alertMessage += (alertMessage.length == 0 ? '' : '</br>') + 'Please enter the Gateway Password.';
                        if (!isError) {
                            //controlToBeFocused = Email;
                            isError = true;
                        }
                        GatewayPwd.style.backgroundColor = 'lightyellow';
                    }

                    if (isError) {
                        //controlToBeFocused.focus();
                        TrinetraCustomAlerts(alertMessage);
                        return false;
                    }
                    else {
                        return true;
                    }
                }

            </script>

            <script type="text/javascript">
                function Autofillshift() {
                    try {
                        var count = document.getElementById("ddlShifts").value;
                        var ts1 = document.getElementById("txtsft1s");
                        var ts2 = document.getElementById("txtsft2s");
                        var ts3 = document.getElementById("txtsft3s");
                        var ts4 = document.getElementById("txtsft4s");
                        var ts5 = document.getElementById("txtsft5s");
                        var ts6 = document.getElementById("txtsft6s");

                        var te1 = document.getElementById("txtsft1e");
                        var te2 = document.getElementById("txtsft2e");
                        var te3 = document.getElementById("txtsft3e");
                        var te4 = document.getElementById("txtsft4e");
                        var te5 = document.getElementById("txtsft5e");
                        var te6 = document.getElementById("txtsft6e");


                        switch (count) {
                            //case "1":
                            //    te1.value = ts1.value;
                            //    break;
                            case "2":
                                te2.value = ts1.value;
                                te1.value = ts2.value;

                                break;
                            case "3":
                                te3.value = ts1.value;
                                te1.value = ts2.value;
                                te2.value = ts3.value;
                                break;
                            case "4":
                                te1.value = ts2.value;
                                te2.value = ts3.value;
                                te3.value = ts4.value;
                                te4.value = ts1.value;
                                break;
                            case "5":
                                te1.value = ts2.value;
                                te2.value = ts3.value;
                                te3.value = ts4.value;
                                te4.value = ts5.value;
                                te5.value = ts1.value;
                                break;
                            case "6":
                                te1.value = ts2.value;
                                te2.value = ts3.value;
                                te3.value = ts4.value;
                                te4.value = ts5.value;
                                te5.value = ts6.value;
                                te6.value = ts1.value;
                                break;
                            default:
                                //alert("def");
                                break;
                        }
                    } catch (e) {

                    }
                }

                function OpenGatewayPopup(isShow) {
                    debugger;
                    if (document.getElementById('pnlAddEditGateway') != null) {
                        document.getElementById('pnlAddEditGateway').style.display = (isShow) ? "block" : "none";
                    }
                    if (!isShow) {
                        document.getElementById('ddlGateway').focus();
                    }
                    //if (isShow && control != null) {
                    //    document.getElementById('ibtnDeleteCategory').style.display = (control.id == 'ibtnEditCategory') ? "block" : "none";
                    //    //if (control.id == 'ibtnAddCategory') {
                    //    //    document.getElementById('txtGatewayId').value = '';
                    //    //    document.getElementById('txtGatewayPwd').value = '';
                    //    //}
                    //    return true;
                    //}
                    return false;
                }
            </script>
            <script type="text/javascript">

                //var textSeparator = ",";
                //function updateText() {
                //    var selectedItems = checkListBox.GetSelectedItems();
                //    checkComboBox.SetText(getSelectedItemsText(selectedItems));
                //    var items = checkListBox.GetSelectedItems();
                //    var text = "";
                //    var values = "";
                //    for (var i = 0; i < items.length; i++) {
                //        text += items[i].text + ",";
                //        values += items[i].value + ",";
                //    }
                //    checkComboBox.SetText(text)
                //    checkComboBox.SetKeyValue(values)
                //}
                //function OnSelectedIndexChanged(s, e) {
                //    var items = listbox.GetSelectedItems();
                //    var text = "";
                //    var values = "";
                //    for (var i = 0; i < items.length; i++) {
                //        text += items[i].text + ";";
                //        values += items[i].value + ";";
                //    }
                //    dd.SetText(text)
                //    dd.SetKeyValue(values);
                //}
                //function synchronizeListBoxValues(dropDown, args) {
                //    checkListBox.UnselectAll();
                //    var texts = dropDown.GetText().split(textSeparator);
                //    var values = getValuesByTexts(texts);
                //    checkListBox.SelectValues(values);
                //    updateText(); // for remove non-existing texts
                //}
                //function getSelectedItemsText(items) {
                //    var texts = [];
                //    for (var i = 0; i < items.length; i++)
                //        texts.push(items[i].text);
                //    return texts.join(textSeparator);
                //}
                //function getValuesByTexts(texts) {
                //    var actualValues = [];
                //    var item;
                //    for (var i = 0; i < texts.length; i++) {
                //        item = checkListBox.FindItemByText(texts[i]);
                //        if (item != null)
                //            actualValues.push(item.value);
                //    }
                //    return actualValues;
                //}
                function RestrictSpace() {
                    if (event.keyCode == 32) {
                        return false;
                    }
                    //validateDev();
                }
            </script>
            <uc2:Footer ID="ucFooter" runat="server" />

            <%--<script type="text/javascript" src="../NewDesign/js/bootstrap.min.js"></script>--%>
            <%--<script src="../css/Multi/bootstrap.min.js"></script>--%>
        </form>
    </div>
    <!-- Content Ends Here -->

</body>
</html>
