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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <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="221"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                                    <div class="himsBoxHeader card-head">
                                        <asp:Panel ID="Panel1" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">

                                                <div class="headerText">
                                                      <header>
                                                        <i class="fas fa-search"></i>
                                                            <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                                    </header>
                                                </div>
                                                <div class="fRight" style="margin-top: -20px">
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">
                                                <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                                    <div class="outerBox pTop5 col-md-3">
                                                       
                                                        <asp:CheckBox ID="PendingCheckBox" runat="server" Text="Pending" AutoPostBack="false" />
                                                       
                                                    </div>

                                                    <div class="alignCenter pTop5 col-md-12 middle">
                                                        <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click" SkinID="0" CssClass="btn-search btn fas" />
                                                        <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click" SkinID="0" CssClass="btn-reset btn fas"/>
                                                        <asp:Button ID="ExportButton" runat="server" Text="&#xf093;  Export To VTS" OnClick="ExportButton_Click" SkinID="0" CssClass="btn btn-examcommon fas"/>
                                                    </div>
                                                  
                                                </asp:Panel>
                                                <div class="himssuHeader7WireBox col-md-12" runat="server">
                                                    <div id="ReasonMasterDetailDiv" visible="false" runat="server">
                                                        
                                                        <div class="himsBoxHeader">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="headerText">
                                                                    <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="himsBoxHeader card-head inner" id="Div3" runat="server">
                                                        <div class="gridHeaderText">
                                                         <header>
                                                              <asp:Label ID="Label2" runat="server" Text="Export Students"></asp:Label>
                                                         </header>
                                                         </div>
                                                        </div>

                                                        <div class="himsBoxContent card-body">
                                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                <ContentTemplate>
                                                                    <div id="Div5" runat="server" visible="false" class="table-responsive">
                                                                        <asp:GridView ID="TransportStudentListGridView" ClientIDMode="Static" runat="server" AutoGenerateColumns="False"
                                                                            OnRowDataBound="TransportStudentListGridView_RowDataBound" CssClass="table table-striped table-bordered table-bordered table-hover" OnPageIndexChanging="TransportStudentListGridView_PageIndexChanging"
                                                                            AllowPaging="false" SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                                            DataKeyNames="StudentId" EmptyDataText="No records Found !!!">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <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>
                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                    <ItemTemplate>
                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="SelectCheckBox" AutoPostBack="true" runat="server" />
                                                                                         <span></span>
                                                                                        </label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Organization" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="OrganizationLabel" runat="server"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="ID No." ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="IdNoLabel" runat="server"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Student Name" ItemStyle-Width="35%" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="StudentNameLabel" runat="server"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Class" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="ClassDivTitleLabel" runat="server"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Roll No." ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="RollNoLabel" runat="server"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>

                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                            </div>
                        </tr>
                    </table>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/hostelstudent-search-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/hostelstudent-search")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
