<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Transport_ChangeRoute, App_Web_y4s5qbrn" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%--<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>--%>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>
<%@ Register Src="~/UserControls/Common/Transport/TransportDetailBoxControl.ascx" TagName="TransportControl" TagPrefix="Transport" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="106"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <Transport:TransportControl ID="TransportUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader2WireBox">
                        <div class="contentHolder" style="padding-top: 0px; padding-left: 0px; padding-right: 0px">
                            <div class="himssuHeader1WireBox card card-box">
                                <div class="himsBoxHeader card-head">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-exchange-alt"></i>
                                                <asp:Label ID="ChangeRouteLabel" runat="server" Text="Change Route"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                    <div class="fRight mt-27 pagination display-flex">
                                        <asp:Button ID="BackButton" runat="Server" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" OnClick="BackButton_Click" Visible="false" />
                                    </div>
                                </div>
                                <div class="himsBoxContent card-body">
                                    <asp:Panel ID="DetailPanel" runat="Server">

                                        <div class="tableContainer">
                                            <cc1:TabContainer ID="ChangeRouteTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                                meta:resourcekey="ChangeRouteTabContainerResource1" ActiveTabIndex="0">
                                                <cc1:TabPanel ID="ChangeRouteDetails" runat="server" HeaderText="Change Route">
                                                    <HeaderTemplate>
                                                        <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                            <li class="fancyTab"><a><i class="fas fa-calendar"></i>&nbsp;Change Route</a></li>
                                                        </ul>
                                                    </HeaderTemplate>
                                                    <ContentTemplate>
                                                        <div class="contentHolder">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="BuildingLabel" runat="server" Text="Old Bus Route" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="FromRouteDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        AutoPostBack="True" OnSelectedIndexChanged="FromRouteDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="FromRoomLabel" Text="Old PickUp" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="OldPickUpDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                        AutoPostBack="True">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="OldDropRouteLabel" runat="server" Text="Old Drop Route"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="OldDropRouteDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        AutoPostBack="True" OnSelectedIndexChanged="OldDropRouteDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="OldDropPointLabel" Text="Old Drop Point" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="OldDropPointDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label3" Text="Class/Div" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="ClassDivDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                        AutoPostBack="True">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-6">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label4" Text="Student Code" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft">
                                                                    <asp:TextBox ID="CodeTextBox" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        SkinID="CustomWidthDropDownList" CssClass="form-control"></asp:TextBox>
                                                                    <div class="cBoth"></div>
                                                                    <b>
                                                                        <asp:Label ID="ChangeRouteCodeLabel" runat="server" ForeColor="#a94442" Text="For Search multiple Record (Eg.2,5,20)"></asp:Label></b>
                                                                </div>
                                                            </div>

                                                            <%--    <div class="col-md-6 pTop10" id="CodeNoteDiv" runat="server">
                                                                <div class="alert alert-info">
                                                                    <i class="material-icons">info</i> |&nbsp;
                                                                        <asp:Label ID="RamarkLabel" runat="server" Text="Add Student Code with , Comma sepration without any Space (Eg. 2. 5. 10)" Font-Bold="True"></asp:Label>
                                                                </div>
                                                            </div>--%>

                                                            <div class="alignCenter col-md-12 pTop10">
                                                                <asp:Button ID="SearchButton" runat="server" Text=" Search" SkinID="0"
                                                                    CssClass="btn-search btn fas" OnClick="SearchButton_Click" />
                                                                <asp:Button ID="ResetButton" runat="server" OnClick="ResetButton_Click" Text=" Clear"
                                                                    SkinID="0" class="btn-reset btn fas" />
                                                                <asp:Button ID="DeleteButton" runat="server" OnClick="DeleteButton_Click" Text="&#xf2ed; Delete"
                                                                    SkinID="0" class="btn-delete btn fas" />
                                                            </div>


                                                            <div id="Div1" class="himssuHeader6WireBox col-md-12" runat="server" style="width: 100%; height: 100%">
                                                                <div class="himsBoxHeader card-head inner col-md-12" id="GridViewPagerDiv" runat="server">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="gridHeaderText">
                                                                            <header>
                                                                                <asp:Label ID="GridViewLabel" Text="List of Student Assigned to Route"
                                                                                    runat="server" />
                                                                            </header>
                                                                        </div>
                                                                        <div class="fRight">
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="cBoth"></div>

                                                                <div class="himsBoxContent table-responsive">
                                                                    <asp:GridView ID="ChangeRouteGridView" runat="server" AutoGenerateColumns="False"
                                                                        EmptyDataText="No Records Found !!" DataKeyNames="SourceId,OrgId,BusRouteId,BusRouteDestinationId,DropDestinationId"
                                                                        CssClass="table table-striped table-bordered table-hover" OnRowDataBound="ChangeRouteGridView_RowDataBound">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Select">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                            Visible="true" OnCheckedChanged="HeaderSelectCheckBox_checked" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="3%" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="SelectCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="SelectCheckBox_CheckedChanged" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:BoundField DataField="Organization" HeaderText="Organization">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="15%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Code" HeaderText="Student Code">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Name" HeaderText="Name">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="25%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="ClassDivisionName" HeaderText="Class-Div">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="PickupRoute" HeaderText="Pickup Route">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Pickuppoint" HeaderText="Pickup Point">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="5%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="DropRoute" HeaderText="Drop Route">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Droppoint" HeaderText="Drop Point">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="5%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="SUId" HeaderText="SUId">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>

                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>

                                                            <div class="cBoth"></div>
                                                            <div id="Div4" class="himssuHeader6WireBox col-md-12" runat="server" style="width: 100%; height: 100%">
                                                                <div class="himsBoxHeader card-head inner col-md-12" id="Div3" runat="server">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="gridHeaderText">
                                                                            <header>
                                                                                <asp:Label ID="Label15" Text="For Changing Bus Route"
                                                                                    runat="server" />
                                                                            </header>
                                                                        </div>
                                                                        <div class="fRight">
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="cBoth"></div>

                                                            <div class="outerBox pTop15 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:CheckBox ID="RouteDifferCheckBox" runat="server" Text="Route Differ" AutoPostBack="true" OnCheckedChanged="RouteDifferCheckBox_CheckedChanged" />
                                                                    <asp:Label ID="RouteDifferLabel" runat="server"></asp:Label>
                                                                </div>
                                                            </div>

                                                            <div class="cBoth"></div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ToBuildingLabel" runat="server" Text="New Pickup Bus Route" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="ToRouteDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        AutoPostBack="True" OnSelectedIndexChanged="ToRouteDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ToRoomLabel" Text="New PickUp" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="NewPickUpDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="LogDateLabel" runat="server" Text="Log Date" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="LogDateDatePickerControl" runat="server" />
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ChangeReasonLabel" runat="server" Text="Change Reason"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="ChangeReasonTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        SkinID="MultiLineTextBox" TextMode="MultiLine" runat="server"
                                                                        MaxLength="200"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <br />
                                                            <div class="cBoth"></div>
                                                            <br />
                                                            <div id="NewDropRouteDiv" runat="server" visible="false">

                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="NewDropBusRouteLabel" runat="server" Text="New Drop Bus Route" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList runat="server" ID="NewDropBusRouteDropDownList" SkinID="CustomWidthDropDownList"
                                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            AutoPostBack="True" OnSelectedIndexChanged="NewDropRouteDropDownList_SelectedIndexChanged">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="NewDropLabel" Text="New Drop" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList ID="NewDropDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                            onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>

                                                            </div>

                                                            <div class="alignCenter pTop15 col-md-12">
                                                                <asp:Button ID="ChangeRouteButton" runat="server" Text=" Change Route" SkinID="0"
                                                                    CssClass="btn btn-assign fas" OnClick="ChangeRouteButton_Click" />
                                                                <asp:Button ID="ClearButton" runat="server" OnClick="ClearButton_Click" Text=" Clear"
                                                                    SkinID="0" class="btn-reset btn fas" />
                                                            </div>

                                                        </div>
                                                    </ContentTemplate>
                                                </cc1:TabPanel>

                                                <cc1:TabPanel ID="ChangeRouteLogTabPanel" runat="server" HeaderText="Change Route Log">
                                                    <HeaderTemplate>
                                                        <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                            <li class="fancyTab"><a><i class="fas fa-calendar"></i>&nbsp;Change Route Log</a></li>
                                                        </ul>
                                                    </HeaderTemplate>
                                                    <ContentTemplate>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label13" runat="server" Text="From Log Date" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="FromLogDateDatePickerControl" runat="server" />
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label14" runat="server" Text="To Log Date" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ToLogDateDatePickerControl" runat="server" />
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label11" Text="Student Code" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft">
                                                                <asp:TextBox ID="StudentCodeLogTextBox" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                </asp:TextBox>
                                                                <div class="cBoth"></div>
                                                                <asp:Label ID="StudentCodeLogLabel" runat="server" ForeColor="#a94442" Text="For Search multiple Record (Eg.2,5,20)"></asp:Label>
                                                            </div>
                                                        </div>

                                                        <div class="cBoth"></div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label5" runat="server" Text="Old Bus Route"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="OldBusRouteDropDownList" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    AutoPostBack="true" OnSelectedIndexChanged="OldBusRouteDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label6" Text="Old PickUp" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="OldPickupLogDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                    AutoPostBack="true" OnSelectedIndexChanged="OldPickupLogDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label7" Text="Old Drop" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="OldDropLogDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                    AutoPostBack="true" OnSelectedIndexChanged="OldDropLogDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="cBoth"></div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label8" runat="server" Text="New Bus Route"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="NewBusRouteDropDownList" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    AutoPostBack="true" OnSelectedIndexChanged="NewBusRouteDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label9" Text="New PickUp" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="NewPickupLogDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                    AutoPostBack="true">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label10" Text="New Drop" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="NewDropLogDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                    AutoPostBack="true">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>


                                                        <%--                                                        <div class="col-md-6 pTop10" id="Div2" runat="server">
                                                            <div class="alert alert-info">
                                                                <i class="material-icons">info</i> |&nbsp;
                                                                        <asp:Label ID="Label12" runat="server" Text="Add Student Code with , Comma sepration without any Space (Eg. 2. 5. 10)" Font-Bold="true"></asp:Label>
                                                            </div>
                                                        </div>--%>

                                                        <div class="alignCenter pTop15 col-md-12">
                                                            <asp:Button ID="LogSearchButton" runat="server" Text="&#xf002; Search" SkinID="0"
                                                                CssClass="btn-search btn fas" OnClick="LogSearchButton_Click" />
                                                            <asp:Button ID="LogResetButton" runat="server" OnClick="LogResetButton_Click" Text="&#xf0e2; Clear"
                                                                SkinID="0" class="btn-reset btn fas" />
                                                            <asp:Button ID="ExportButton" runat="server" Enabled="false" OnClick="ExportButton_Click" Text="&#xf093; Export"
                                                                SkinID="0" class="btn-examcommon btn fas" />
                                                        </div>

                                                        <div id="LogDiv" runat="server" visible="false">
                                                            <div class="himsBoxContent table-responsive col-md-12">
                                                                <asp:GridView ID="ChangeRouteLogGridView" runat="server" AutoGenerateColumns="False"
                                                                    EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" DataKeyNames=""
                                                                    CssClass="table table-striped table-bordered table-hover">
                                                                    <Columns>
                                                                        <asp:BoundField DataField="ChangeDate" HeaderText="Change Date" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                        <asp:BoundField DataField="Code" HeaderText="Code" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                        <asp:BoundField DataField="StudentName" HeaderText="Student Name" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                        <asp:BoundField DataField="OldBusRoute" HeaderText="Old Pickup Bus Route" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                        <asp:BoundField DataField="OldPickup" HeaderText="Old Pickup Point" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                        <asp:BoundField DataField="OldDropBusRoute" HeaderText="Old Drop Bus Route" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                        <asp:BoundField DataField="OldDrop" HeaderText="Old Drop Point" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                        <asp:BoundField DataField="NewPickUpBusRoute" HeaderText="New Pickup Bus Route" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                        <asp:BoundField DataField="NewPickup" HeaderText="New Pickup Point" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                        <asp:BoundField DataField="NewDropBusRoute" HeaderText="New Drop Bus Route" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                        <asp:BoundField DataField="NewDrop" HeaderText="New Drop Point" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                        <asp:BoundField DataField="Remark" HeaderText="Remark" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                        <asp:BoundField DataField="CreatedDateTime" HeaderText="Updated DateTime" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>

                                                                    </Columns>
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        </div>

                                                    </ContentTemplate>
                                                </cc1:TabPanel>

                                                <cc1:TabPanel ID="ChangeRoutePickWise" runat="server" HeaderText="Change Route Pick Wise">
                                                    <HeaderTemplate>
                                                        <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                            <li class="fancyTab"><a><i class="fas fa-calendar"></i>&nbsp;Change Route PickUp Wise</a></li>
                                                        </ul>
                                                    </HeaderTemplate>
                                                    <ContentTemplate>
                                                        <div class="contentHolder">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label2" runat="server" Text="Old PickUp Point" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="OldPickUpPointDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        AutoPostBack="True" OnSelectedIndexChanged="OldPickUpPointDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="OldRouteLabel" Text="Old Route" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="OldRouteDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                        AutoPostBack="True">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ClassDivPickUpLabel" Text="Class/Div" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="classDivPickUpDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                        AutoPostBack="True">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="StudentCodePickUpLabel" Text="Student Code" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft">
                                                                    <asp:TextBox ID="StudentCodePickUpTextBox" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        SkinID="CustomWidthDropDownList" CssClass="form-control"></asp:TextBox>
                                                                    <div class="cBoth"></div>
                                                                    <b>
                                                                        <asp:Label ID="StudentCodePickUpCodeLabel" runat="server" ForeColor="#a94442" Text="For Search multiple Record (Eg.2,5,20)"></asp:Label></b>

                                                                </div>
                                                            </div>

                                                            <%--  <div class="col-md-6 pTop10" id="Div5" runat="server">
                                                                <div class="alert alert-info">
                                                                    <i class="material-icons">info</i> |&nbsp;
                                                                        <asp:Label ID="Label19" runat="server" Text="Add Student Code with , Comma sepration without any Space (Eg. 2. 5. 10)" Font-Bold="True"></asp:Label>
                                                                </div>
                                                            </div>--%>

                                                            <div class="alignCenter col-md-12 pTop10">
                                                                <asp:Button ID="PickUpSearchButton" runat="server" Text=" Search" SkinID="0"
                                                                    CssClass="btn-search btn fas" OnClick="PickUpSearchButton_Click" />
                                                                <asp:Button ID="PickUpResetButton" runat="server" OnClick="PickUpResetButton_Click" Text=" Clear"
                                                                    SkinID="0" class="btn-reset btn fas" />
                                                            </div>


                                                            <div id="Div6" class="himssuHeader6WireBox col-md-12" runat="server" style="width: 100%; height: 100%">
                                                                <div class="himsBoxHeader card-head inner col-md-12" id="Div7" runat="server">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="gridHeaderText">
                                                                            <header>
                                                                                <asp:Label ID="Label20" Text="List of Student Assigned to Route"
                                                                                    runat="server" />
                                                                            </header>
                                                                        </div>
                                                                        <div class="fRight">
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="cBoth"></div>

                                                                <div class="himsBoxContent table-responsive">
                                                                    <asp:GridView ID="PickUpGridView" runat="server" AutoGenerateColumns="False"
                                                                        EmptyDataText="No Records Found !!" DataKeyNames="SourceId,OrgId,BusRouteId,BusRouteDestinationId,DropDestinationId"
                                                                        CssClass="table table-striped table-bordered table-hover" OnRowDataBound="ChangeRouteGridView_RowDataBound">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Select">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="PickUpHeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                            Visible="true" OnCheckedChanged="PickUpHeaderSelectCheckBox_CheckedChanged" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="3%" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="PickUpSelectCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="PickUpSelectCheckBox_CheckedChanged" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:BoundField DataField="Organization" HeaderText="Organization">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="15%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Code" HeaderText="Student Code">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Name" HeaderText="Name">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="25%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="ClassDivisionName" HeaderText="Class-Div">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Pickuppoint" HeaderText="Pickuppoint">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="15%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Droppoint" HeaderText="Droppoint">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="15%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="SUId" HeaderText="SUId">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>

                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>

                                                            <div class="cBoth"></div>
                                                            <div id="Div8" class="himssuHeader6WireBox col-md-12" runat="server" style="width: 100%; height: 100%">
                                                                <div class="himsBoxHeader card-head inner col-md-12" id="Div9" runat="server">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="gridHeaderText">
                                                                            <header>
                                                                                <asp:Label ID="Label21" Text="For Changing Bus Route Pickup Wise"
                                                                                    runat="server" />
                                                                            </header>
                                                                        </div>
                                                                        <div class="fRight">
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="cBoth"></div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="PickUpPointLabel" runat="server" Text=" New Pickup Point" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="PickUpPointDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        AutoPostBack="True" OnSelectedIndexChanged="PickUpPointDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="NewRouteLabel" Text="New Route" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="NewRouteDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="PickUpLogDateLabel25" runat="server" Text="Log Date" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="PickUpLogDateDPC" runat="server" />
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="PickUpChangeLabel26" runat="server" Text="Change Reason"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="PickUpChangeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        SkinID="MultiLineTextBox" TextMode="MultiLine" runat="server"
                                                                        MaxLength="200"></asp:TextBox>
                                                                </div>
                                                            </div>

                                                            <div class="alignCenter pTop15 col-md-12">
                                                                <asp:Button ID="ChangePickUpButton" runat="server" Text=" Change PickUp Point" SkinID="0"
                                                                    CssClass="btn btn-assign fas" OnClick="ChangePickUpButton_Click" />
                                                                <asp:Button ID="PickUpResetPointButton" runat="server" Text=" Clear"
                                                                    SkinID="0" class="btn-reset btn fas" OnClick="PickUpResetPointButton_Click" />
                                                            </div>

                                                        </div>
                                                    </ContentTemplate>
                                                </cc1:TabPanel>

                                            </cc1:TabContainer>
                                        </div>
                                    </asp:Panel>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            </div>
           
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/admission-changeroom-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/admission-changeroom")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
