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

<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxtoolkit" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="PageUpdatePanel" 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="167"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <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-sync"></i>
                                        <asp:Label ID="TextLabel2" Text="Portal Data Synchronization" runat="server"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="tableContainer">
                                    <ajaxtoolkit:TabContainer Width="100%" ID="SyncDataTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                        meta:resourcekey="SyncDataTabContainerResource1" ActiveTabIndex="0">
                                        <ajaxtoolkit:TabPanel Width="100%" ID="SyncDataDetails" runat="server" HeaderText="SyncData">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-sync"></i>&nbsp;Module Wise</a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="cBoth">
                                                </div>
                                                <div class="pTop5 col-md-12" id="MasterAndConfigurationSynchID" runat="server">
                                                    <div class="himsBoxHeader  card-head inner" id="Div7" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText fLeft">
                                                                <header>
                                                                    <asp:Label ID="MasterAndConfigurationSynchLabel" Text="Master And Configuration Sync" runat="server" />
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-6">
                                                        <div class="fLeft pRight5">
                                                            <asp:Button ID="MasterSyncButton" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" AutoPostBack="true" SkinID="0" Text=" Master Sync" CssClass="btn-assign btn fas"
                                                                OnClick="MasterSyncButton_Click" ToolTip="Org Group Master, Org Group Batch Master, Org Main Group Master, Org Sub Group Master, Organization Master ,Batch Master , Class Master, Batch Class, Division Master, Class Subject, Department Master, Subject Master, Term Master, User Access, User Organization"></asp:Button>
                                                            <asp:HiddenField runat="server" ID="ButtonIdHiddenField" />
                                                            <asp:Button ID="ConfigurationSettingSyncButton" runat="server" onmouseleave="showHideTooltip()" Text=" Configuration Setting Sync" CssClass="btn-assign btn fas"
                                                                onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                                SkinID="0" OnClick="ConfigurationSettingSyncButton_Click"></asp:Button>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                <div class="pTop5 col-md-12" id="StudentAndEmployeeSyncDiv" runat="server">
                                                    <div class="himsBoxHeader  card-head inner" id="StudentAndEmployeeSync" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText fLeft">
                                                                <header>
                                                                    <asp:Label ID="StudentAndEmployeeSyncLabel" Text="Student And Employee Sync" runat="server" />
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent col-md-12 ">
                                                        <div id="Div5" runat="server">
                                                            <div id="Div4" runat="server" class="table-responsive">
                                                                <asp:GridView ID="ClassDivisionGridView" runat="server" Width="100%" CssClass="table table-striped table-bordered table-hover"
                                                                    AutoGenerateColumns="False" EmptyDataText="No Records Found !!"
                                                                    DataKeyNames="ClassId,DivisionId">
                                                                    <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="10%" Wrap="True" />
                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:BoundField DataField="ClassDivisionName" HeaderText="Class">
                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                        <ItemStyle Width="90%" />
                                                                        </asp:BoundField>
                                                                    </Columns>
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>


                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="fLeft pRight5">
                                                            <asp:Button ID="StudentSyncButton" runat="server"
                                                                OnClick="StudentSyncButton_Click" SkinID="0" Text=" Student Sync" CssClass="btn-assign btn fas" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="fLeft pRight5">
                                                            <asp:Button ID="EmployeeSyncButton" runat="server" onmouseleave="showHideTooltip()" SkinID="0" Text=" Employee Sync" CssClass="btn-assign btn fas"
                                                                onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                                OnClick="EmployeeSyncButton_Click"></asp:Button>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="fLeft pRight5">
                                                            <asp:Button ID="AcademicSyncButton" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" AutoPostBack="true" SkinID="0" Text=" Academic Sync" CssClass="btn-assign btn fas"
                                                                OnClick="AcademicSyncButton_Click"></asp:Button>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                <div class="pTop5 col-md-12" id="AttendanceAndEventSyncDiv" runat="server">
                                                    <div class="himsBoxHeader  card-head inner" id="Div9" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText fLeft">
                                                                <header>
                                                                    <asp:Label ID="AttendanceAndEventSyncLabel" Text="Attendance And Event Sync" runat="server" />
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="FromAttendanceDateLabel" runat="server" Text="From Attendance Date"
                                                                SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="FromAttendanceDatePickerControl"
                                                                runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ToAttendanceDateLabel" runat="server" Text="To Attendance Date" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="ToAttendanceDatePickerControl"
                                                                runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="fLeft pRight5">
                                                            <asp:Button ID="DailyPresenceSyncButton" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" AutoPostBack="true" SkinID="0" Text=" Daily Presence Sync" CssClass="btn-assign btn fas"
                                                                OnClick="DailyPresenceSyncButton_Click"></asp:Button>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="fLeft pRight5">
                                                            <asp:Button ID="PresenceSyncButton" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                                SkinID="0" Text=" Monthly Presence Sync" CssClass="btn-assign btn fas" OnClick="PresenceSyncButton_Click"></asp:Button>
                                                        </div>
                                                    </div>
                                                    
                                                    <div class="pTop5 col-md-12">
                                                        <div class="controlLabelWidth">
                                                            &nbsp;
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:Button ID="EventSyncButton" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="0" Text=" Event Sync" CssClass="btn-assign btn fas"
                                                                OnClick="EventSyncButton_Click" ToolTip="Event Attendances, Event Assign, Event Schedule"></asp:Button>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                <div class="pTop5 col-md-12" id="FeeSyncDiv" runat="server">
                                                    <div class="himsBoxHeader  card-head inner" id="Div10" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText fLeft">
                                                                <header>
                                                                    <asp:Label ID="FeeSyncLabel" Text="Fee Sync" runat="server" />
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        &nbsp;
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:Button ID="FeeSyncButton" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" SkinID="0" Text=" Fee Sync" CssClass="btn-assign btn fas"
                                                            OnClick="FeeSyncButton_Click"></asp:Button>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        &nbsp;
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:Button ID="FeeDetailSyncButton" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" SkinID="0" Text=" Fee Detail Sync" CssClass="btn-assign btn fas"
                                                            OnClick="FeeDetailSyncButton_Click"></asp:Button>
                                                    </div>
                                                </div>
                                                    </div>
                                                <div class="pTop5 col-md-12" id="ExamSyncDiv" runat="server">
                                                    <div class="himsBoxHeader  card-head inner" id="Div11" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText fLeft">
                                                                <header>
                                                                    <asp:Label ID="ExamSyncLabel" Text="Exam Sync" runat="server" />
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                <div class="outerBox pTop15 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ExamGroupLabel" Text="Exam Name" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="ExamGroupDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        &nbsp;
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:Button ID="ResultSyncButton" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="true" SkinID="0" Text=" Result Sync" CssClass="btn-assign btn fas"
                                                            OnClick="ResultSyncButton_Click"></asp:Button>
                                                    </div>
                                                </div>
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                 <div class="pTop5 col-md-12" id="LibrarySyncDiv" runat="server">
                                                    <div class="himsBoxHeader  card-head inner" id="Div12" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText fLeft">
                                                                <header>
                                                                    <asp:Label ID="LibrarySyncLabel" Text="Library Sync" runat="server" />
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                <div class="outerBox pTop15 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        &nbsp;
                                        <asp:Label ID="FromIssueDateLabel" runat="server" Text="From Issue Date" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="FromIssueDatePickerControl"
                                                            runat="server" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop15 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        &nbsp;
                                        <asp:Label ID="ToIssueDateLabel" runat="server" Text="To Issue Date" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="ToIssueDatePickerControl" runat="server" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        &nbsp;
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:Button ID="LibrarySyncButton" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="true" SkinID="0" Text=" Library Sync" CssClass="btn-assign btn fas"
                                                            OnClick="LibrarySyncButton_Click"></asp:Button>
                                                    </div>
                                                </div>
                                                     </div>
                                                <div class="cBoth">
                                                </div>
                                                
                                                
                                                <div class="cBoth">
                                                </div>
                                                <div class="pTop5 col-md-12" id="TransportSyncDiv" runat="server">
                                                    <div class="himsBoxHeader  card-head inner" id="Div13" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText fLeft">
                                                                <header>
                                                                    <asp:Label ID="TransportSyncLabel" Text="Transport Sync" runat="server" />
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                <div class="outerBox pTop15 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="TransportLabel" Text="Transport" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="TransportDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="True" OnSelectedIndexChanged="TransportDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent col-md-12 ">
                                                    <div id="Div1" runat="server">
                                                        <div id="Div2" runat="server" class="table-responsive">
                                                            <asp:GridView ID="BusRouteDestinationGridView" runat="server" Width="100%" CssClass="table table-striped table-bordered table-hover"
                                                                AutoGenerateColumns="False" EmptyDataText="No Records Found !!"
                                                                DataKeyNames="BusRouteDestinationId">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Select">
                                                                        <HeaderTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="BRDHeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                    Visible="true" OnCheckedChanged="BRDHeaderSelectCheckBox_checked" />
                                                                                <span></span>
                                                                            </label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                        <ItemStyle HorizontalAlign="Center" Width="10%" Wrap="True" />
                                                                        <ItemTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="BRDSelectCheckBox" runat="server" />
                                                                                <span></span>
                                                                            </label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:BoundField DataField="BusRoute" HeaderText="Bus Route">
                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                    <ItemStyle Width="45%" />
                                                                    </asp:BoundField>
                                                                    <asp:BoundField DataField="BusRouteDestination" HeaderText="Bus Route Destination">
                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                    <ItemStyle Width="45%" />
                                                                    </asp:BoundField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        &nbsp;
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:Button ID="AssignRouteSyncButton" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" SkinID="0" Text=" Assign Route Sync" CssClass="btn-assign btn fas"
                                                            OnClick="AssignRouteSyncButton_Click"></asp:Button>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        &nbsp;
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:Button ID="TransportMasterSyncButton" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" SkinID="0" Text=" Transport Master Sync" CssClass="btn-assign btn fas"
                                                            OnClick="TransportMasterSyncButton_Click"
                                                            ToolTip="Transport Master, Bus Route Master, Bus Route Destination Master, Fuel Type Master, Vehicle Type Master, Vehicle Master"></asp:Button>
                                                    </div>
                                                </div>
                                                    </div>
                                            </ContentTemplate>
                                        </ajaxtoolkit:TabPanel>

                                        <ajaxtoolkit:TabPanel Width="100%" ID="TabPanel1" runat="server" HeaderText="SyncData">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-sync"></i>&nbsp;All</a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="cBoth"></div>
                                                <div class="outerBox pTop15 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        &nbsp;
                                                     <asp:Label ID="FromDateLable" runat="server" Text="From Date" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5 ">
                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl"
                                                            runat="server" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop15 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        &nbsp;
                                                     <asp:Label ID="ToDateLabel" runat="server" Text="To Date" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5 ">
                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl"
                                                            runat="server" />
                                                    </div>
                                                </div>
                                                <div class="cBoth"></div>
                                                <br />
                                                <div class="outerBox pTop15 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="Label1" Text="Transport" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="TransportDropDownList1" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true" OnSelectedIndexChanged="TransportDropDownList1_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent col-md-12 ">
                                                    <div id="Div3" runat="server" visible="true">
                                                        <div id="Div6" runat="server" class="table-responsive">
                                                            <asp:GridView ID="BusRouteDestinationGridView1" runat="server" Width="100%" CssClass="table table-striped table-bordered table-hover"
                                                                AutoGenerateColumns="False" EmptyDataText="No Records Found !!" AllowPaging="False"
                                                                DataKeyNames="BusRouteDestinationId" ShowHeader="True" ShowFooter="false">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%"
                                                                        ItemStyle-Wrap="true">
                                                                        <HeaderTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="BRDHeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                    Visible="true" OnCheckedChanged="BRDHeaderSelectCheckBox_checked" />
                                                                                <span></span>
                                                                            </label>
                                                                        </HeaderTemplate>
                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                        <ItemTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="BRDSelectCheckBox" runat="server" />
                                                                                <span></span>
                                                                            </label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:BoundField DataField="BusRoute" HeaderText="Bus Route" ItemStyle-Width="45%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="BusRouteDestination" HeaderText="Bus Route Destination" ItemStyle-Width="45%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="cBoth"></div>
                                                <br />
                                                <div class="col-md-3">
                                                    <div class="fLeft pRight5 pTop5">
                                                        <asp:CheckBox ID="FunctionalityCheckBox" runat="server" AutoPostBack="true" Checked="false" Text="Module Functionality" OnCheckedChanged="FunctionalityCheckBox_CheckedChanged" />

                                                    </div>
                                                    <div id="FunctionalityDiv" runat="server" visible="False" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey overflow-x-hidden padd-0">
                                                        <asp:CheckBoxList ID="FunctionalityCheckBoxList" runat="server">
                                                        </asp:CheckBoxList>
                                                    </div>
                                                </div>
                                                <div class="col-md-3">
                                                    <div class="fLeft pRight5 pTop5">
                                                        <asp:CheckBox ID="DisplayOrgGroupCheckBox" runat="server" AutoPostBack="true" Checked="false" Text="Sync By Organization" OnCheckedChanged="DisplayOrgGroupCheckBox_CheckedChanged" />
                                                    </div>
                                                    <div id="OrganizationDiv" runat="server" visible="False" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey overflow-x-hidden padd-0">
                                                        <asp:CheckBoxList ID="OrganizationCheckBoxList" runat="server">
                                                        </asp:CheckBoxList>
                                                    </div>
                                                </div>
                                                <div class="cBoth"></div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="fLeft pRight5">
                                                        <asp:Button ID="SyncDataButton" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" SkinID="0" Text="Sync Data" CssClass="btn-assign btn fas" OnClick="SyncData_Click"></asp:Button>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="fLeft pRight5">
                                                        <asp:Button ID="SyncAllDataButton" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" SkinID="0" Text="Sync All Data" CssClass="btn-assign btn fas" OnClick="SyncAllData_Click"></asp:Button>
                                                    </div>
                                                </div>
                                                
                                            </ContentTemplate>
                                        </ajaxtoolkit:TabPanel>
                                    </ajaxtoolkit:TabContainer>


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

            </div>
            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
