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

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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <ACS:AlphabetSearchCommonControl ID="AlphabetCommonSearch" runat="server" Visible="false" />
            <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="213"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-user"></i>
                                        <asp:Label ID="MyPayrollLabel" runat="server" Text="My Student"></asp:Label>
                                    </header>
                                </div>
                            </div>
                            <div class="fRight">
                                <table>
                                    <tr>

                                        <td>
                                            <%--  <asp:Button ID="BackButton" runat="Server"  SkinID="0"
                                                            CssClass="BackButton" Text="Back" OnClick="BackButton_Click" />--%>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <div>
                                        <%--  <asp:PlaceHolder ID="PlaceHolder1" runat="server" />--%>
                                    </div>
                                    <asp:HiddenField ID="IdHiddenField" runat="server" />
                                    <div class="cBoth">
                                    </div>
                                    <div id="PayProcessSetupDiv" runat="server" visible="false">
                                        <div class="himsBoxContent col-md-12 table-responsive">
                                            <asp:GridView runat="server" ID="StudentCountGridView" AutoGenerateColumns="False"
                                                EmptyDataText="No records available for the seacrh criteria!" DataKeyNames="DivisionId"
                                                meta:resourcekey="PayProcessSetupResource1" OnRowDataBound="PayProcessSetupGridView_RowDataBound"
                                                CssClass="table table-striped table-bordered table-hover">
                                                <Columns>
                                                    <asp:BoundField DataField="OrgName" HeaderText="Organization Name" ItemStyle-Width="20%" />
                                                    <asp:BoundField DataField="ClassDivisionName" HeaderText="Class" ItemStyle-Width="10%" />
                                                    <%--  <asp:BoundField DataField="StudentCount" HeaderText="Student Count" ItemStyle-Width="40%" />--%>
                                                    <asp:TemplateField HeaderText="Student Count" meta:resourcekey="TemplateFieldResource1" ItemStyle-Width="10%">
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="ViewReportLinkButton" runat="server" OnClick="ViewDivisionWiseStudent_Click" Text='<%# Eval("StudentCount").ToString()=="0"?"":Eval("StudentCount")%>'></asp:LinkButton>

                                                        </ItemTemplate>
                                                        <ItemStyle HorizontalAlign="Center" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField meta:resourcekey="TemplateFieldResource1" ItemStyle-Width="20%" Visible="false">
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="AttendanceLinkButton" runat="server" Text="Attendance" OnClick="AttendanceRegister_Click"></asp:LinkButton>

                                                        </ItemTemplate>
                                                        <ItemStyle HorizontalAlign="Center" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField meta:resourcekey="TemplateFieldResource1" ItemStyle-Width="20%" Visible="false">
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="MarkEntryLinkButton" runat="server" Text="Mark Entry" OnClick="MarkEntrySingleSubject_Click"></asp:LinkButton>

                                                        </ItemTemplate>
                                                        <ItemStyle HorizontalAlign="Center" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField meta:resourcekey="TemplateFieldResource1" ItemStyle-Width="20%" Visible="false">
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="ClassWorkHomeWorkLinkButton" runat="server" Text="ClassWork/HomeWork" OnClick="ClassWorkHomeWork_Click"></asp:LinkButton>

                                                        </ItemTemplate>
                                                        <ItemStyle HorizontalAlign="Center" />
                                                    </asp:TemplateField>
                                                </Columns>
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <div class="himssuHeader1WireBox card card-box" id="ListDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-users"></i>
                                        <asp:Label ID="Label1" runat="server" Text="My Student"></asp:Label>
                                    </header>
                                </div>
                            </div>
                            <div class="fRight" style="margin-top: -27px">
                                <table>
                                    <tr>

                                        <td>
                                            <asp:Button ID="BackButton" runat="Server" SkinID="0"
                                                class="btn btn-back fas" Text="&#xf30a; Back" OnClick="BackButton_Click" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="whiteboxpaddingleft row">
                            <div class="himsBoxContent">


                                <asp:Panel ID="Panel1" runat="Server">
                                    <%--<div>
                                                 <asp:Label ID="OrganizationNameLabel" runat="server" Text="Organization"></asp:Label>
                                            </div>--%>
                                    <div class="contentHolder" style="padding-top: 5px">

                                        <table width="100%" class="midborder profiledivpaddingbottom" cellspacing="15">
                                            <tr>
                                                <td style="width: 25%"><b>Organization :</b>
                                                    <asp:Label ID="OrgNameLabel" runat="server" Text=""></asp:Label>
                                                </td>

                                            </tr>
                                            <tr>
                                                <td style="width: 25%"><b>Class:</b>
                                                    <asp:Label ID="ClassNameLabel" runat="server" Text=""></asp:Label>
                                                </td>
                                            </tr>
                                        </table>


                                        <div class="cBoth">
                                        </div>
                                        <div class="card-body">
                                            <asp:PlaceHolder ID="PlaceHolder1" runat="server" />
                                        </div>

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

                                    </div>
                                </asp:Panel>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </ContentTemplate>
    </asp:UpdatePanel>

    <script type="text/javascript">
        function SelectSudentLinkButton() {
            alert("hello");
            PageMethods.BindStudent("cSharp", onComplete);
        }
        function onComplete(result, response, content) {
            alert(result);
        }
    </script>




    <%--<script data-main="../../../JavaScript/rjs/encrypt/my-payroll-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/my-payroll")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
