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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" 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="102"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="whiteboxpaddingleft row">
                        <div class="himssuHeader5WireBox card card-box">
                            <div class="himsBoxHeader card-head">
                                <asp:Panel ID="VehicleAlertPanel" runat="server" meta:resourcekey="VehicleAlertPanelResource1">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-search"></i>
                                                <asp:Label ID="NoofStudentLabel" runat="server" Text="No of Student"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                            <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                <div class="himsBoxContent card-body">
                                    <div class="contentHolder ">
                                        <div id="AlertDiv" runat="server" class="col-md-12 " visible="false">
                                            <div class="alert  mt2 alert-info">
                                                <i class="material-icons">info</i>
                                                |&nbsp;
                         <asp:Label ID="Label3" runat="server" Text="No of applicable student : " Font-Size="Small"></asp:Label>
                                            </div>
                                        </div>


                                        <div id="NoofStudentOrgDiv" runat="server">
                                            <div class="himssuHeader1WireBox col-md-12 pTop5">
                                                <div class="himsBoxHeader  card-head inner">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle">
                                                        <div class="headerText fLeft">
                                                            <header>
                                                                <asp:Label ID="NoofStudent_Label" runat="server" Text="Org Wise Total Student" Font-Bold="true"></asp:Label>
                                                                <%--<asp:HiddenField ID="OrganizationHiddenField" runat="server" />--%>
                                                            </header>

                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent table-responsive">
                                                    <asp:Button ID="NoofstudentOrgExportButton" runat="server" Text="&#xf093; Export" OnClick="NoofstudentOrgExportButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />
                                                    <asp:GridView runat="server" ID="NoofStudentGridView" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                        ShowHeader="True" DataKeyNames="OrgId">
                                                        <Columns>
                                                            <asp:TemplateField ItemStyle-Width="10%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left"
                                                                HeaderText="Org Id">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="OrgIdLinkButton" SkinID="CustomWidthLabel" runat="server" Width="75px"
                                                                        Text='<%# Bind("Code") %>' OnClick="OrgIdLinkButton_Click"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="OrgName" HeaderText="Org Name" ItemStyle-Width="40%"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:TemplateField HeaderText="Active Student" ItemStyle-Width="10% ">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ActiveStudentLabel" runat="server" Text='<%#Eval("StudentCount") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="InActive Student" ItemStyle-Width="10% ">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="InActiveStudentLabel" runat="server" Text='<%#Eval("InActive") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Left Student" ItemStyle-Width="10% ">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="LeftStudentLabel" runat="server" Text='<%#Eval("LeftStudents") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>                                                             
                                                            <asp:BoundField DataField="TotalCount" HeaderText="Total Student" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                    <div style="padding-left: 500px">
                                                        <asp:Label ID="TotalTextLabel" runat="server" Font-Bold="true" style="padding-right:71px"></asp:Label>
                                                        <asp:Label ID="TotalActiveLabel" runat="server" Font-Bold="true" style="padding-right:97px"></asp:Label>
                                                        <asp:Label ID="TotalInActiveLabel" runat="server" Font-Bold="true" style="padding-right:103px"></asp:Label>
                                                        <asp:Label ID="TotalLeftLabel" runat="server" Font-Bold="true" style="padding-right:103px"></asp:Label>
                                                        <asp:Label ID="TotalLabel" runat="server" Font-Bold="true"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div id="NoofStudentDepartDiv" runat="server" visible="false">
                                            <div class="himssuHeader1WireBox col-md-12 pTop5">
                                                <div class="himsBoxHeader  card-head inner" id="Div2" runat="server" visible="True">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle">
                                                        <div class="headerText fLeft">
                                                            <header>
                                                                <asp:Label ID="NoofStudentDepartLabel" runat="server" Text="Department Wise Student" Font-Bold="true"></asp:Label>
                                                            </header>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent table-responsive">                                                    
                                                    <asp:Button ID="NoofStudentDepartExportButton" runat="server" Text="&#xf093; Export" OnClick="NoofStudentDepartExportButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />
                                                    <asp:GridView runat="server" ID="NoofStudentDepartGridView" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                        ShowHeader="True" DataKeyNames="Id">
                                                        <Columns>
                                                            <asp:TemplateField ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left"
                                                                HeaderText="Department Name">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="DepartLinkButton" SkinID="CustomWidthLabel" runat="server"
                                                                        Text='<%# Bind("DepartName") %>' OnClick="DepartLinkButton_Click"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:BoundField DataField="DisplayTitle" HeaderText="Organization Name" ItemStyle-Width="40%"
                                                                HeaderStyle-HorizontalAlign="Left" />

                                                            <asp:BoundField DataField="StudentCount" HeaderText="Active Student" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="InActive" HeaderText="InActive Student" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="left" />
                                                            <asp:BoundField DataField="LeftStudent" HeaderText="Left Student" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="left" />                                                            
                                                            <asp:BoundField DataField="TotalCount" HeaderText="Total Student" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                    <div style="padding-left: 500px">
                                                        <asp:Label ID="DepartmentTotalTextLabel" runat="server" Font-Bold="true" style="padding-right:118px"></asp:Label>
                                                        <asp:Label ID="DepartmentActiveLabel" runat="server" Font-Bold="true" style="padding-right:86px"></asp:Label>
                                                        <asp:Label ID="DepartmentInActiveLabel" runat="server" Font-Bold="true" style="padding-right:91px"></asp:Label>
                                                        <asp:Label ID="DepartmentLeftLabel" runat="server" Font-Bold="true" style="padding-right:90px"></asp:Label>
                                                        <asp:Label ID="DepartmentTotalLabel" runat="server" Font-Bold="true"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div id="NoofStudentClassDiv" runat="server" visible="false">
                                            <div class="himssuHeader1WireBox col-md-12 pTop5">
                                                <div class="himsBoxHeader  card-head inner" id="Div1" runat="server" visible="True">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle">
                                                        <div class="headerText fLeft">
                                                            <header>
                                                                <asp:Label ID="NoofStudentClassLabel" runat="server" Text="Class Wise Student" Font-Bold="true"></asp:Label>
                                                            </header>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent table-responsive" style="width: 100%; padding-left: 14px; padding-right: 14px">
                                                <asp:Button ID="NoofStudentClassExportButton" runat="server" Text="&#xf093; Export" OnClick="NoofStudentClassExportButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />                                                    
                                                <asp:GridView runat="server" ID="NoofStudentClassGridView" AutoGenerateColumns="False"
                                                    EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                    ShowHeader="True" DataKeyNames="ClassId,DepartmentId">
                                                    <Columns>
                                                        <asp:TemplateField ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left"
                                                            HeaderText="Class Name">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="ClassLinkButton" SkinID="CustomWidthLabel" runat="server" Width="75px"
                                                                    Text='<%# Bind("Class") %>' OnClick="ClassLinkButton_Click"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="DepartName" HeaderText="Department Name" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="StudentCount" HeaderText="Active Student" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="InActive" HeaderText="InActive Student" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="LeftStudent" HeaderText="Left Student" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />                                                        
                                                        <asp:BoundField DataField="TotalCount" HeaderText="Total Student" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                    </Columns>
                                                    <PagerSettings Visible="False" />
                                                </asp:GridView>
                                                <div style="padding-left: 500px">
                                                    <asp:Label ID="ClassTotalTextLabel" runat="server" Font-Bold="true" style="padding-right:115px"></asp:Label>
                                                    <asp:Label ID="ClassActiveLabel" runat="server" Font-Bold="true" style="padding-right:82px"></asp:Label>
                                                    <asp:Label ID="ClassInActiveLabel" runat="server" Font-Bold="true" style="padding-right:90px"></asp:Label>
                                                    <asp:Label ID="ClassLeftLabel" runat="server" Font-Bold="true" style="padding-right:90px"></asp:Label>
                                                    <asp:Label ID="ClassTotalLabel" runat="server" Font-Bold="true"></asp:Label>
                                                </div>
                                            </div>
                                            <div id="NoofStudentDivisionDiv" runat="server" visible="false">
                                                <div class="himssuHeader1WireBox col-md-12 pTop5">
                                                    <div class="himsBoxHeader  card-head inner" id="Div3" runat="server" visible="True">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText fLeft">
                                                                <header>
                                                                    <asp:Label ID="NoofStudentDivisionLabel" runat="server" Text="Division Wise Student" Font-Bold="true"></asp:Label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent table-responsive" style="width: 100%; padding-left: 14px; padding-right: 14px">
                                                    <asp:Button ID="NoofStudentDivisionExportButton" runat="server" Text="&#xf093; Export" OnClick="NoofStudentDivisionExportButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />                                                                                               
                                                    <asp:GridView runat="server" ID="NoofStudentDivisionGridView" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                        ShowHeader="True">
                                                        <Columns>
                                                            <asp:BoundField DataField="ClassDivision" HeaderText="Class Division" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="DepartName" HeaderText="Department Name" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="StudentCount" HeaderText="Active Student" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="InActive" HeaderText="InActive Student" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="LeftStudent" HeaderText="Left Student" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />                                                            
                                                            <asp:BoundField DataField="TotalCount" HeaderText="Total Student" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                    <div style="padding-left: 500px">
                                                        <asp:Label ID="DivisionTotalTextLabel" runat="server" Font-Bold="true" style="padding-right:114px"></asp:Label>
                                                        <asp:Label ID="DivisionActiveLabel" runat="server" Font-Bold="true" style="padding-right:90px"></asp:Label>
                                                        <asp:Label ID="DivisionInActiveLabel" runat="server" Font-Bold="true" style="padding-right:98px"></asp:Label>
                                                        <asp:Label ID="DivisionLeftLabel" runat="server" Font-Bold="true" style="padding-right:98px"></asp:Label>
                                                        <asp:Label ID="DivisionTotalLabel" runat="server" Font-Bold="true"></asp:Label>
                                                    </div>
                                                </div>




                                            </div>
                                        </div>
                                    </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
            </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>
