<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Communication_MyTeacher, App_Web_yitrogwh" 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="172"
                                                            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="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                <i class="fas fa-list-ul"></i>
                                                <asp:Label ID="MyPayrollLabel" runat="server" Text="My Teacher"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                        
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">
 
                                                <div id="PayProcessSetupDiv" runat="server" visible="false">
                                                    <div class="himsBoxContent col-md-12">
                                                        <asp:GridView runat="server" ID="StudentCountGridView" class="himssuHeader7WireBox col-md-12 table-responsive" AutoGenerateColumns="False"
                                                            EmptyDataText="No records available for the seacrh criteria!" DataKeyNames="EmployeeID"
                                                            meta:resourcekey="PayProcessSetupResource1"   
                                                            CssClass="table table-striped table-bordered">
                                                            <Columns>
                                                                
                                                                <asp:BoundField DataField="Name" HeaderText="Teacher Name" ItemStyle-Width="10%" />
                                                                <%--  <asp:BoundField DataField="StudentCount" HeaderText="Student Count" ItemStyle-Width="40%" />--%>
                                                                <asp:TemplateField HeaderText="SubjectName" meta:resourcekey="TemplateFieldResource1" ItemStyle-Width="10%">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="SubjectNameLabel" runat="server" Text='<%#Eval("SubjectName") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                    
                                                                </asp:TemplateField>
                                                                
                                                                <asp:TemplateField meta:resourcekey="TemplateFieldResource1" ItemStyle-Width="20%" HeaderText="Teacher Photo" >
                                                                    <ItemTemplate>
                                                                         
                                                                        <asp:Image ID="EmployeePhotoImage" Height="60px" Width="60px" runat="server" ImageUrl='<%# "data:image/jpg;base64," + Convert.ToBase64String((byte[])Eval("EmployeePhoto"))%>'/>
                                                                    </ItemTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                </asp:TemplateField>
                                                                
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                                
                            </div>
                        </tr>
                    </table>
                </div>
            </div>
            
        </ContentTemplate>
    </asp:UpdatePanel>

    

   <%-- <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>
