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

<%@ 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.Web.ASPxGridView.v8.2, Version=8.2.10.0, Culture=neutral, PublicKeyToken=9B171C9FD64DA1D1"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v8.2, Version=8.2.10.0, Culture=neutral, PublicKeyToken=9B171C9FD64DA1D1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v8.2" Namespace="DevExpress.Web.ASPxEditors"
    TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v8.2.Export, Version=8.2.10.0, Culture=neutral, PublicKeyToken=9B171C9FD64DA1D1"
    Namespace="DevExpress.Web.ASPxGridView.Export" TagPrefix="exp" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v8.2, Version=8.2.10.0, Culture=neutral, PublicKeyToken=9B171C9FD64DA1D1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>--%>

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <meta http-equiv="Page-Enter" content="blendTrans(Duration=0)" />
    <meta http-equiv="Page-Exit" content="blendTrans(Duration=0)" />
    <title>tSense-IoT Route Driver scheduling</title>
    <link id="reset" runat="server" href="../css/reset.css" rel="stylesheet" type="text/css" />
    <link id="stylesheet2" runat="server" href="../css/stylesheet2.css" rel="stylesheet" type="text/css" />
    <link id="dropdown" runat="server" href="../css/dropdown.css" rel="stylesheet" type="text/css" />
    <link rel="SHORTCUT ICON" href="../images/favicon.ico" />
    <link id="ieonly" runat="server" rel="stylesheet" type="text/css" href="" />
    <%--BootStrap Css--%>
    <link id="BootStrapCss" href="../css/bootstrap.css" runat="server" rel="stylesheet" type="text/css" />
    <link id="mainstyle" runat="server" href="../css/mainstyle.css" rel="stylesheet" type="text/css" />
    <%--End of BootStrap Css--%>
    <script src="../js/wow.min.js"></script>
</head>
<body onload="windows.location.href='../Forms/RouteVehicleListing.aspx'">
    <div id="container">
        <form id="form1" runat="server">
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel runat="server" ID="updVhDetails" UpdateMode="Conditional">
                <ContentTemplate>
                    <!-- Header Starts Here -->
                    <uc1:Header ID="ucHeader" runat="server" />
                    <!-- Nav Ends Here -->
                    <!-- Content Starts Here -->
                    <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">
                                            <div id="heading">
                                                <img class="icon" src="../images/configuration-icon.jpg" alt="" />
                                                <h1>
                                                    <asp:Literal ID="lblConfigurationSetupCaption" Text="Configuration" runat="server"></asp:Literal>
                                                </h1>
                                                <asp:LinkButton ID="lnkHomeCaption" runat="server"></asp:LinkButton><span>&gt;</span><span><a
                                                    href="RouteDriverListing.aspx"><asp:Label ID="lblDriverListing" Text="Driver Listing"
                                                        runat="server"></asp:Label></a></span>
                                            </div>
                                            <div id="control-box">
                                                <table border="0" cellpadding="0" cellspacing="0" id="control-tbl" width="100%">
                                                    <tr>
                                                        <td>
                                                            <div>
                                                                <%--id="control-btn"--%>
                                                                <table class="ManageGeozoneTableAlign">
                                                                    <tr height="20px">
                                                                        <td></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <%--<asp:ImageButton ID="ibtnDriverMaster" runat="server" PostBackUrl="~/Forms/DriverMaster.aspx"
                                                                            ImageUrl="~/images/btn-manage-drivers.png" />--%>
                                                                            <%--  <asp:Button ID="btnManageRoutes" runat="server" Text="Manage Routes" PostBackUrl="~/Forms/RouteMaster.aspx" />--%>
                                                                        &nbsp;
                                                                        <asp:LinkButton ID="btnManageRoutes" runat="server" CssClass="MultilingualBtn" PostBackUrl="~/Forms/RouteMaster.aspx">
                                                                            <span runat="server" class="MultilingualBtnspan">
                                                                                <div class="ManageRoute">
                                                                                    <div id="ManageRoutes" runat="server" class="MultilingualBtnTextAlign">
                                                                                        Manage Routes
                                                                                    </div>
                                                                                </div>
                                                                            </span>
                                                                        </asp:LinkButton>
                                                                            <%--<asp:LinkButton ID="btnManageRoutes" runat="server" class="btn" Width="100px" PostBackUrl="~/Forms/RouteMaster.aspx"><span>Manage Routes</span></asp:LinkButton>--%>
                                                                        </td>
                                                                        <td>
                                                                            <%--<asp:ImageButton ID="ibtnDriverAssignment" runat="server" PostBackUrl="~/Forms/NewDriverAssignmentDevx.aspx"
                                                                            ImageUrl="~/images/btn-schedule-driver.png" />--%>
                                                                            <%--<asp:Button ID="btnRouteAssignment" runat="server" Text="Route Assignment" PostBackUrl="~/Forms/RouteAssignment.aspx" />--%>
                                                                        &nbsp;
                                                                        <asp:LinkButton ID="btnRouteAssignment" runat="server" CssClass="MultilingualBtn"
                                                                            PostBackUrl="~/Forms/RouteAssignment.aspx">
                                                                            <span runat="server" class="MultilingualBtnspan">
                                                                                <div class="RouteAssignment">
                                                                                    <div id="RouteAssignment" runat="server" class="MultilingualBtnTextAlign">
                                                                                        Route Assignment
                                                                                    </div>
                                                                                </div>
                                                                            </span>
                                                                        </asp:LinkButton>
                                                                            <%--<asp:LinkButton ID="btnRouteAssignment" runat="server" class="btn" Width="110px"
                                                                            PostBackUrl="~/Forms/RouteAssignment.aspx"><span>Route Assignment</span></asp:LinkButton>--%>
                                                                        </td>
                                                                        <td>
                                                                            <%-- <asp:ImageButton ID="ibtnViewVehicles" runat="server" PostBackUrl="~/Forms/VehicleListing.aspx"
                                                                            ImageUrl="~/images/btn-vehicle-schedule.png" />--%>
                                                                            <%--  <asp:Button ID="btnRouteVehicleListing" runat="server" Text="Route Vehicle Listing"
                                                                            PostBackUrl="~/Forms/RouteVehicleListing.aspx" />--%>
                                                                        &nbsp;
                                                                        <asp:LinkButton ID="btnRouteVehicleListing" runat="server" CssClass="MultilingualBtn"
                                                                            PostBackUrl="~/Forms/RouteVehicleListing.aspx">
                                                                            <span runat="server" class="MultilingualBtnspan">
                                                                                <div class="VehiclesSchedule">
                                                                                    <div id="RouteVehicleListing" runat="server" class="MultilingualBtnTextAlign">
                                                                                        Route Vehicle Listing
                                                                                    </div>
                                                                                </div>
                                                                            </span>
                                                                        </asp:LinkButton>
                                                                            <%--<asp:LinkButton ID="btnRouteVehicleListing" runat="server" class="btn" Width="120px"
                                                                            PostBackUrl="~/Forms/RouteVehicleListing.aspx"><span>Route Vehicle Listing</span></asp:LinkButton>--%>
                                                                        </td>
                                                                        <td>&nbsp;
                                                                            <asp:LinkButton ID="ibtnBackToConfig" runat="server" CssClass="MultilingualBtn" PostBackUrl="~/Forms/ConfigurationSetup.aspx">
                                                                                <span runat="server" class="MultilingualBtnspan">
                                                                                    <div class="Back">
                                                                                        <div id="BackToConfig" runat="server" class="MultilingualBtnTextAlign">
                                                                                            Back to Configuration
                                                                                        </div>
                                                                                    </div>
                                                                                </span>
                                                                            </asp:LinkButton>
                                                                            <%--<asp:ImageButton ID="ibtnBackToConfig" runat="server" CausesValidation="false" ImageUrl="~/images/btn-back-to-configuration.jpg"
                                                                            PostBackUrl="~/Forms/ConfigurationSetup.aspx" />--%>
                                                                        </td>
                                                                        <td>&nbsp;&nbsp;
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div class="clear clearfix">
                                            </div>
                                        </div>
                                        <div class="clear clearfix">
                                        </div>
                                        <asp:Panel ID="pnlDriverInfo" runat="server">
                                            <div class="form-box">
                                                <h1>
                                                    <span class="icon">
                                                        <img src="../imagesButton/schedule-driver.png" alt="" /></span><asp:Label ID="lblCapDriverSchedule"
                                                            Text="Route Driver Schedule Details" runat="server"></asp:Label></h1>
                                                <table cellspacing="5px" border="0" class="form-tbl AlignControl">
                                                    <tr>
                                                        <td></td>
                                                        <td>
                                                            <asp:Label ID="lblRouteName" runat="server" Text="Route Name" CssClass="label"></asp:Label>
                                                            <asp:Label ID="Label2" runat="server" ForeColor="Red">*</asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="ddlRouteName" runat="server">
                                                            </asp:DropDownList>
                                                        </td>
                                                        <td>&nbsp;
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="lblFromDate" runat="server" Text="From Date" CssClass="label"></asp:Label>
                                                            <asp:Label ID="Label15" runat="server" ForeColor="Red">*</asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtFromDate" runat="server" onkeypress="return false" onpaste="return false"
                                                                CssClass="date"></asp:TextBox>
                                                            <cc1:CalendarExtender ID="calFromdate" runat="server" CssClass="cal_Theme1" TargetControlID="txtFromDate"
                                                                Format="dd/MM/yyyy" OnClientDateSelectionChanged="checkDate">
                                                            </cc1:CalendarExtender>
                                                        </td>
                                                        <td></td>
                                                        <td>
                                                            <asp:Label ID="lblToDate" runat="server" CssClass="label" Text="To Date"></asp:Label>
                                                            <asp:Label ID="Label9" runat="server" ForeColor="Red">*</asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtToDate" runat="server" onkeypress="return false" onpaste="return false"
                                                                TabIndex="12" CssClass="date"></asp:TextBox>
                                                            <cc1:CalendarExtender ID="calTodate" runat="server" CssClass="cal_Theme1" TargetControlID="txtToDate"
                                                                Format="dd/MM/yyyy" OnClientDateSelectionChanged="checkDate">
                                                            </cc1:CalendarExtender>
                                                        </td>
                                                        <td></td>
                                                        <td>
                                                            <asp:Label ID="lblStatus" runat="server" Text="Status"></asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="ddlStatus" runat="server" CssClass="date" AutoPostBack="true"
                                                                OnSelectedIndexChanged="ddlStatus_SelectedIndexChanged">
                                                                <asp:ListItem Selected="True">All</asp:ListItem>
                                                                <asp:ListItem>Engaged</asp:ListItem>
                                                                <asp:ListItem>Scheduled</asp:ListItem>
                                                                <asp:ListItem>Completed</asp:ListItem>
                                                            </asp:DropDownList>
                                                        </td>
                                                        <td>&nbsp;
                                                        <asp:LinkButton ID="btnView" runat="server" CssClass="MultilingualBtn" CausesValidation="false"
                                                            OnClick="btnView_Click" OnClientClick="return ValidateRouteDriverOrVehicleSchedule();">
                                                            <span runat="server" class="MultilingualBtnspan">
                                                                <div class="ViewSchedule">
                                                                    <div id="View" runat="server" class="MultilingualBtnTextAlign">
                                                                        View Schedule
                                                                    </div>
                                                                </div>
                                                            </span>
                                                        </asp:LinkButton>
                                                            <%--<asp:ImageButton ID="btnView" runat="server" OnClientClick="return ValidateRouteDriverOrVehicleSchedule();"
                                                            OnClick="btnView_Click" ImageUrl="~/images/btn-view-schedules.png" />--%>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <div class="clear clearfix">
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="clear clearfix">
                                    </div>
                                    <asp:Panel ID="pnlRouteOptimizationDetails" runat="server" CssClass="form-tbl">
                                        <div id="grid-dsply">
                                            <div class="fleetContent">
                                                <asp:GridView ID="gvRouteDetails" runat="server" AllowPaging="False" AllowSorting="False"
                                                    AutoGenerateColumns="False" BackColor="#CCCCCC" CellPadding="0" CellSpacing="1"
                                                    GridLines="None" Width="100%" OnRowDataBound="gvRouteDetails_RowDataBound" ShowFooter="true">
                                                    <Columns>
                                                        <asp:TemplateField>
                                                            <HeaderTemplate>
                                                                <table cellpadding="0" cellspacing="0" width="100%">
                                                                    <tr style="font-weight: bold;">
                                                                        <td style="width: 2%;"></td>
                                                                        <td style="width: 13%; text-align: left;">
                                                                            <span class="icon">
                                                                                <img src="../images/icn-Driver-name.gif" align="top" alt="" style="padding-bottom: 5px;" /></span>
                                                                            <asp:Label ID="lblRouteName" Text="Route Name" runat="server"></asp:Label>
                                                                        </td>
                                                                        <td style="width: 13%; text-align: center;">
                                                                            <span class="icon">
                                                                                <img src="../images/icn-address-valid.gif" align="top" alt="" style="padding-bottom: 5px;" /></span>
                                                                            <asp:Label ID="lblDesc" Text="Description" runat="server"></asp:Label>
                                                                        </td>
                                                                        <%-- <td style="width: 13%; text-align: center;">
                                                                        <span class="icon">
                                                                            <img src="../images/icn-contact-number.gif" align="top" alt="" style="padding-bottom:5px;"  /></span>
                                                                              <asp:Label ID="lblmNo" Text="Mobile Number" runat="server"></asp:Label>  
                                                                        
                                                                    </td>--%>
                                                                    </tr>
                                                                </table>
                                                            </HeaderTemplate>
                                                            <ItemTemplate>
                                                                <table cellpadding="0" cellspacing="0" width="100%">
                                                                    <tr id="trVehicleDetails" runat="server">
                                                                        <td style="width: 2%;">
                                                                            <img id="imgExpandCollapse" onclick="ExpandOrCollpase(this.id);" src="../images/gvCollapsedButton.png"
                                                                                runat="server" />
                                                                        </td>
                                                                        <td style="width: 20%; text-align: left;">
                                                                            <asp:Label ID="lbtnRouteName" runat="server" Text='<%# Eval("RouteName") %>'></asp:Label>
                                                                        </td>
                                                                        <td style="width: 20%; text-align: center;">
                                                                            <asp:Label ID="lblDesc" runat="server" Text='<%# Eval("RouteDescription") %>'></asp:Label>
                                                                        </td>
                                                                        <%--  <td style="width: 20%; text-align: center;">
                                                                        <asp:Label ID="lblMobileNo" runat="server" Text='<%# Eval("MobileNo")%>'></asp:Label>
                                                                    </td>--%>
                                                                    </tr>
                                                                    <tr id="trOperationsList" class="ControlHide" runat="server" style="padding-bottom: 5px">
                                                                        <td></td>
                                                                        <td colspan="7" style="margin: 0px; padding: 0px;">
                                                                            <div id="grid-dsply">
                                                                                <div class="fleetContent">
                                                                                    <asp:GridView ID="gvDriverDetails" runat="server" AllowPaging="False" AllowSorting="true"
                                                                                        AutoGenerateColumns="false" CellPadding="0" CellSpacing="1" GridLines="None"
                                                                                        Width="100%" OnRowDataBound="gvDriverDetails_RowDataBound">
                                                                                        <Columns>
                                                                                            <asp:TemplateField HeaderStyle-Width="20%" ItemStyle-Width="20%">
                                                                                                <HeaderTemplate>
                                                                                                    <span class="icon">
                                                                                                        <img src="../images/icn-vehicle-name.gif" align="top" alt="" style="padding-bottom: 5px;" /></span>
                                                                                                    <asp:Label ID="lblVName" Text="Driver Name" runat="server"></asp:Label>
                                                                                                </HeaderTemplate>
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lblDriverName" runat="server" Text='<%# Eval("DisplayName") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderStyle-Width="20%" ItemStyle-Width="20%">
                                                                                                <HeaderTemplate>
                                                                                                    <span class="icon">
                                                                                                        <img src="../images/icn-vehicle-name.gif" align="top" alt="" style="padding-bottom: 5px;" /></span>
                                                                                                    <asp:Label ID="lbldName" Text="Vehicle Name" runat="server"></asp:Label>
                                                                                                </HeaderTemplate>
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lblDrName" runat="server" Text='<%# Eval("VehName") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderStyle-Width="10%" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                                                                                                <HeaderTemplate>
                                                                                                    <span class="icon">
                                                                                                        <img src="../images/date.png" align="top" alt="" style="padding-bottom: 5px;" /></span>
                                                                                                    <asp:Label ID="lblDate" Text="Date" runat="server"></asp:Label>
                                                                                                </HeaderTemplate>
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lblDate" runat="server" Text='<%# Eval("ScheduleDate") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderStyle-Width="10%" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                                                                                                <HeaderTemplate>
                                                                                                    <span class="icon">
                                                                                                        <img src="../images/icn-time.gif" align="top" alt="" style="padding-bottom: 5px;" /></span>
                                                                                                    <asp:Label ID="lblFTime" Text="From Time" runat="server"></asp:Label>
                                                                                                </HeaderTemplate>
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lblTime" runat="server" Text='<%# Eval("FromTime") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderStyle-Width="10%" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
                                                                                                <HeaderTemplate>
                                                                                                    <span class="icon">
                                                                                                        <img src="../images/icn-time.gif" align="top" alt="" style="padding-bottom: 5px;" /></span>
                                                                                                    <asp:Label ID="lblTTime" Text="To Time" runat="server"></asp:Label>
                                                                                                </HeaderTemplate>
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lblToTime" runat="server" Text='<%# Eval("ToTime") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderStyle-Width="18%" ItemStyle-Width="18%" ItemStyle-HorizontalAlign="Center">
                                                                                                <HeaderTemplate>
                                                                                                    <span class="icon">
                                                                                                        <img src="../images/icn-address.gif" align="top" alt="" style="padding-bottom: 5px;" /></span>
                                                                                                    <asp:Label ID="lblSta" Text="Status" runat="server"></asp:Label>
                                                                                                </HeaderTemplate>
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="lblstatus" runat="server" Text='<%# Eval("DriverStatus") %>'></asp:Label>
                                                                                                    <%--<asp:ImageButton id="ibtnStatus" runat="server" />--%>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderStyle-Width="5%" ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
                                                                                                <HeaderTemplate>
                                                                                                </HeaderTemplate>
                                                                                                <ItemTemplate>
                                                                                                    <asp:ImageButton ID="ibtnDelete" Visible="false" runat="server" ImageUrl="../images/delete-icon.gif"
                                                                                                        ToolTip="Click here to delete" OnClientClick="return DeleteConfirm();" CommandArgument='<%# Eval("AssignmentId")+","+ Eval("DriverStatus")+","+Eval("DriverId") %>'
                                                                                                        OnClick="ibtnDelete_Click" />
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                        </Columns>
                                                                                        <SelectedRowStyle BackColor="Aqua" />
                                                                                        <EmptyDataTemplate>
                                                                                            No Schedule for Drivers found
                                                                                        </EmptyDataTemplate>
                                                                                        <RowStyle CssClass="fleetCon" />
                                                                                        <FooterStyle CssClass="fleetFoot" />
                                                                                        <AlternatingRowStyle CssClass="fleetConalt" />
                                                                                        <SelectedRowStyle CssClass="fleetRowd" />
                                                                                        <PagerStyle CssClass="fleetFoot" HorizontalAlign="Left" />
                                                                                        <HeaderStyle CssClass="fleetHead" />
                                                                                        <EmptyDataRowStyle CssClass="fleetHead" />
                                                                                    </asp:GridView>
                                                                                </div>
                                                                            </div>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </ItemTemplate>
                                                            <%--  <FooterTemplate>
                                                                      <table cellpadding="0" cellspacing="0">
                                                                           <tr>
                                                                                <td colspan="2"></td>
                                                                                <td colspan="3">
                                                                                    <img src="../images/driver-scheduling-completed.png" alt="" />    
                                                                                </td>
                                                                          </tr>
                                                                      </table>                                                                                                
                                                        </FooterTemplate> --%>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <EmptyDataTemplate>
                                                        No Schedule found
                                                    </EmptyDataTemplate>
                                                    <RowStyle CssClass="fleetCon" />
                                                    <FooterStyle CssClass="fleetFoot" />
                                                    <AlternatingRowStyle CssClass="fleetConalt" />
                                                    <PagerStyle CssClass="fleetFoot" HorizontalAlign="Left" />
                                                    <HeaderStyle CssClass="fleetHead" />
                                                    <EmptyDataRowStyle CssClass="fleetHead" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <asp:HiddenField ID="hdnbtnName" runat="server" />
                                </div>
                            </div>
                            <!-- Main Content Ends Here -->
                            <div id="left">
                            </div>
                            <div class="clear clearfix">
                            </div>
                        </div>
                        <div id="right">
                        </div>
                        <div class="clear clearfix">
                        </div>
                    </div>
                    <%--  </div>--%>
                    <asp:Button ID="btnTest" Text="Test" CssClass="ControlHide" runat="server" />
                </ContentTemplate>
                <Triggers>
                    <asp:PostBackTrigger ControlID="btnTest" />
                    <%-- <asp:PostBackTrigger ControlID="btnExport" />--%>
                    <asp:PostBackTrigger ControlID="ibtnBackToConfig" />

                </Triggers>
            </asp:UpdatePanel>

            <script language="javascript" type="text/javascript">
                var Alert_Delete = "Do you want to delete this Trip.";

                function setAlertMessageDelete(Delete) {
                    Alert_Delete = Delete;
                }

                function DeleteConfirm() {
                    return confirm(Alert_Delete);
                }
            </script>

            <%--<script type="text/javascript" src="../js/DateValidations.js"></script>--%>

            <script type="text/javascript" src="../js/GridCheckBoxMaintaining.js"></script>

            <script language="javascript" type="text/javascript" src="../js/DriverManagementScript.js"></script>

            <asp:HiddenField ID="hdnLogout" runat="server" />
        </form>
        <!-- Content Ends Here -->
    </div>
    <uc2:Footer ID="ucFooter" runat="server" />
</body>
</html>
