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

<%@ Register Assembly="TimePicker" Namespace="MKB.TimePicker" TagPrefix="MKB" %>
<%@ Register Src="~/UserControls/Notification_List.ascx" TagPrefix="uc3" TagName="NotificationsList" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/New_Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/New_Footer.ascx" TagName="Footer" TagPrefix="uc2" %>
<%--<%@ Register Assembly="DevExpress.XtraCharts.v14.2.Web" Namespace="DevExpress.XtraCharts.gvHistoryWeb" TagPrefix="dxchartsui" %>--%>
<%@ Register Assembly="DevExpress.XtraCharts.v14.2" Namespace="DevExpress.XtraCharts" TagPrefix="dxcharts" %>
<%@ Register Assembly="DevExpress.Web.v14.2" Namespace="DevExpress.Web" TagPrefix="dxw" %>
<!DOCTYPE html>
<html lang="en">
<head runat="server">
    <title>tSense-IoT - History</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="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Page-Enter" content="blendTrans(Duration=0)" />
    <meta http-equiv="Page-Exit" content="blendTrans(Duration=0)" />--%>
    <%--<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="dropdown" runat="server" href="../css/dropdown.css" rel="stylesheet" type="text/css" />
    <link id="stylesheet2" runat="server" href="../css/stylesheet2.css" rel="stylesheet" type="text/css" />
    <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" />
    <link id="ieonly" runat="server" rel="stylesheet" type="text/css" href="" />--%>
    <%--Custom Theme for DevEx 14.2--%>
    <%--<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="SHORTCUT ICON" href="../images/favicon.ico" />--%>
    <%--BootStrap Css--%>
    <%--<link id="BootStrapCss" href="../css/bootstrap.css" runat="server" rel="stylesheet" type="text/css" />
    --%>
    <%--End of BootStrap Css--%>
    <%--<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet">--%>
    <link id="mainstyle" runat="server" href="../css/mainstyle.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <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="../js/jquery-3.3.1.min.js"></script><script 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 id="stylesheet2" runat="server" href="../css/stylesheet2.css" rel="stylesheet" type="text/css" />
    <script src="../js/myformvalidations.js" type="text/javascript"></script>
    <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" />
    <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>--%>
    <script type="text/javascript" src="../js/jZip.js"></script>
    <script type="text/javascript">
        function UpdateFibreCompactor() {
            ShowPopUp();
            var btnFibreCompactor1 = document.getElementById('btnFibreCompactorUpdate');
            if (btnFibreCompactor1 != null) {
                document.getElementById("hdnActiveStatus").value = "4";
                btnFibreCompactor1.click();
                return false;
            }
        }
        function UpdateSecondary() {
            ShowPopUp();
            var btnSecondary1 = document.getElementById('btnSecondaryUpdate');
            if (btnSecondary1 != null) {
                document.getElementById("hdnActiveStatus").value = "3";
                btnSecondary1.click();
                return false;
            }
        }
        function UpdatePrimary() {
            ShowPopUp();
            var btnPrimary1 = document.getElementById('btnPrimaryupdate');
            if (btnPrimary1 != null) {
                document.getElementById("hdnActiveStatus").value = "2";
                btnPrimary1.click();
                return false;
            }
        }
        function UpdatePrimary2() {
            ShowPopUp();
            var btnPrimary1 = document.getElementById('btnPrimaryupdate2');
            if (btnPrimary1 != null) {
                document.getElementById("hdnActiveStatus").value = "5";
                btnPrimary1.click();
                return false;
            }
        }
        function UpdateDigital() {
            ShowPopUp();
            var btndigital = document.getElementById('btnDigitalupdate');
            if (btndigital != null) {
                document.getElementById("hdnActiveStatus").value = "1";
                btndigital.click();
                return false;
            }
            alert(document.getElementById("hdnActiveStatus").value);
        }
        function UpdateHistory() {
            ShowPopUp();
            var btnhist = document.getElementById('btnHistory');
            if (btnhist != null) {
                document.getElementById("hdnActiveStatus").value = "0";
                btnhist.click();
                return false;
            }
        }
    </script>
    <style>
        .btn-circle {
            width: 30px;
            height: 30px;
            padding: 6px 0px;
            border-radius: 15px;
            text-align: center;
            font-size: 15px;
            line-height: 1.42857;
        }

        .icons {
            float: left;
            padding: 6px 0px !important;
            margin-top: 20px !important;
        }
        /*.icons a {
                padding: 4px 5px !important;
            }*/
        /*.vlive-reports-section .form-group {
            width: 208px !important;
        }
        a {
            color: #c61620 !important;
        }*/
        /*.maintenance-plan .form-group.form-group-btn .btn-primary {
            border: 1px solid #afb3b7;
            font-size: 14px;
            text-transform: none !important;
            color: #89c4fa;
            font-weight: 600;
            line-height: 10px;
            margin-left: -13px !important;
            padding: 6px 20px;
            background: #FFFFFF;
            background: -moz-linear-gradient(top, #FFFFFF 0%, #D8D5D7 100%);
            background: -webkit-linear-gradient(top, #FFFFFF 0%, #D8D5D7 100%);
            background: linear-gradient(to bottom, #FFFFFF 0%, #D8D5D7 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#D8D5D7',GradientType=1 );
            border-radius: 5px;
        }*/
    </style>
    <script src="../js/wow.min.js"></script>
</head>
<body onload="PerformScrollSetting();" class="white">
    <div class="page-wrapper">
        <form id="form1" runat="server">
            <asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout="360000"
                EnablePartialRendering="true" EnablePageMethods="true">
            </asp:ScriptManager>
            <!-- Header Starts Here -->
            <uc1:Header ID="ucHeader" runat="server" />
            <!-- Nav Ends Here -->
            <!-- Content Starts Here -->
            <div class="preloader"></div>
            <asp:UpdatePanel UpdateMode="Conditional" ID="updPanel" runat="server" OnUnload="UpdatePanel_Unload">
                <ContentTemplate>
                    <div class="vlive-reports-section maintenance">
                        <div class="container-fluid">
                            <div class="row clearfix">
                                <div class="col-sm-1" style="display: none">
                                    <h2 class="pull-left">
                                        <asp:Literal ID="ltHistory" runat="server"></asp:Literal></h2>
                                    <asp:LinkButton ID="lnkHomeCaption" runat="server"></asp:LinkButton>
                                    <span>&gt;</span>
                                    <a href="HistoryPage.aspx">
                                        <asp:Label ID="lblHistoryCaption" runat="server"></asp:Label></a>
                                </div>

                                <div class="col-ks-2_5">
                                    <label for="exampleFormControlSelect1">
                                        <asp:Label runat="server" ID="lblsite" Text="Site"></asp:Label></label>
                                    <asp:DropDownList ID="ddlFleet" runat="server" OnSelectedIndexChanged="ddlFleet_SelectedIndexChanged" CssClass="form-control select2"
                                        AutoPostBack="true">
                                    </asp:DropDownList>
                                </div>
                                <div class="col-ks-2_5">
                                    <label for="exampleFormControlSelect1">
                                        <asp:Label runat="server" ID="lblDevice" Text="Device"></asp:Label></label>
                                    <asp:DropDownList ID="ddlVehicle" runat="server" AutoPostBack="true" CssClass="form-control select2" OnSelectedIndexChanged="ddlVehicle_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </div>
                                <div class="col-ks-2_5">
                                    <label for="exampleFormControlSelect1">
                                        <asp:Label runat="server" ID="lblFrom" Text="From"></asp:Label></label>
                                    <asp:HiddenField runat="server" ID="hdnDateFormat" Value="dd-MMM-yyyy" />
                                    <div class="input-group" id="dtStartDate" runat="server">
                                        <asp:TextBox ID="txtStartDate" runat="server" CssClass="form-control pull-right" oncopy="return false" oncut="return false"
                                            onkeydown="doCheckBackSpaceOrDelete()" onkeypress="return false" onpaste="return false"
                                            ToolTip="dd-MMM-yyyy HH:mm tt" Style="border-bottom-right-radius: 0px !important; border-top-right-radius: 0px !important"></asp:TextBox>
                                        <div class="input-group-addon" style="cursor: pointer">
                                            <i class="fa fa-calendar"></i>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-ks-2_5">
                                    <label for="exampleFormControlSelect1">
                                        <asp:Label runat="server" ID="Label16" Text="To"></asp:Label></label>
                                    <div class="input-group" id="dtEndDate" runat="server">
                                        <asp:TextBox ID="txtEndDate" runat="server" CssClass="form-control" oncopy="return false" oncut="return false"
                                            onkeydown="doCheckBackSpaceOrDelete()" onkeypress="return false" onpaste="return false"
                                            ToolTip="dd-MMM-yyyy HH:mm tt" Style="border-bottom-right-radius: 0px !important; border-top-right-radius: 0px !important"></asp:TextBox>
                                        <div class="input-group-addon" style="cursor: pointer">
                                            <i class="fa fa-calendar"></i>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-ks-3">
                                    <div class="icons col-ks-4">
                                        <a>
                                            <%--<button type="button" class="btn btn-danger btn-circle btn-lg"><i class="fa fa-search"></i></button>--%>
                                            <asp:LinkButton ID="LinkButton3" runat="server" CssClass="btn btn-danger btn-circle btn-lg" OnClientClick="try{if( Validate('V')){ShowPopUp(); return true;} else return false;} catch(Error){return false};"
                                                OnClick="btnView_Click" ToolTip="Update Results"><i class="fa fa-search"></i>
                                            </asp:LinkButton>
                                        </a>
                                    </div>
                                    <div class="col-ks-12 ControlHide" style="margin-top: 27px;">
                                        <%--<button type="button" class="btn btn-danger btn-circle btn-lg"><i class="fa fa-send"></i></button>--%>
                                        <asp:LinkButton ID="LinkButton6" runat="server" CssClass="btn btn-primary btn-fa-send" OnClientClick="try{if(  Validate('C')){ShowPopUp(); return true;} else{return false;};} catch(Error){return false};"
                                            OnClick="btnCommand_Click" ToolTip="Send Limits" Text="&nbsp;&nbsp;Send Limits">
                                        </asp:LinkButton>
                                    </div>
                                    <div class="col-sm-6" align="right" style="display: none">
                                        <asp:LinkButton runat="server" CssClass="fa fa fa-filter" ForeColor="White" Text="&nbsp;&nbsp;Filter" data-toggle="collapse" data-target="#FilterDiv" OnClientClick="return false;"></asp:LinkButton>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <%--<button data-toggle="collapse" data-target="#demo" onclick="return false;">Collapsible</button>--%>
                    <div id="FilterDiv" class="collapse">
                        <div class="row" style="padding-top: 10px;">
                            <div class="col-ks-16">
                                <div runat="server" id="Div_Customer1">
                                    <div class="col-md-1">
                                        <asp:Image ID="Image1" runat="server" ImageUrl="~/images/usernew-icon.gif" AlternateText="Fleet Name" />
                                    </div>
                                    <div class="col-md-2">
                                    </div>
                                </div>
                                <div class="col-md-1">
                                    <asp:Image ID="imgFleetIcon" runat="server" ImageUrl="../images/Zone-icon.gif" AlternateText="Fleet Name" />
                                </div>
                                <div class="col-md-2">
                                </div>
                                <div class="col-md-1">
                                    <asp:Image ID="imgVehicleIcon" runat="server" ImageUrl="../images/vehicle-icon.gif" AlternateText="Device" />
                                </div>
                                <div class="col-md-2">
                                </div>
                                <div class="col-md-2"></div>
                            </div>
                            <div class="col-ks-16" style="padding-top: 10px;">
                                <div class="col-md-1">
                                    <asp:Image ID="imgDurationFrom" runat="server" ImageUrl="../images/calendar-rht-icon.gif"
                                        AlternateText="Duration From" />
                                </div>
                                <div class="col-md-2">
                                    <%--<asp:TextBox ID="txtStartDate" runat="server" oncopy="return false" oncut="return false"
                                            onkeydown="doCheckBackSpaceOrDelete()" onkeypress="return false" onpaste="return false"
                                            CssClass="form-control" ToolTip="dd-MMM-yyyy"></asp:TextBox>--%>
                                    <div class="time1 Responsivetime" style="display: none;">
                                        <MKB:TimeSelector ID="tsFromHrs" runat="server" AmPm="AM" DisplaySeconds="False"
                                            Hour="8" Font-Size="10pt" Height="20px" SelectedTimeFormat="Twelve">
                                        </MKB:TimeSelector>
                                    </div>
                                    <dxw:ASPxTimeEdit ID="tsFromHrs1" runat="server" DateTime="2009/11/01 15:31:34" CssClass="form-control"
                                        EnableTheming="true" Theme="Office2003Blue" Visible="false">
                                        <ValidationSettings ErrorDisplayMode="None" />
                                    </dxw:ASPxTimeEdit>
                                </div>
                                <div class="col-md-1">
                                    <asp:Image ID="imgDurationTo" runat="server" ImageUrl="../images/calendar-lft-icon.gif"
                                        AlternateText="Duration To" />
                                </div>
                                <div class="col-md-2">
                                    <%--                                        <asp:TextBox ID="txtEndDate" runat="server" oncopy="return false" oncut="return false"
                                            CssClass="form-control" onkeydown="doCheckBackSpaceOrDelete()" onkeypress="return false"
                                            onpaste="return false" ToolTip="dd-MMM-yyyy"></asp:TextBox>--%>
                                    <div class="time1 Responsivetime" style="display: none;">
                                        <MKB:TimeSelector ID="tsToHours" runat="server" AmPm="AM" DisplaySeconds="False"
                                            Hour="10" Font-Size="10pt" Height="20px" SelectedTimeFormat="Twelve">
                                        </MKB:TimeSelector>
                                    </div>
                                    <dxw:ASPxTimeEdit ID="tsToHrs1" runat="server" DateTime="2009/11/01 15:31:34" CssClass="form-control"
                                        EnableTheming="true" Theme="Office2003Blue" Visible="false">
                                        <ValidationSettings ErrorDisplayMode="None" />
                                    </dxw:ASPxTimeEdit>
                                    <div class="lft-bor" id="tdPolyCaption" runat="server" style="display: none">
                                        <asp:Label ID="lblPolyline" runat="server" Text="Polyline Style"></asp:Label>
                                    </div>
                                </div>
                                <div class="col-md-1">
                                    <asp:LinkButton ID="btnView" runat="server" CssClass="btn btn-primary fa fa-refresh" OnClientClick="try{if( Validate('V')){ShowPopUp(); return true;} else return false;} catch(Error){return false};"
                                        OnClick="btnView_Click" Text="&nbsp;&nbsp;Update Results">
                                    </asp:LinkButton>
                                </div>
                                <div class="col-md-1">
                                    <asp:LinkButton ID="btnCommand" runat="server" CssClass="btn btn-primary fa fa-arrow-right" OnClientClick="try{if(  Validate('C')){ShowPopUp(); return true;} else{return false;};} catch(Error){return false};"
                                        OnClick="btnCommand_Click" Text="&nbsp;&nbsp;Send Command">
                                    </asp:LinkButton>
                                </div>
                            </div>
                            <script>
                                function openModal() {
                                    //$("#myRepModalEC").modal('hide');
                                    $('.modal-backdrop').hide();
                                    $("#btn").click();
                                    //$('#myComments').modal('show');
                                }
                            </script>
                            <div id="allbutton" style="display: none;">
                                <asp:Button ID="Button1" Style="display: none;" runat="server" />
                                <asp:HiddenField ID="hdnAlarmIDs" runat="server" Value="" />
                                <asp:HiddenField ID="hdnMapItCheckBoxes" runat="server" />
                                <asp:HiddenField ID="hdnInfoBubbleProcessing" runat="server" Value="" />
                                <asp:HiddenField ID="hdnScrollPosition" runat="server" Value="" />
                                <asp:HiddenField ID="hdnMapType" runat="server" Value="N" />
                                <asp:HiddenField ID="hdnLandmarkEntries" runat="server" Value="" />
                                <asp:HiddenField ID="hdnRouteDetails" runat="server" />
                                <asp:HiddenField ID="hdnRoute" runat="server" />
                                <asp:HiddenField ID="hdnlang" runat="server" />
                                <asp:HiddenField ID="hdnMapLng" runat="server" />
                                <asp:HiddenField ID="hdnMapZoomLevel" runat="server" Value="" />
                                <asp:HiddenField ID="hdnCapImage" runat="server" />
                                <asp:HiddenField ID="hdnChartImageVal" runat="server" />
                                <asp:HiddenField ID="hdnRestriction_L" runat="server" />
                                <asp:HiddenField ID="hdnRestriction_G" runat="server" />
                                <input id="chartCrtical" type="hidden" runat="server" />
                                <input id="chartWidth" type="hidden" runat="server" />
                                <input id="chartHeight" type="hidden" runat="server" />
                                <input type="hidden" id="hdnRouteValue" runat="server" />
                                <input type="hidden" id="hdnRouteValue_adv" runat="server" />
                                <asp:HiddenField ID="hdnRetValue" runat="server" />
                            </div>
                            <div class="form-horizontal">
                                <div class="col-sm-12 padding-width-sm">
                                    <div class="col-sm-6 col-md-4 col-lg-3 nullpadding">
                                        <div class="col-sm-12 nullpadding icon-img">
                                        </div>
                                        <div class="col-sm-12 nullpadding icon-img">
                                            <div class="col-xs-6 padding-width-sm">
                                                <div class="col-xs-1 nullpadding override-col-width">
                                                </div>
                                                <div class="col-xs-10 padding-width-sm">
                                                </div>
                                            </div>
                                            <div class="col-xs-6 nullpadding override-col-width">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-sm-12 col-md-5 padding-width-sm">
                                        <div class="col-xs-12 nullpadding icon-label">
                                            <div class="col-xs-11 col-sm-8 col-md-10 col-lg-11 nullpadding">
                                                <div class="lft-bor" align="left" id="tdPolyButtons" runat="server" style="display: none">
                                                    <p style="white-space: nowrap">
                                                        <img id="solid" src="../images/btn-solid-over.jpg" alt="" onclick="try{Draw('solid');}catch(Error){}"
                                                            style="cursor: hand;" />&nbsp;&nbsp;&nbsp;
                                                                        <img id="dot" src="../images/btn-dot.jpg" alt="" onclick="try{Draw('dot');}catch(Error){}"
                                                                            style="cursor: not-allowed;" />&nbsp;&nbsp;&nbsp;
                                                                        <img id="dash" src="../images/btn-dash.jpg" alt="" onclick="try{Draw('dash');}catch(Error){}"
                                                                            style="cursor: not-allowed;" />
                                                    </p>
                                                </div>
                                                <asp:LinkButton ID="lnkTrendHistory" runat="server" CssClass="MultilingualBtn" PostBackUrl="~/Forms/TrendHistory.aspx"
                                                    Visible="false">
                                                    <span id="Span2" runat="server" class="MultilingualBtnspan">
                                                        <div class="Search">
                                                            <div id="Div1" runat="server" class="MultilingualBtnTextAlign">
                                                                Trend History
                                                            </div>
                                                        </div>
                                                    </span>
                                                </asp:LinkButton>
                                                <asp:LinkButton ID="lnkAdvHistory" runat="server" CssClass="MultilingualBtn" PostBackUrl="~/Forms/AdvancedHistoryPage.aspx"
                                                    Visible="false">
                                                    <span id="Span1" runat="server" class="MultilingualBtnspan">
                                                        <div class="Search">
                                                            <div id="AdvanceHistoryButDiv" runat="server" class="MultilingualBtnTextAlign">
                                                                Advanced History
                                                            </div>
                                                        </div>
                                                    </span>
                                                </asp:LinkButton>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
            <div class="vlive-filter">
                <div class="container-fluid">
                    <div class="vlive-centrifugal-fan maintenance-plan">
                        <asp:UpdatePanel ID="updExport" UpdateMode="Conditional" runat="server" OnUnload="UpdatePanel_Unload">
                            <ContentTemplate>
                                <div id="top">
                                    <div class="col-lg-12 vlive-header_VXL" style="display: none;">
                                        <div class="col-md-4 pull-right">
                                            <div class="col-md-2"></div>
                                            <div class="col-md-3">
                                                <asp:Label ID="lblPgCount" runat="server" Text="Page Count"></asp:Label>
                                            </div>
                                            <div class="col-md-2">
                                                <dxw:ASPxComboBox ID="ddlItemsperPage" runat="server" ValueType="System.String" Width="60px" Height="20px"
                                                    ShowImageInEditBox="false" ClientInstanceName="ddlItemsperPage" SelectedIndex="5"
                                                    EnableIncrementalFiltering="true" OnSelectedIndexChanged="ddlItemsperPage_SelectedIndexChanged"
                                                    CssFilePath="~/App_Themes/office2003Blue/Editors/styles.css" CssPostfix="Office2003_Blue"
                                                    AutoPostBack="true" EnableTheming="true" Theme="Office2003Blue">
                                                    <ClientSideEvents SelectedIndexChanged="function(s, e) { ShowPopUp(); }" />
                                                    <Items>
                                                        <dxw:ListEditItem Text="5" Value="5" />
                                                        <dxw:ListEditItem Text="10" Value="10" />
                                                        <dxw:ListEditItem Text="25" Value="25" />
                                                        <dxw:ListEditItem Text="50" Value="50" />
                                                        <dxw:ListEditItem Text="75" Value="75" />
                                                        <dxw:ListEditItem Text="100" Value="100" />
                                                    </Items>
                                                </dxw:ASPxComboBox>
                                            </div>
                                            <div class="col-md-2" style="display: none;">
                                                <dxw:ASPxComboBox ID="ASPxCboExport" runat="server" ValueType="System.String" Width="80px" Height="20px"
                                                    ShowImageInEditBox="false" ItemImage-Height="12px" ClientInstanceName="ASPxCboExport" SelectedIndex="0"
                                                    EnableIncrementalFiltering="true" CssFilePath="~/App_Themes/office2003Blue/Editors/styles.css"
                                                    CssPostfix="Office2003_Blue" EnableTheming="true" Theme="Office2003Blue" Visible="false">
                                                    <Items>
                                                        <dxw:ListEditItem ImageUrl="../images/icn-pdf.jpg" Text="pdf" Value="pdf" />
                                                        <dxw:ListEditItem ImageUrl="../images/icn-excel.jpg" Text="xls" Value="xls" Selected="true" />
                                                        <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-md-4">
                                                <%-- <asp:LinkButton ID="btnExport" runat="server" CssClass="fa fa-file-code-o"
                                                    OnClick="btnExport_Click" OnClientClick="SetExportHiddenValue();" Text="&nbsp;&nbsp;Export To Excel">                                                    
                                                </asp:LinkButton>--%>
                                            </div>
                                            <span class="ControlHide" style="display: none;">
                                                <dxw:ASPxButton ID="btnFieldChooser" runat="server" BackgroundImage-ImageUrl="~/images/icn-addRemoveColumns.png" BackgroundImage-Repeat="NoRepeat" Height="24px"
                                                    Width="24px" Image-AlternateText="Toggle Field Chooser" RenderMode="Link" ToolTip="Toggle Field Chooser" Visible="true">
                                                    <ClientSideEvents Click="function(s,e) {
                                                                if (gvHistory.IsCustomizationWindowVisible())
                                                                    gvHistory.HideCustomizationWindow();
                                                                else
                                                                    {
                                                                    gvHistory.ShowCustomizationWindow();
                                                                    }
                                                                }" />
                                                </dxw:ASPxButton>
                                            </span>
                                        </div>
                                    </div>
                                </div>
                            </ContentTemplate>
                            <Triggers>
                                <asp:PostBackTrigger ControlID="btnExport" />
                                <%--<asp:PostBackTrigger ControlID="lnkDigInputExport" />--%>
                            </Triggers>
                        </asp:UpdatePanel>
                        <div class="clearfix"></div>
                        <div class="row ftop" style="padding-top: 15px;">
                            <div class="col-ks-16">
                                <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <div class="tabs">
                                            <ul class="nav nav-tabs" id="maincontent" role="tablist" style="height: 35px;">
                                                <li class="active" style="display: none;"><a href="#maintenance-plan-details" role="tab" data-toggle="tab" onclick="return UpdateHistory();" class="Lefttab"></a></li>
                                                <li style="display: none;"><a href="#service-details" role="tab" data-toggle="tab" onclick="return UpdateDigital();">Digital Inputs</a></li>
                                                <%--  <li id="liPrimary" runat="server"><a href="#Primary" role="tab" data-toggle="tab" onclick="return UpdatePrimary();">
                                                    <asp:Label runat="server" ID="lblPrimary1" Text="Primary"></asp:Label>
                                                </a></li>
                                                <li runat="server" id="liPrimary2"><a href="#Primary2" role="tab" data-toggle="tab" onclick="return UpdatePrimary2();">
                                                    <asp:Label runat="server" ID="lblPrimary2" Text="Primary - 2"></asp:Label></a></li>
                                                <li id="liSecondary" runat="server"><a href="#Secondary" role="tab" data-toggle="tab" onclick="return UpdateSecondary();">Secondary</a></li>
                                                <li runat="server" id="lnkFibreCompactor"><a href="#FibreCompactor" role="tab" data-toggle="tab" onclick="return UpdateFibreCompactor();">FibreCompactor</a></li>--%>
                                                <li class="pull-right">
                                                    <asp:LinkButton ID="btnExport" runat="server" CssClass="btn-fa-file-excel-o btn btn-primary" OnClick="btnExport_Click" Text="&nbsp;&nbsp;Export to Excel" Style="line-height: 10px; top: 5px; border-radius: 10px;"></asp:LinkButton>
                                                    <asp:HiddenField ID="hdnActiveStatus" runat="server" Value="0" />
                                                </li>
                                            </ul>
                                            <div class="tab-content">
                                                <div class="tab-pane fade in active" id="maintenance-plan-details">
                                                    <div class="row">
                                                        <div class="col-ks-16">
                                                            <asp:UpdatePanel ID="updGrid" runat="server" UpdateMode="Conditional">
                                                                <ContentTemplate>
                                                                    <asp:Button ID="btnHistory" runat="server" OnClick="btnHistory_Click" Style="display: none;"></asp:Button>
                                                                    <dxw:ASPxPopupMenu ID="ExportContextMenu" runat="server" ClientInstanceName="ExportContextMenu"
                                                                        EnableTheming="true" Theme="Office2003Blue" OnItemClick="ExportContextMenu_ItemClick" Visible="true">
                                                                        <Items>
                                                                            <%--<dxw:MenuItem Name="FullMap" Text="Full Screen Map" Image-Url="~/images/fullscreen.png" />
                                                    ToolTip="View history in fullscreen" --%>
                                                                            <dxw:MenuItem Name="ExportToPDF" Text="Export to PDF" Image-Url="../images/icn-pdf.jpg" />
                                                                            <%--ToolTip="Click to Export to PDF"--%>
                                                                            <dxw:MenuItem Name="ExportToXLS" Text="Export to XLS" Image-Url="../images/icn-excel.jpg" />
                                                                            <%--ToolTip="Click to Export to XLS"--%>
                                                                            <dxw:MenuItem Name="ExportToXLSX" Text="Export to XLSX" Image-Url="../images/icn-excel-xlsx.png" />
                                                                            <%--ToolTip="Click to Export to XLSX"--%>
                                                                            <%--<dxw:MenuItem Name="ExportToRTF" Text="Export to RTF" Image-Url="../images/icn-word.jpg" />--%>
                                                                            <%--ToolTip="Click to Export to RTF"--%>
                                                                            <%--<dxw:MenuItem Name="SaveFilterExpression" Text="Save Filter Settings" Image-Url="../imagesButton/btn-devex-filterkey.png" />--%>
                                                                        </Items>
                                                                        <ClientSideEvents ItemClick="function(s, e) { 
                                                                                ExportContextMenu.Hide();
                                                                                switch(e.item.name){
                                                                                    case 'FullMap':
                                                                                        FullscreenHistory();
                                                                                        e.processOnServer=false;
                                                                                        break;                                                    
                                                                                    case 'SaveFilterExpression':
                                                                                        ShowPopUp();
                                                                                        e.processOnServer = false;
                                                                                        __doPostBack('lbtnSaveFilterExpression', '');
                                                                                        break;
                                                                                }
                                                                             }" />
                                                                    </dxw:ASPxPopupMenu>
                                                                    <div class="table-responsive">
                                                                        <div class="col-md-2 pull-right">
                                                                            <div class="col-md-2"></div>
                                                                            <div class="col-md-3" style="display: none;">
                                                                                <asp:Label ID="Label1" runat="server" Text="Page Count"></asp:Label>
                                                                            </div>
                                                                            <div class="col-md-2" style="display: none;">
                                                                                <dxw:ASPxComboBox ID="ASPxComboBox1" runat="server" ValueType="System.String" Width="60px" Height="20px"
                                                                                    ShowImageInEditBox="false" ClientInstanceName="ddlItemsperPage" SelectedIndex="5"
                                                                                    EnableIncrementalFiltering="true" OnSelectedIndexChanged="ddlItemsperPage_SelectedIndexChanged"
                                                                                    CssFilePath="~/App_Themes/office2003Blue/Editors/styles.css" CssPostfix="Office2003_Blue"
                                                                                    AutoPostBack="true" EnableTheming="true" Theme="Office2003Blue">
                                                                                    <ClientSideEvents SelectedIndexChanged="function(s, e) { ShowPopUp(); }" />
                                                                                    <Items>
                                                                                        <dxw:ListEditItem Text="5" Value="5" />
                                                                                        <dxw:ListEditItem Text="10" Value="10" />
                                                                                        <dxw:ListEditItem Text="25" Value="25" />
                                                                                        <dxw:ListEditItem Text="50" Value="50" />
                                                                                        <dxw:ListEditItem Text="75" Value="75" />
                                                                                        <dxw:ListEditItem Text="100" Value="100" />
                                                                                    </Items>
                                                                                </dxw:ASPxComboBox>
                                                                            </div>
                                                                            <div class="col-md-2" style="display: none;">
                                                                                <dxw:ASPxComboBox ID="ASPxComboBox2" runat="server" ValueType="System.String" Width="80px" Height="20px"
                                                                                    ShowImageInEditBox="false" ItemImage-Height="12px" ClientInstanceName="ASPxCboExport" SelectedIndex="0"
                                                                                    EnableIncrementalFiltering="true" CssFilePath="~/App_Themes/office2003Blue/Editors/styles.css"
                                                                                    CssPostfix="Office2003_Blue" EnableTheming="true" Theme="Office2003Blue" Visible="false">
                                                                                    <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>
                                                                        <div class="col-ks-16" style="padding-bottom: 5px; display: none;" align="right">
                                                                            <dxw:ASPxButton ID="ASPxButton1" runat="server" BackgroundImage-ImageUrl="~/images/icn-addRemoveColumns.png" BackgroundImage-Repeat="NoRepeat" Height="24px"
                                                                                Width="24px" Image-AlternateText="Toggle Field Chooser" RenderMode="Link" ToolTip="Toggle Field Chooser" Visible="true">
                                                                                <ClientSideEvents Click="function(s,e) { if (gvHistory.IsCustomizationWindowVisible()) gvHistory.HideCustomizationWindow(); else { gvHistory.ShowCustomizationWindow(); }}" />
                                                                            </dxw:ASPxButton>
                                                                        </div>
                                                                        <dxw:ASPxGridView ID="gvHistory" ClientInstanceName="gvHistory" runat="server" AutoGenerateColumns="False"
                                                                            EnableTheming="true" Theme="Office2003Blue" CssFilePath="~/App_Themes/office2003Blue/GridView/grid.css" CssPostfix="Office2003_Blue"
                                                                            Width="100%" KeyFieldName="MessageInID" Settings-ShowFilterRow="true"
                                                                            EnableViewState="true" OnHtmlRowCreated="gvHistory_OnHtmlRowCreated" OnFillContextMenuItems="gvData_FillContextMenuItems"
                                                                             ClientIDMode="Static">
                                                                            <%-- <SettingsLoadingPanel Mode="ShowAsPopup" />--%>
                                                                            <Styles CssFilePath="~/App_Themes/office2003Blue/GridView/grid.css" AlternatingRow-Enabled="True"
                                                                                CssPostfix="Office2003_Blue">
                                                                                <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                                                                </Header>
                                                                                <LoadingPanel ImageSpacing="10px">
                                                                                </LoadingPanel>
                                                                                <PagerBottomPanel CssClass="PageFooter">
                                                                                </PagerBottomPanel>
                                                                                <PagerTopPanel CssClass="PageFooter">
                                                                                </PagerTopPanel>
                                                                            </Styles>
                                                                            <SettingsPager 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>
                                                                            <SettingsPopup CustomizationWindow-HorizontalAlign="RightSides" CustomizationWindow-VerticalAlign="TopSides" />
                                                                            <SettingsBehavior EnableCustomizationWindow="true" />
                                                                            <SettingsContextMenu Enabled="true" EnableGroupPanelMenu="False" ColumnMenuItemVisibility-GroupByColumn="false"
                                                                                ColumnMenuItemVisibility-ShowGroupPanel="false" EnableFooterMenu="False" ColumnMenuItemVisibility-ShowFooter="false"
                                                                                RowMenuItemVisibility-NewRow="false" RowMenuItemVisibility-EditRow="false" RowMenuItemVisibility-DeleteRow="false" EnableRowMenu="false">
                                                                            </SettingsContextMenu>
                                                                            <Settings ShowFilterBar="Hidden" />
                                                                            <%--Ad-hoc query filter--%>
                                                                            <ClientSideEvents Init="function(s,e) {
                                                                $Hst('.dxgvFilterRow_Office2003Blue').attr('title', '');
                                                                $Hst('.dxgvPagerBottomPanel_Office2003Blue').attr('title', '');                                                            
                                                            }"
                                                                                EndCallback="function(s,e) {
                                                                $Hst('.dxgvFilterRow_Office2003Blue').attr('title', '');
                                                                $Hst('.dxgvPagerBottomPanel_Office2003Blue').attr('title', '');                                                            
                                                            }" />
                                                                            <Columns>
                                                                                <dxw:GridViewDataTextColumn FieldName="MessageInID" Caption="AutoID" Visible="false" ShowInCustomizationForm="false"
                                                                                    VisibleIndex="0">
                                                                                    <DataItemTemplate>
                                                                                        <asp:Label ID="lblAutoID" runat="server" Text='<%# Eval("MessageInID") %> '></asp:Label>
                                                                                    </DataItemTemplate>
                                                                                </dxw:GridViewDataTextColumn>
                                                                                <dxw:GridViewDataTextColumn FieldName="DeviceID" VisibleIndex="0" Width="75" Caption="Device ID" FixedStyle="Left" HeaderStyle-Wrap="True" Visible="false">
                                                                                    <HeaderCaptionTemplate>
                                                                                        <span class="icon">
                                                                                            <asp:Image ID="imgDeviceID" runat="server" ImageUrl="../images/device-icon.gif" ImageAlign="top"
                                                                                                AlternateText="" />
                                                                                        </span>
                                                                                        <span>
                                                                                            <asp:Label ID="Label2" runat="server" Text="Device ID"></asp:Label>
                                                                                        </span>
                                                                                    </HeaderCaptionTemplate>
                                                                                    <DataItemTemplate>
                                                                                        <asp:Label ID="Label3" runat="server" Text='<%# Eval("DeviceID") %> '></asp:Label>
                                                                                    </DataItemTemplate>
                                                                                    <Settings AllowAutoFilter="false" AllowSort="true" ShowFilterRowMenu="false" />
                                                                                </dxw:GridViewDataTextColumn>
                                                                                <dxw:GridViewDataTextColumn FieldName="VehicleDescription" VisibleIndex="2" Caption="Controller ID" FixedStyle="Left"
                                                                                    Width="150px">
                                                                                    <HeaderCaptionTemplate>
                                                                                        <asp:Label ID="Label5" runat="server" Text="Controller ID"></asp:Label>
                                                                                    </HeaderCaptionTemplate>
                                                                                    <DataItemTemplate>
                                                                                        <asp:Label ID="lblVehicleName" runat="server" Text='<%# Eval("VehicleDescription")%>'>
                                                                                        </asp:Label>
                                                                                    </DataItemTemplate>
                                                                                    <Settings AllowAutoFilter="false" AllowSort="false" ShowFilterRowMenu="false" />
                                                                                </dxw:GridViewDataTextColumn>
                                                                                <dxw:GridViewDataDateColumn FieldName="TimestampDisp" VisibleIndex="3" Caption="Date & Time" FixedStyle="Left"
                                                                                    Width="150px">
                                                                                    <HeaderCaptionTemplate>
                                                                                        <asp:Label ID="lblDateTimeCaption" runat="server" Text="Date & Time"></asp:Label>
                                                                                    </HeaderCaptionTemplate>
                                                                                    <DataItemTemplate>
                                                                                        <div class="DateStyle">
                                                                                            <asp:Label ID="lblDateTime" runat="server" Text='<%# Eval("TimestampDisp") %> '></asp:Label>
                                                                                        </div>
                                                                                    </DataItemTemplate>
                                                                                    <Settings AllowAutoFilter="False" AllowSort="True" ShowFilterRowMenu="False" />
                                                                                </dxw:GridViewDataDateColumn>
                                                                                <dxw:GridViewDataTextColumn FieldName="Message" VisibleIndex="4" Visible="False" ShowInCustomizationForm="false">
                                                                                    <DataItemTemplate>
                                                                                        <asp:Label ID="Label18" runat="server" Text='<%# Eval("Message") %>'>
                                                                                        </asp:Label>
                                                                                    </DataItemTemplate>
                                                                                </dxw:GridViewDataTextColumn>
                                                                                <dxw:GridViewDataTextColumn FieldName="MessageDetails" VisibleIndex="5" Caption="Message Details"
                                                                                    Width="200px" CellStyle-Wrap="True" FixedStyle="Left" Visible="false">
                                                                                    <HeaderCaptionTemplate>
                                                                                        <asp:Label ID="lblMsgDetailsCaption" runat="server" Text="Address"></asp:Label>
                                                                                    </HeaderCaptionTemplate>
                                                                                    <DataItemTemplate>
                                                                                        <asp:Label ID="Label19" runat="server" Text='<%# Eval("MessageDetails") %>'> 
                                                                                        </asp:Label>
                                                                                    </DataItemTemplate>
                                                                                </dxw:GridViewDataTextColumn>
                                                                                <dxw:GridViewBandColumn Name="DSE335" Caption="DSE 335" VisibleIndex="6" ShowInCustomizationForm="false">
                                                                                    <Columns>
                                                                                        <dxw:GridViewBandColumn Caption="S1" Name="S1" VisibleIndex="6" ShowInCustomizationForm="false">
                                                                                            <Columns>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_Tot_Watts" Caption="Total Watts" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_Tot_VA" Caption="Total VA" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_Tot_VAr" Caption="Total VAr" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false" Visible="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_KWh" Caption="KW Hours" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false" Visible="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_KVAh" Caption="KVA Hours" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false" Visible="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_KVArh" Caption="KVAr Hours" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false" Visible="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_Freq" Caption="Frequency" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_AvgPF" Caption="Average Power Factor" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewBandColumn Caption="S1 - Power Factor" Name="S1PF" VisibleIndex="0" ShowInCustomizationForm="false" Visible="false">
                                                                                                    <Columns>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L1_PF" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L2_PF" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L3_PF" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                    </Columns>
                                                                                                </dxw:GridViewBandColumn>
                                                                                                <dxw:GridViewBandColumn Caption="S1 - VAr" Name="S1VAr" VisibleIndex="0" ShowInCustomizationForm="false" Visible="false">
                                                                                                    <Columns>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L1_VAr" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L2_VAr" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L2_VAr" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                    </Columns>
                                                                                                </dxw:GridViewBandColumn>
                                                                                                <dxw:GridViewBandColumn Caption="S1 - VA" Name="S1VA" VisibleIndex="0" ShowInCustomizationForm="false" Visible="false">
                                                                                                    <Columns>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L1_VA" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L2_VA" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L3_VA" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                    </Columns>
                                                                                                </dxw:GridViewBandColumn>
                                                                                                <dxw:GridViewBandColumn Caption="S1 - Watts (W)" Name="S1Watts" VisibleIndex="0" ShowInCustomizationForm="false">
                                                                                                    <Columns>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L1_Watts" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L2_Watts" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L3_Watts" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                    </Columns>
                                                                                                </dxw:GridViewBandColumn>
                                                                                                <dxw:GridViewBandColumn Caption="S1 - Current (A)" Name="S1Current" VisibleIndex="0" ShowInCustomizationForm="false">
                                                                                                    <Columns>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L1_Current" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L2_Current" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L3_Current" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                    </Columns>
                                                                                                </dxw:GridViewBandColumn>

                                                                                                <dxw:GridViewBandColumn Caption="S1 - Voltage (V)" Name="S1Voltage" VisibleIndex="0" ShowInCustomizationForm="false">
                                                                                                    <Columns>
                                                                                                         <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L1_N_Voltage" Caption="L1-N" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L2_N_Voltage" Caption="L2-N" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L3_N_Voltage" Caption="L3-N" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L1_L2_Voltage" Caption="L1-L2" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L2_L3_Voltage" Caption="L2-L3" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S1_L3_L1_Voltage" Caption="L3-L1" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                    </Columns>
                                                                                                </dxw:GridViewBandColumn>

                                                                                            </Columns>
                                                                                        </dxw:GridViewBandColumn>
                                                                                        <dxw:GridViewBandColumn Caption="S2" Name="S2" VisibleIndex="7" ShowInCustomizationForm="false">
                                                                                            <Columns>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_Tot_Watts" Caption="Total Watts" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_Tot_VA" Caption="Total VA" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_Tot_VAr" Caption="Total VAr" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false" Visible="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_KWh" Caption="KW Hours" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false" Visible="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_KVAh" Caption="KVA Hours" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false" Visible="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_KVArh" Caption="KVAr Hours" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false" Visible="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_Freq" Caption="Frequency" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_AvgPF" Caption="Average Power Factor" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewBandColumn Caption="S2 - Power Factor" Name="S2PF" VisibleIndex="0" ShowInCustomizationForm="false" Visible="false">
                                                                                                    <Columns>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L1_PF" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L2_PF" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L3_PF" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                    </Columns>
                                                                                                </dxw:GridViewBandColumn>
                                                                                                <dxw:GridViewBandColumn Caption="S2 - VAr" Name="S2VAr" VisibleIndex="0" ShowInCustomizationForm="false" Visible="false">
                                                                                                    <Columns>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L1_VAr" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L2_VAr" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L3_VAr" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                    </Columns>
                                                                                                </dxw:GridViewBandColumn>
                                                                                                <dxw:GridViewBandColumn Caption="S2 - VA" Name="S2VA" VisibleIndex="0" ShowInCustomizationForm="false" Visible="false">
                                                                                                    <Columns>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L1_VA" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L2_VA" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L3_VA" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                    </Columns>
                                                                                                </dxw:GridViewBandColumn>
                                                                                                <dxw:GridViewBandColumn Caption="S2 - Watts (W)" Name="S2Watts" VisibleIndex="0" ShowInCustomizationForm="false" Visible="false">
                                                                                                    <Columns>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L1_Watts" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L2_Watts" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L3_Watts" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                    </Columns>
                                                                                                </dxw:GridViewBandColumn>
                                                                                                <dxw:GridViewBandColumn Caption="S2 - Current (A)" Name="S2Current" VisibleIndex="0" ShowInCustomizationForm="false">
                                                                                                    <Columns>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L1_Current" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L2_Current" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L3_Current" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                    </Columns>
                                                                                                </dxw:GridViewBandColumn>
                                                                                                <dxw:GridViewBandColumn Caption="S2 - Voltage (V)" Name="S2Voltage" VisibleIndex="0" ShowInCustomizationForm="false">
                                                                                                    <Columns>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L1_N_Voltage" Caption="L1-N" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L2_N_Voltage" Caption="L2-N" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L3_N_Voltage" Caption="L3-N" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L1_L2_Voltage" Caption="L1-L2" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L2_L3_Voltage" Caption="L2-L3" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="0" FieldName="S2_L3_L1_Voltage" Caption="L3-L1" CellStyle-HorizontalAlign="Center"
                                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                                        </dxw:GridViewDataTextColumn>
                                                                                                    </Columns>
                                                                                                </dxw:GridViewBandColumn>
                                                                                            </Columns>
                                                                                        </dxw:GridViewBandColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="8" FieldName="Main_Gen_LNVolt" Caption="Mains Line to Neutral Voltages" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Gen_LLVolt" Caption="Line to Line Voltages" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True" ShowInCustomizationForm="false" Visible="false">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                    </Columns>
                                                                                </dxw:GridViewBandColumn>
                                                                                <dxw:GridViewBandColumn Caption="DSE 7410 MKII" Name="DSE7410" VisibleIndex="17">
                                                                                    <Columns>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Gen_Freq" Caption="Generator Frequency (Hz)" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Batt_Volt" Caption="Battery Voltage" CellStyle-HorizontalAlign="Center" Visible="false"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="NumofStarts" Caption="Number of Starts" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Batt_Current" Caption="Plant Battery (V)" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Oil_Temp" Caption="Oil Temperature" CellStyle-HorizontalAlign="Center" Visible="false"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Oil_Pressure" Caption="Oil Pressure (kPa)" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Chrg_Alternator" Caption="Charge Alternator (V)" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Coolant_Temp" Caption="Coolant Temperature (&#176;C)" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="EngineSpeed" Caption="Engine Speed (RPM)" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Engine_RunTime" Caption="Engine Run Time (HH:MM:SS)" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="FuelLevel" Caption="Fuel Level (%)" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Tot_Watts" Caption="Generator Total Watts" CellStyle-HorizontalAlign="Center" ShowInCustomizationForm="false" Visible="false"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Tot_VA" Caption="Generator Total VA" CellStyle-HorizontalAlign="Center" ShowInCustomizationForm="false" Visible="false"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Tot_VAr" Caption="Generator Total VAr" CellStyle-HorizontalAlign="Center" ShowInCustomizationForm="false" Visible="false"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Gen_KWh" Caption="Generator KW Hours" CellStyle-HorizontalAlign="Center" Visible="false"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Gen_KVAh" Caption="Generator KVA Hours" CellStyle-HorizontalAlign="Center" Visible="false"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Gen_KVArh" Caption="Generator KVAr Hours" CellStyle-HorizontalAlign="Center" Visible="false"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Gen_LNVolt" Caption="Generator Line to Neutral Voltages" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True" Visible="false">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Gen_LLVolt" Caption="Generator Line to Line Voltages" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True" Visible="false">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewDataTextColumn VisibleIndex="9" FieldName="Gen_AvgPF" Caption="Generator Average Power Factor" CellStyle-HorizontalAlign="Center"
                                                                                            Width="80px" HeaderStyle-Wrap="True">
                                                                                        </dxw:GridViewDataTextColumn>
                                                                                        <dxw:GridViewBandColumn Caption="Generator Power Factor" Name="Gen_PF" VisibleIndex="17" ShowInCustomizationForm="false" Visible="false">
                                                                                            <Columns>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="18" FieldName="Gen_L1_PF" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="19" FieldName="Gen_L2_PF" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="20" FieldName="Gen_L3_PF" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                            </Columns>
                                                                                        </dxw:GridViewBandColumn>
                                                                                        <dxw:GridViewBandColumn Caption="Generator Var" Name="Gen_VAr" VisibleIndex="17" ShowInCustomizationForm="false" Visible="false">
                                                                                            <Columns>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="18" FieldName="Gen_L1_VAr" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="19" FieldName="Gen_L2_VAr" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="20" FieldName="Gen_L3_VAr" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                            </Columns>
                                                                                        </dxw:GridViewBandColumn>
                                                                                        <dxw:GridViewBandColumn Caption="Generator VA" Name="Gen_VA" VisibleIndex="17" ShowInCustomizationForm="false" Visible="false">
                                                                                            <Columns>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="18" FieldName="Gen_L1_VA" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="19" FieldName="Gen_L2_VA" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="20" FieldName="Gen_L3_VA" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                            </Columns>
                                                                                        </dxw:GridViewBandColumn>
                                                                                        <dxw:GridViewBandColumn Caption="Generator Watts (W)" Name="Gen_Watts" VisibleIndex="17">
                                                                                            <Columns>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="18" FieldName="Gen_L1_Watts" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="19" FieldName="Gen_L2_Watts" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="20" FieldName="Gen_L3_Watts" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                            </Columns>
                                                                                        </dxw:GridViewBandColumn>
                                                                                        <dxw:GridViewBandColumn Caption="Generator Current" Name="Gen_Current" VisibleIndex="17">
                                                                                            <Columns>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="18" FieldName="Gen_L1_Current" Caption="L1" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="19" FieldName="Gen_L2_Current" Caption="L2" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="20" FieldName="Gen_L3_Current" Caption="L3" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                            </Columns>
                                                                                        </dxw:GridViewBandColumn>
                                                                                        <dxw:GridViewBandColumn Caption="VOLTAGE (V)" Name="Gen_VOLTAGE" VisibleIndex="21">
                                                                                            <Columns>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="18" FieldName="GEN_L1_N_VOLT" Caption="L1-N" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="19" FieldName="GEN_L2_N_VOLT" Caption="L2-N" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="20" FieldName="GEN_L3_N_VOLT" Caption="L3-N" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="21" FieldName="GEN_L1_L2_VOLT" Caption="L1-L2" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="22" FieldName="GEN_L2_L3_VOLT" Caption="L2-L3" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                                <dxw:GridViewDataTextColumn VisibleIndex="23" FieldName="GEN_L1_L3_VOLT" Caption="L1-L3" CellStyle-HorizontalAlign="Center"
                                                                                                    Width="80px" HeaderStyle-Wrap="True">
                                                                                                </dxw:GridViewDataTextColumn>
                                                                                            </Columns>
                                                                                        </dxw:GridViewBandColumn>
                                                                                    </Columns>
                                                                                </dxw:GridViewBandColumn>
                                                                            </Columns>
                                                                            <Settings ShowVerticalScrollBar="true" VerticalScrollableHeight="450" HorizontalScrollBarMode="Visible" />
                                                                            <SettingsText EmptyDataRow="No data matching to the search criteria" />
                                                                        </dxw:ASPxGridView>
                                                                        <dxw:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server" ClientIDMode="AutoID" GridViewID="gvHistory"
                                                                            ReportHeader="{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Arial;}}
                                                                    \viewkind4\uc1\pard\qc\b\fs28 History Details\par\pard\par\par}"
                                                                            OnDataBinding="ASPxGridViewExporter1_DataBinding" OnPreRender="ASPxGridViewExporter1_PreRender" OnRenderBrick="ASPxGridViewExporter1_RenderBrick">
                                                                            <PageFooter Right="[Page # of Pages #]">
                                                                            </PageFooter>
                                                                        </dxw:ASPxGridViewExporter>
                                                                    </div>
                                                                    <asp:HiddenField runat="server" ID="hdnGeozoneValue" />
                                                                    <asp:HiddenField ID="hdnGeoCoordinates" runat="server" />
                                                                    <asp:HiddenField ID="hdnMaxGeozoneMarkers" runat="server" />
                                                                    <asp:HiddenField ID="hdnCoordinates" runat="server" />
                                                                </ContentTemplate>
                                                                <Triggers>
                                                                    <asp:PostBackTrigger ControlID="btnExport" />
                                                                </Triggers>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </div>

                                            </div>
                                        </div>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div style="display: none;">
                <div id="outer">
                    <div id="inner">
                        <div id="float-wrap">
                            <!-- Main Content Starts Here -->
                            <div id="content">
                                <div class="content-wrap">
                                    <div id="top-content" class="head-part">
                                    </div>
                                    <div class="clear clearfix"></div>
                                    <div id="grid-dsply">
                                        <div class="clear clearfix">
                                        </div>
                                        <div class="clearfix"></div>
                                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                            <ContentTemplate>
                                                <dxw:ASPxPopupControl ID="popup" runat="server" Width="725px" Height="80px" AllowDragging="True"
                                                    Border-BorderColor="#99BBE8" BackColor="#dfe9f5" HeaderText="Information Panel" HeaderStyle-Font-Bold="true"
                                                    EnableDefaultAppearance="False" ShowCloseButton="true" CloseAction="CloseButton"
                                                    PopupHorizontalAlign="WindowCenter" Top="150" Style="z-index: 10000000;" LoadContentViaCallback="OnFirstShow">
                                                    <ContentStyle CssClass="content">
                                                    </ContentStyle>
                                                    <ContentCollection>
                                                        <dxw:PopupControlContentControl runat="server">
                                                            <asp:Panel runat="server" ID="pnlInfoWindow" Style="width: 100%; background-color: #DFE9F5;">
                                                                <div class="clear clearfix"></div>
                                                                <div class="popup-content">
                                                                    <div class="form-tbl">
                                                                        <div class="form-group">
                                                                            <div class="col-sm-12">
                                                                                <div class="col-sm-6 padding-width-sm">
                                                                                    <asp:Panel runat="server" GroupingText="Vehicle Information" CssClass="innerTable"
                                                                                        ID="pnlVehicleInfo">
                                                                                        <div class="form-horizontal">
                                                                                            <div class="row icon-img" runat="server" id="trVehicleDetails">
                                                                                                <div id="Td1" runat="server" class="col-sm-3  ">
                                                                                                    <asp:Label runat="server" Text="Vehicle Name" ID="lblVehicleNameCaption"></asp:Label>
                                                                                                </div>
                                                                                                <div id="Td2" runat="server" class="col-sm-9 b">
                                                                                                    <asp:Label runat="server" ID="lblVehName"></asp:Label>
                                                                                                </div>
                                                                                            </div>
                                                                                            <div class="row icon-img" runat="server" id="trDeviceID">
                                                                                                <div id="Td3" runat="server" class="col-sm-3  ">
                                                                                                    <asp:Label runat="server" Text="Device ID" ID="lblDeviceIDCaption"></asp:Label>
                                                                                                </div>
                                                                                                <div id="Td4" runat="server" class="col-sm-9 b">
                                                                                                    <asp:Label runat="server" ID="lblBoxiD"></asp:Label>
                                                                                                </div>
                                                                                            </div>
                                                                                            <div class="row icon-img" runat="server" id="trDriverName">
                                                                                                <div id="Td51" runat="server" class="col-sm-3  ">
                                                                                                    <asp:Label ID="lblDriverNameCaption" runat="server" Text="Customer Name: "></asp:Label>
                                                                                                </div>
                                                                                                <div id="Td52" runat="server" class="col-sm-9 b">
                                                                                                    <asp:Label ID="lblDriverName" Font-Bold="true" runat="server" Text=""></asp:Label>
                                                                                                </div>
                                                                                            </div>
                                                                                            <div class="row icon-img" runat="server" id="trMobileNo" visible="false">
                                                                                                <div id="Td53" runat="server" class="col-sm-3  ">
                                                                                                    <asp:Label ID="lblMobileNoCpation" runat="server" Text="Vehicle Name: "></asp:Label>
                                                                                                </div>
                                                                                                <div id="Td54" runat="server" class="col-sm-9 b">
                                                                                                    <asp:Label ID="lblMobileNo" Font-Bold="true" runat="server" Text=""></asp:Label>
                                                                                                </div>
                                                                                            </div>
                                                                                            <div class="row icon-img ControlHide" runat="server" id="trLicPlate">
                                                                                                <div id="Td5" runat="server" class="col-sm-3">
                                                                                                    <asp:Label runat="server" Text="License Plate" ID="lblLicPlateCaption"></asp:Label>
                                                                                                </div>
                                                                                                <div id="Td6" runat="server" class="col-sm-9 b">
                                                                                                    <asp:Label runat="server" ID="lblLicencePlate"></asp:Label>
                                                                                                </div>
                                                                                            </div>
                                                                                        </div>
                                                                                    </asp:Panel>
                                                                                </div>
                                                                                <div class="col-sm-6 padding-width-sm">
                                                                                    <asp:Panel runat="server" GroupingText="Message Details" CssClass="innerTable" ID="pnlMsgDetails">
                                                                                        <div class="form-horizontal">
                                                                                            <div class="row icon-img">
                                                                                                <div class="col-sm-3  ">
                                                                                                    <asp:Label runat="server" Text="Message Details" ID="lblMessageDetails"></asp:Label>
                                                                                                </div>
                                                                                                <div class="col-sm-9 b">
                                                                                                    <span runat="server" id="spMsg"></span>
                                                                                                </div>
                                                                                            </div>
                                                                                            <div class="row icon-img" runat="server" id="trMDTMessage">
                                                                                                <div id="Td7" runat="server" class="col-sm-3  ">
                                                                                                    <asp:Label runat="server" Text="Device Message" ID="lblMDTMsgCaption"></asp:Label>
                                                                                                </div>
                                                                                                <div id="Td8" runat="server" class="col-sm-9 b">
                                                                                                    <asp:Label runat="server" ID="lblMDTMsg"></asp:Label>
                                                                                                </div>
                                                                                            </div>
                                                                                            <div class="row icon-img" runat="server" id="trOriginatedDateTime">
                                                                                                <div id="Td9" runat="server" class="col-sm-3  ">
                                                                                                    <asp:Label runat="server" Text="Originated DateTime" ID="lblOriginatedDateTime"></asp:Label>
                                                                                                </div>
                                                                                                <div id="Td10" runat="server" class="col-sm-9 b">
                                                                                                    <asp:Label runat="server" ID="txtpop_orgDate"></asp:Label>
                                                                                                </div>
                                                                                            </div>
                                                                                            <div class="row icon-img" runat="server" id="trReceivedDateTime">
                                                                                                <div id="Td11" runat="server" class="col-sm-3  ">
                                                                                                    <asp:Label runat="server" Text="Received DateTime" ID="lblReceivedDateTime"></asp:Label>
                                                                                                </div>
                                                                                                <div id="Td12" runat="server" class="col-sm-9 b">
                                                                                                    <asp:Label runat="server" ID="txtpop_recDate"></asp:Label>
                                                                                                </div>
                                                                                            </div>
                                                                                            <div class="row icon-img" runat="server" id="trDeviceIP">
                                                                                                <div id="Td13" runat="server" class="col-sm-3  ">
                                                                                                    <asp:Label runat="server" Text="Communication Info." ID="lblCommInfo"></asp:Label>
                                                                                                </div>
                                                                                                <div id="Td14" runat="server" class="col-sm-9 b">
                                                                                                    <asp:Label runat="server" Text="Device IP" ID="lblDeviceCommInfo"></asp:Label>
                                                                                                </div>
                                                                                            </div>
                                                                                        </div>
                                                                                    </asp:Panel>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="form-group ControlHide" runat="server" id="trGPSInformation">
                                                                            <div id="Td15" runat="server" class="col-sm-12">
                                                                                <asp:Panel runat="server" GroupingText="Location Information" CssClass="col-sm-12 padding-width-sm" ID="pnlLocInfo">
                                                                                    <div class="form-horizontal">
                                                                                        <div class="" runat="server" id="trNoGPSInfo">
                                                                                            <div id="Td16" runat="server" class="col-sm-9 b">
                                                                                                <asp:Label runat="server" ID="lblGPSInformation"></asp:Label>
                                                                                            </div>
                                                                                        </div>
                                                                                        <div runat="server" id="trLocationInfo">
                                                                                            <div id="Td17" runat="server" style="vertical-align: top;">
                                                                                                <div class="row icon-img">
                                                                                                    <div class="col-sm-3  ">
                                                                                                        <asp:Label runat="server" Text="GPS Status" ID="lblValidInfoNote"></asp:Label>
                                                                                                    </div>
                                                                                                    <div class="col-sm-9 b">
                                                                                                        <asp:Label runat="server" ID="lblValidGPS"></asp:Label>
                                                                                                    </div>
                                                                                                </div>
                                                                                                <div class="row icon-img">
                                                                                                    <div class="col-sm-3  ">
                                                                                                        <asp:Label runat="server" Text="Latitude" ID="lblLatCaption"></asp:Label>
                                                                                                    </div>
                                                                                                    <div class="col-sm-9 b">
                                                                                                        <asp:Label runat="server" ID="txtpopup_Latitude"></asp:Label>
                                                                                                    </div>
                                                                                                </div>
                                                                                                <div class="row icon-img">
                                                                                                    <div class="col-sm-3  ">
                                                                                                        <asp:Label runat="server" Text="Longitude" ID="lblLngCaption"></asp:Label>
                                                                                                    </div>
                                                                                                    <div class="col-sm-9 b">
                                                                                                        <asp:Label runat="server" ID="txtpop_Longitude"></asp:Label>
                                                                                                    </div>
                                                                                                </div>
                                                                                                <div class="row icon-img" runat="server" id="trAddress">
                                                                                                    <div id="Td18" runat="server" class="col-sm-3  ">
                                                                                                        <asp:Label runat="server" Text="Address" ID="lblAddressCaption"></asp:Label>
                                                                                                    </div>
                                                                                                    <div id="Td19" runat="server" class="col-sm-9 b">
                                                                                                        <div runat="server" id="txtpop_Address">
                                                                                                        </div>
                                                                                                    </div>
                                                                                                </div>
                                                                                                </table>
                                                                                            </div>
                                                                                        </div>
                                                                                    </div>
                                                                                </asp:Panel>
                                                                            </div>
                                                                        </div>
                                                                        <div class="form-group">
                                                                            <div class="col-sm-12">
                                                                                <div class="col-sm-6 padding-width-sm">
                                                                                    <asp:Panel runat="server" GroupingText="Other Info" CssClass="innerTable" ID="pnlOtherInfo">
                                                                                        <div runat="server" id="trOtherRelatedInformation">
                                                                                            <div id="Td20" runat="server">
                                                                                                <div>
                                                                                                    <asp:Literal runat="server" ID="ltlInformation"></asp:Literal>
                                                                                                </div>
                                                                                            </div>
                                                                                        </div>
                                                                                        <div class="col-sm-12 padding-width-sm ControlHide">
                                                                                            <div class="col-sm-12">
                                                                                                <div class="row icon-img" runat="server" id="trSpeed">
                                                                                                    <div id="Td21" runat="server" class="col-sm-3 nullpadding">
                                                                                                        <asp:Label runat="server" Text="Speed" ID="lblSpeedCaption"></asp:Label>
                                                                                                    </div>
                                                                                                    <div id="Td22" runat="server" class="col-sm-9 b nullpadding">
                                                                                                        <asp:Label runat="server" ID="lblSpeed"></asp:Label>
                                                                                                    </div>
                                                                                                </div>
                                                                                                <div class="row icon-img" runat="server" id="trHeading">
                                                                                                    <div id="Td23" runat="server" class="col-sm-3 nullpadding">
                                                                                                        <asp:Label runat="server" Text="Heading" ID="lblHeadingCaption"></asp:Label>
                                                                                                    </div>
                                                                                                    <div id="Td24" runat="server" class="col-sm-9 b nullpadding">
                                                                                                        <asp:Label runat="server" ID="txtpop_Heading"></asp:Label>
                                                                                                    </div>
                                                                                                </div>
                                                                                                <div class="row icon-img" runat="server" id="trDirection">
                                                                                                    <div id="Td25" runat="server" class="col-sm-3 nullpadding">
                                                                                                        <asp:Label runat="server" Text="Direction" ID="lblDirectionCaption"></asp:Label>
                                                                                                    </div>
                                                                                                    <div id="Td26" runat="server" class="col-sm-9 bnullpadding">
                                                                                                        <asp:Label runat="server" ID="lblDirection"></asp:Label>
                                                                                                    </div>
                                                                                                </div>
                                                                                                <div class="row icon-img" runat="server" id="trOdometerReading">
                                                                                                    <div id="Td27" runat="server" class="col-sm-3 nullpadding">
                                                                                                        <asp:Label runat="server" Text="Odometer" ID="lblOdometerCaption"></asp:Label>
                                                                                                        <%--<asp:Label runat="server" Text="Odometer" ID="lblOdometerCaption1"></asp:Label>--%>
                                                                                                    </div>
                                                                                                    <div id="Td28" runat="server" class="col-sm-9 b nullpadding">
                                                                                                        <asp:Label runat="server" CssClass="innerTable" ID="lblOdometer"></asp:Label>
                                                                                                    </div>
                                                                                                </div>
                                                                                                <div class="row icon-img" runat="server" id="trProtocol">
                                                                                                    <div id="Td29" runat="server" class="col-sm-3 nullpadding">
                                                                                                        <asp:Label runat="server" Text="Protocol Version" ID="lblProtocolVersion"></asp:Label>
                                                                                                    </div>
                                                                                                    <div id="Td30" runat="server" class="col-sm-9 b nullpadding">
                                                                                                        <asp:Label runat="server" ID="txtpop_ProtocolType"></asp:Label>
                                                                                                    </div>
                                                                                                </div>
                                                                                                <div class="row icon-img" runat="server" id="trCarrierMode">
                                                                                                    <div id="Td31" runat="server" class="col-sm-3 nullpadding">
                                                                                                        <asp:Label runat="server" Text="Carrier Mode" ID="lblCarrierModeCaption"></asp:Label>
                                                                                                    </div>
                                                                                                    <div id="Td32" runat="server" class="col-sm-9 b nullpadding">
                                                                                                        <asp:Label runat="server" ID="txtpop_Carrier"></asp:Label>
                                                                                                    </div>
                                                                                                </div>
                                                                                            </div>
                                                                                        </div>
                                                                                    </asp:Panel>
                                                                                </div>
                                                                                <div runat="server" id="trSensorStatus" class="col-sm-6 padding-width-sm ControlHide">
                                                                                    <asp:Panel runat="server" GroupingText="Sensor Status" CssClass="innerTable" ID="pnlSensorStatus">
                                                                                        <asp:Label runat="server" ID="txtpop_SensorMark"></asp:Label>
                                                                                    </asp:Panel>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="clearfix"></div>
                                                                    </div>
                                                                </div>
                                                            </asp:Panel>
                                                            <asp:Panel runat="server" CssClass="modalInfo" ID="pnlMsgOut" Visible="False" Style="width: 100%; background-color: #DFE9F5;">
                                                                <div class="form-tbl">
                                                                    <div class="form-group">
                                                                        <asp:Panel runat="server" GroupingText="Vehicle Information" CssClass="innerTable" ID="pnlVehicleInfoCmd">
                                                                            <div class="form-horizontal">
                                                                                <div class="row icon-img" runat="server" id="trVehicleNameCommand">
                                                                                    <div id="Td33" runat="server" class="col-sm-3">
                                                                                        <asp:Label runat="server" Text="Vehicle Name" ID="lblVehicleName_Command"></asp:Label>
                                                                                    </div>
                                                                                    <div id="Td34" runat="server" class="col-sm-9 b">
                                                                                        <asp:Label runat="server" ID="lblOutVehName"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="row icon-img" runat="server" id="trDeviceIDCommand">
                                                                                    <div id="Td35" runat="server" class="col-sm-3">
                                                                                        <asp:Label runat="server" Text="Device ID" ID="lblDeviceID_Command"></asp:Label>
                                                                                    </div>
                                                                                    <div id="Td36" runat="server" class="col-sm-9 b">
                                                                                        <asp:Label runat="server" ID="lblOutBoxID"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="row icon-img" runat="server" id="trLicPlateCommand">
                                                                                    <div id="Td37" runat="server" class="col-sm-3">
                                                                                        <asp:Label runat="server" Text="License Plate" ID="lblLicPlateCaption_Command"></asp:Label>
                                                                                    </div>
                                                                                    <div id="Td38" runat="server" class="col-sm-9 b">
                                                                                        <asp:Label runat="server" ID="lblOutLicensePlate"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </asp:Panel>
                                                                    </div>
                                                                    <div class="form-group">
                                                                        <asp:Panel runat="server" GroupingText="Command Information" CssClass="innerTable"
                                                                            ID="pnlComamndInfo">
                                                                            <div class="form-horizontal">
                                                                                <div class="row icon-img" runat="server" id="trSentDateTime">
                                                                                    <div id="Td39" runat="server" class="col-sm-3">
                                                                                        <asp:Label runat="server" Text="Sent DateTime" ID="lblSentDateTimeCaption"></asp:Label>
                                                                                    </div>
                                                                                    <div id="Td40" runat="server" class="col-sm-9 b">
                                                                                        <asp:Label runat="server" ID="lblOutsenttime"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="row icon-img" runat="server" id="trSentBy">
                                                                                    <div id="Td41" runat="server" class="col-sm-3">
                                                                                        <asp:Label runat="server" Text="Sent By" ID="lblSentByCaption"></asp:Label>
                                                                                    </div>
                                                                                    <div id="Td42" runat="server" class="col-sm-9 b">
                                                                                        <asp:Label runat="server" ID="lblOutusrName"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="row icon-img" runat="server" id="trCommand">
                                                                                    <div id="Td43" runat="server" class="col-sm-3">
                                                                                        <asp:Label runat="server" Text="Message" ID="lblCommandCaption"></asp:Label>
                                                                                    </div>
                                                                                    <div id="Td44" runat="server" class="col-sm-9 b">
                                                                                        <asp:Label runat="server" ID="lblMessage"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="row icon-img">
                                                                                    <div class="col-sm-3">
                                                                                        <asp:Label runat="server" Text="Command Details" ID="lblCommandDetailsCaption"></asp:Label>
                                                                                    </div>
                                                                                    <div class="col-sm-9 b">
                                                                                        <asp:Label runat="server" ID="lblMsgDetails"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="row icon-img" runat="server" id="trInputsPassed">
                                                                                    <div id="Td45" runat="server" class="col-sm-3">
                                                                                        <asp:Label runat="server" Text="Inputs Passed" ID="lblInputsPassedCaption"></asp:Label>
                                                                                    </div>
                                                                                    <div id="Td46" runat="server" class="col-sm-9 b">
                                                                                        <asp:Label runat="server" ID="lblOutInputs"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="row icon-img" runat="server" id="trProtocolType_command">
                                                                                    <div id="Td47" runat="server" class="col-sm-3">
                                                                                        <asp:Label runat="server" Text="Protocol Type" ID="lblProtocolCaption_Command"></asp:Label>
                                                                                    </div>
                                                                                    <div id="Td48" runat="server" class="col-sm-9 b">
                                                                                        <asp:Label runat="server" ID="lblOutprotocol"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="row icon-img" runat="server" id="trCommandResponse">
                                                                                    <div id="Td49" runat="server" class="col-sm-3">
                                                                                        <asp:Label runat="server" Text="Response" ID="lblResponseCaption"></asp:Label>
                                                                                    </div>
                                                                                    <div id="Td50" runat="server" class="col-sm-9 b">
                                                                                        <asp:Label runat="server" ID="lblOutResp"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </asp:Panel>
                                                                    </div>
                                                                </div>
                                                                <%--</div>
                                                                    </td>
                                                                    <td id="AdvanceSearchPnlRight" runat="server" class="right">&nbsp;
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td id="AdvanceSearchPnlbottoml" runat="server" class="bottom-l">&nbsp;
                                                                    </td>
                                                                    <td class="bottom-m">&nbsp;
                                                                    </td>
                                                                    <td id="AdvanceSearchPnlbottomr" runat="server" class="bottom-r">&nbsp;
                                                                    </td>
                                                                </tr>
                                                            </div>
                                                            <asp:HiddenField runat="server" ID="hdnShowHideControls"></asp:HiddenField>--%>
                                                            </asp:Panel>
                                                        </dxw:PopupControlContentControl>
                                                    </ContentCollection>
                                                    <HeaderStyle CssClass="header">
                                                        <Border BorderStyle="Solid" />
                                                    </HeaderStyle>
                                                    <Border BorderColor="#99BBE8" />
                                                </dxw:ASPxPopupControl>
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                    </div>
                                </div>
                            </div>
                            <!-- Main Content Ends Here -->
                            <div id="left">
                            </div>
                            <div class="clear clearfix">
                            </div>
                        </div>
                        <div id="right">
                            <div class="clear clearfix">
                            </div>
                        </div>
                    </div>
                </div>
                <asp:HiddenField ID="hdnExport" runat="server" Value="0" />
                <asp:HiddenField ID="hdnAddLandmark" runat="server" />
                <!-- Content Ends Here -->
                <!-- LandMark Panel-->
                <asp:UpdatePanel ID="updLandmark" runat="server" UpdateMode="Conditional" OnUnload="UpdatePanel_Unload">
                    <ContentTemplate>
                        <asp:Panel ID="pnlLandmark" runat="server" CssClass="landmarkPanel col-sm-8 col-md-6 col-lg-4">
                            <span id="spLatlng" style="display: none;">
                                <div class="row">
                                    <div class="col-sm-3">
                                        <asp:Label ID="Label24" runat="server" Text="Latitude"></asp:Label>
                                    </div>
                                    <div class="col-sm-3">
                                        <asp:Label ID="Label25" runat="server" Text="Longitude"></asp:Label>
                                    </div>
                                    <div class="col-sm-3">
                                        <asp:TextBox ID="txtlat" runat="server" CssClass="form-control"></asp:TextBox>
                                    </div>
                                    <div class="col-sm-3">
                                        <asp:TextBox ID="txtlong" runat="server" CssClass="form-control"></asp:TextBox>
                                    </div>
                                </div>
                            </span>
                            <div class="popup">
                                <%--<table cellpadding="0" cellspacing="0" border="0" width="100%" class="popup">
                            <tr>
                                <td id="landmarkPnlL" runat="server" class="top-l">&nbsp;
                                </td>
                                <td class="top-m">&nbsp;
                                </td>
                                <td id="landmarkPnlR" runat="server" class="top-r">&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td id="landmarkPnlLeft" runat="server" class="left">&nbsp;
                                </td>
                                <td>--%>
                                <div class="top">
                                    <h1>
                                        <img src="../images/icn-landmark-name.gif" alt="" align="middle" />
                                        <asp:Label ID="lblLandmarkPanel" runat="server" Text="Landmark Panel"></asp:Label>
                                    </h1>
                                    <div class="close">
                                        <asp:ImageButton ID="ibtClose" runat="server" OnClientClick="return ClearLandmarkContents();"
                                            ImageUrl="~/Images/popup-close.gif" />
                                    </div>
                                    <div class="clear clearfix"></div>
                                </div>
                                <div class="popup-cont">
                                    <div class="form-horizontal">
                                        <div class="form-group">
                                            <div class="col-sm-3">
                                                <asp:Label ID="lblLocationName" runat="server" Text="Location Name"></asp:Label>
                                                <span style="color: Red">*</span>
                                            </div>
                                            <div class="col-sm-4">
                                                <asp:TextBox ID="txtLocationName" runat="server" CssClass="form-control" MaxLength="100" onpaste="return false"
                                                    TabIndex="1" ondrop="return false" onkeypress="return chkAlphaNumericWithSpace(event,this,99);"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-3">
                                                <asp:Label ID="lblLocationDesc" runat="server" Text="Location Description"></asp:Label>
                                            </div>
                                            <div class="col-sm-4">
                                                <asp:TextBox ID="txtLocationDesc" runat="server" CssClass="form-control" Rows="5" TextMode="MultiLine" TabIndex="2"
                                                    Height="30px" onblur="return disallowScriptTags(this);" onkeypress="return chkDescription(event,this,249);"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-3">
                                                <asp:Label ID="lblRadius" runat="server" Text="Radius"></asp:Label><span style="color: Red">*</span>
                                            </div>
                                            <div class="col-sm-4">
                                                <asp:TextBox ID="txtRadius" runat="server" CssClass="form-control" onpaste="return false" TabIndex="3" ondrop="return false"
                                                    MaxLength="4" onkeypress="return chkNumeric_only(event);"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-3">
                                                <asp:Label ID="lblStreetAddr" runat="server" Text="Street Address"></asp:Label>
                                            </div>
                                            <div class="col-sm-4">
                                                <asp:TextBox ID="txtstreet" Enabled="false" runat="server" CssClass="form-control" TabIndex="4" TextMode="MultiLine"
                                                    Height="30px" Rows="5" onblur="return disallowScriptTags(this);"
                                                    onkeypress="return chkDescription(event,this,249);"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-3">
                                                <asp:Label ID="lblCategory" runat="server" Text="Category"></asp:Label>
                                            </div>
                                            <div class="col-sm-4">
                                                <asp:DropDownList runat="server" TabIndex="5" ID="ddlCategory" CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-3"></div>
                                            <div class="col-sm-6">
                                                <asp:ImageButton ID="btnAddNotifictions1" runat="server" TabIndex="6" ImageUrl="~/images/btn-manage-notification.jpg"
                                                    OnClick="btnAddNotifictions_Click" OnClientClick="document.getElementById('pnlNotificationsList').style.display = 'block';"
                                                    Text="Add Notifications" Visible="false" />
                                                <asp:LinkButton ID="btnAddNotifictions" runat="server" CssClass="MultilingualBtn"
                                                    OnClientClick="document.getElementById('pnlNotificationsList').style.display = 'block';"
                                                    OnClick="btnAddNotifictions_Click">
                                                    <span id="Span6" runat="server" class="MultilingualBtnspan">
                                                        <div class="ManageNotification">
                                                            <div id="AddNotifictionsButDiv" runat="server" class="MultilingualBtnTextAlign">
                                                                Manage Notifications
                                                            </div>
                                                        </div>
                                                    </span>
                                                </asp:LinkButton>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-3"></div>
                                            <div class="col-sm-6">
                                                <asp:ImageButton runat="server" Text="Cancel" ID="imgCancel1" OnClientClick="return ClearLandmarkContents();"
                                                    TabIndex="8" onkeydown="return setFocus(event,'txtLocationName');" ImageUrl="~/images/btn-cancel.jpg"
                                                    Visible="false" />
                                                <asp:LinkButton ID="btnLandMark" runat="server" CssClass="MultilingualBtn" OnClientClick="if( ValidateLandmarkFields()) {ShowPopUp(); return true;} else{return false;}"
                                                    ValidationGroup="grp">
                                                    <span id="Span7" runat="server" class="MultilingualBtnspan">
                                                        <div class="Save">
                                                            <div id="SaveButDiv" runat="server" class="MultilingualBtnTextAlign">
                                                                Save
                                                            </div>
                                                        </div>
                                                    </span>
                                                </asp:LinkButton>&nbsp;&nbsp;
                                        <asp:LinkButton ID="imgCancel" runat="server" CssClass="MultilingualBtn" OnClientClick="return ClearLandmarkContents();">
                                            <span id="Span8" runat="server" class="MultilingualBtnspan">
                                                <div class="Cancel">
                                                    <div id="CancelButDiv" runat="server" class="MultilingualBtnTextAlign">
                                                        Cancel
                                                    </div>
                                                </div>
                                            </span>
                                        </asp:LinkButton>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <%--</td>
                                <td id="landmarkPnlbottomRight" runat="server" class="right">&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td id="landmarkPnlbottomL" runat="server" class="bottom-l">&nbsp;
                                </td>
                                <td class="bottom-m">&nbsp;
                                </td>
                                <td id="landmarkPnlbottomR" runat="server" class="bottom-r">&nbsp;
                                </td>
                            </tr>
                        </table>--%>
                            </div>
                            <asp:Button ID="btn" runat="server" OnClick="DrawRoute" Style="display: none;" />
                        </asp:Panel>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <!-- Geozone Panel-->
                <asp:UpdatePanel ID="UpdatePanel6" runat="server" UpdateMode="Conditional" OnUnload="UpdatePanel_Unload">
                    <ContentTemplate>
                        <asp:Panel ID="pnlGeozone" runat="server" CssClass="landmarkPanel col-sm-8 col-md-6 col-lg-4">
                            <span id="spLatlng" style="display: none;">
                                <div class="row">
                                    <div class="col-sm-3">
                                        <asp:Label ID="Label6" runat="server" Text="Latitude"></asp:Label>
                                    </div>
                                    <div class="col-sm-3">
                                        <asp:Label ID="Label7" runat="server" Text="Longitude"></asp:Label>
                                    </div>
                                    <div class="col-sm-3">
                                        <asp:TextBox ID="TextBox1" runat="server" CssClass="form-control"></asp:TextBox>
                                    </div>
                                    <div class="col-sm-3">
                                        <asp:TextBox ID="TextBox2" runat="server" CssClass="form-control"></asp:TextBox>
                                    </div>
                                </div>
                            </span>
                            <div class="popup">
                                <div class="top">
                                    <h1>
                                        <img src="../images/icn-geozone.jpg" alt="" align="middle" />
                                        <asp:Label ID="Label8" runat="server" Text="Geozone Panel"></asp:Label>
                                    </h1>
                                    <div class="close">
                                        <asp:ImageButton ID="ImageButton2" runat="server" OnClientClick="return ClearGeozoneContents();"
                                            ImageUrl="~/Images/popup-close.gif" />
                                    </div>
                                    <div class="clear clearfix">
                                    </div>
                                </div>
                                <div class="popup-cont">
                                    <div class="form-horizontal">
                                        <div class="form-group">
                                            <div class="col-sm-3">
                                                <asp:Label ID="Label9" runat="server" Text="Geozone Name"></asp:Label>
                                                <span style="color: Red">*</span>
                                            </div>
                                            <div class="col-sm-4">
                                                <asp:HiddenField ID="hdnGeozoneType" runat="server" Value="3" />
                                                <asp:TextBox ID="txtGeozoneName" runat="server" CssClass="form-control" MaxLength="100" onpaste="return false"
                                                    TabIndex="1" ondrop="return false" onkeypress="return chkAlphaNumericWithSpace(event,this,99);"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-3">
                                                <asp:Label ID="Label10" runat="server" Text="Description"></asp:Label>
                                            </div>
                                            <div class="col-sm-4">
                                                <asp:TextBox ID="txtGeozoneDescription" runat="server" CssClass="form-control" Rows="5" TextMode="MultiLine" TabIndex="2"
                                                    Height="30px" onblur="return disallowScriptTags(this);" onkeypress="return chkDescription(event,this,249);"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-3">
                                                <asp:Label ID="Label14" runat="server" Text="Severity"></asp:Label>
                                                <span style="color: Red">*</span>
                                            </div>
                                            <div class="col-sm-4">
                                                <asp:DropDownList runat="server" TabIndex="5" ID="ddlGeozoneSeverity" CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-3">
                                                <asp:Label ID="Label15" runat="server" Text="Direction"></asp:Label>
                                                <span style="color: Red">*</span>
                                            </div>
                                            <div class="col-sm-4">
                                                <asp:DropDownList runat="server" TabIndex="5" ID="ddlGeozoneDirection" CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-3">
                                                <asp:Label ID="Label13" runat="server" Text="Category"></asp:Label>
                                                <span style="color: Red">*</span>
                                            </div>
                                            <div class="col-sm-4">
                                                <asp:DropDownList runat="server" TabIndex="5" ID="ddlGeozoneCategory" CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="ControlHide" id="dGeozoneRadiusDiv">
                                            <div class="col-sm-3">
                                                <asp:Label ID="Label11" runat="server" Text="Radius"></asp:Label><span style="color: Red">*</span>
                                            </div>
                                            <div class="col-sm-4">
                                                <asp:TextBox ID="txtGeozoneRadius" runat="server" CssClass="form-control" onpaste="return false" TabIndex="3" ondrop="return false"
                                                    MaxLength="4" onkeypress="return chkNumeric_only(event);"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-3"></div>
                                            <div class="col-sm-6">
                                                <asp:ImageButton ID="ImageButton3" runat="server" TabIndex="6" ImageUrl="~/images/btn-manage-notification.jpg"
                                                    OnClick="btnAddNotifictions_Click" OnClientClick="document.getElementById('pnlNotificationsList').style.display = 'block';"
                                                    Text="Add Notifications" Visible="false" />
                                                <asp:LinkButton ID="btnAddNotifictions_G" runat="server" CssClass="MultilingualBtn"
                                                    OnClientClick="document.getElementById('pnlNotificationsList').style.display = 'block';"
                                                    OnClick="btnAddNotifictionsG_Click">
                                                    <span id="Span22" runat="server" class="MultilingualBtnspan">
                                                        <div class="ManageNotification">
                                                            <div id="Div10" runat="server" class="MultilingualBtnTextAlign">
                                                                Manage Notifications
                                                            </div>
                                                        </div>
                                                    </span>
                                                </asp:LinkButton>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-3"></div>
                                            <div class="col-sm-6">
                                                <asp:ImageButton runat="server" Text="Cancel" ID="ImageButton5" OnClientClick="return ClearLandmarkContents();"
                                                    TabIndex="8" onkeydown="return setFocus(event,'txtLocationName');" ImageUrl="~/images/btn-cancel.jpg"
                                                    Visible="false" />
                                                <asp:LinkButton ID="LinkButton4" runat="server" CssClass="MultilingualBtn" OnClientClick="if(ValidateGeozonePanelEntries()) {ShowPopUp(); return true;} else{return false;}"
                                                    ValidationGroup="grp">
                                                    <span id="Span23" runat="server" class="MultilingualBtnspan">
                                                        <div class="Save">
                                                            <div id="Div11" runat="server" class="MultilingualBtnTextAlign">
                                                                Save
                                                            </div>
                                                        </div>
                                                    </span>
                                                </asp:LinkButton>&nbsp;&nbsp;
                                        <asp:LinkButton ID="LinkButton5" runat="server" CssClass="MultilingualBtn" OnClientClick="return ClearGeozoneContents();">
                                            <span id="Span24" runat="server" class="MultilingualBtnspan">
                                                <div class="Cancel">
                                                    <div id="Div12" runat="server" class="MultilingualBtnTextAlign">
                                                        Cancel
                                                    </div>
                                                </div>
                                            </span>
                                        </asp:LinkButton>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </asp:Panel>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <asp:Panel ID="pnlNotificationsList" runat="server" CssClass="manageNotificationPanel col-xs-9 nullpadding">
                    <asp:UpdatePanel ID="updNotify" runat="server" UpdateMode="Conditional" OnUnload="UpdatePanel_Unload">
                        <ContentTemplate>
                            <uc3:NotificationsList ID="ucNotificationList" runat="server" NotificationType="3" />
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </asp:Panel>
                <input type="hidden" id="hdnInput" name="hdnInput" style="display: none" />
                <input type="hidden" id="hdnMapItValue" name="hdnMapItValue" runat="server" style="display: none" />
                <asp:HiddenField ID="hdnLogout" runat="server" />
            </div>
            <cc1:ModalPopupExtender ID="mpeProgressIndicator" runat="server" PopupControlID="progressPopUp"
                TargetControlID="btnTesting" BackgroundCssClass="modalBackground">
            </cc1:ModalPopupExtender>
            <asp:Button ID="btnTesting" Style="display: none;" runat="server" />
            <asp:Panel ID="progressPopUp" runat="server" CssClass="processMessage" Style="display: none;">
                <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>
            <script type="text/javascript">
                $Hst = jQuery.noConflict();
                var keyValue;
                function OnMoreInfoClick(element) {
                    popup.ShowAtElement(element);
                }
                function popup_Shown(s, e) {
                    popup.ShowAtPos(s, e);
                }
                //To openMap in Fullscreen Mode
                //var FullMapWindow;
                //function FullscreenHistory() {
                //    FullMapWindow = window.open("HistoryFullScreen.aspx", 'HistoryFullScreen', 'scrollbars=yes,resizable=no,width=' +
                //screen.width + ',height=' + screen.height, false);
                //    FullMapWindow.moveTo(0, 0);
                //    FullMapWindow.focus();
                //}
                //$Hst("#eng2").click(function () {
                //    mapTypeChoosen();
                //    changeTileProvider(maptype, 'En');
                //    LoadTime = null;
                //});
                //$Hst("#arb2").click(function () {
                //    mapTypeChoosen();
                //    changeTileProvider(maptype, 'Ar');
                //    LoadTime = null;
                //});
                //$Hst("#hin2").click(function () {
                //    mapTypeChoosen();
                //    changeTileProvider(maptype, 'hin');
                //    LoadTime = null;
                //});
                //$Hst("#eng3").click(function () {
                //    mapTypeChoosen();
                //    changeTileProvider(maptype, 'En');
                //    LoadTime = null;
                //});
                //$Hst("#arb3").click(function () {
                //    mapTypeChoosen();
                //    changeTileProvider(maptype, 'Ar');
                //    LoadTime = null;
                //});
                //$Hst("#hin3").click(function () {
                //    mapTypeChoosen();
                //    changeTileProvider(maptype, 'hin');
                //    LoadTime = null;
                //});
            </script>
            <script language="javascript" type="text/javascript">
                function HidePopUp() {
                    if ($find('mpeProgressIndicator') != undefined) {
                        $find('mpeProgressIndicator').hide();
                    }
                }
                function ShowPopUp() {
                    if ($find('mpeProgressIndicator') != undefined) {
                        $find('mpeProgressIndicator').show();
                    }
                }
            </script>
            <%-- <script src="http://jsapi.lbsp.navteq.com/v1/jsl.js" type="text/javascript" charset="utf-8"></script>
            <script language="javascript" type="text/javascript" src="../js/Map_NavTeq1.js"></script>--%>
            <script lang="javascript" type="text/javascript" src="../js/DateValidations.js"></script>
            <script type="text/javascript" lang="javascript" src="../js/HistoryScript.js"></script>
            <script type="text/javascript" src="../js/GridCheckBoxMaintaining.js"></script>
            <script lang="javascript" type="text/javascript" src="../js/Threading.js"></script>
            <%--bootstrap DateTime Picke implemention--%>
            <script type="text/javascript" src="../JQTimePicker/jquery-2.1.1.min.js"></script>
            <link id="Link3" 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>
            <%--bootstrap DateTime Picke implemention--%>
            <script src="../js/bootstrap.js"></script>
            <%--<script type="text/javascript" src="../js/NavTeq_GeoZoneScript.js"></script>
            <script language="javascript" type="text/javascript" src="../js/Map_Google.js"></script>
            <script type="text/javascript" src="../js/Elabel.js"></script>
            <script type="text/javascript" src="../js/HtmlControl.js"></script>--%>
            <%--<script language="javascript" type="text/javascript" src="../js/Clusterer2.js"></script>
            <script language="javascript" type="text/javascript" src="../js/BDCCPolyline.js"></script>--%>
        </form>
    </div>
    <uc2:Footer ID="ucFooter" runat="server" />
</body>
</html>
