<%@ page language="C#" autoeventwireup="true" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" inherits="Pages_TimeTable_SubjectWiseTimeTable, App_Web_wwh5q3ps" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/TimeTable/TimeTableSchemaDetailBoxControl.ascx" TagName="TimeTableSchemaControl" TagPrefix="TimeTableSchema" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <hims:EmployeeSearchControl ID="EmployeeSearch" Visible="false" runat="server" />
            <Common:CommonSearchUserControl ID="CommonSearchControl" 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="222"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <TimeTableSchema:TimeTableSchemaControl ID="TimeTableSchemaUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader5WireBox card card-box">
                        <div class="himsBoxHeader card-head">

                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-list-ul"></i>
                                        <asp:Label ID="Label1" runat="server" Text="Subject Time Table"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="OrganizationLabel" runat="server" Text="Organization" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="OrganizationDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            AutoPostBack="true" OnSelectedIndexChanged="OrganizationDropDownList_OnSelectedIndexChanged">
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="SubjectLabel" runat="server" Text="Subject"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="SubjectDropDownList" SkinID="CustomWidthDropDownList"
                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                            AutoPostBack="true" OnSelectedIndexChanged="SubjectDropDownList_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="DivisionLabel" runat="server" Text="Division" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="DivisionDropDownList" SkinID="CustomWidthDropDownList" Visible="false"
                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                            AutoPostBack="true" OnSelectedIndexChanged="DivisionDropDownList_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="col-md-12 center">
                                    <asp:Button ID="PrintButton" Text="&#xf15b; Print" runat="server" OnClick="PrintButton_Click"
                                        meta:resourcekey="PrintButtonResource1" SkinID="0" class="btn btn-report fas" />
                                </div>
                                <div class="cBoth"></div>
                                <div class="himssuHeader7WireBox">
                                    <div id="TimeTableDetailDiv" runat="server" visible="true">
                                        <div class="himssuHeader7WireBox box-body box-solid gridviewfont">
                                            <div class="himsBoxContent">
                                                <asp:GridView ID="DivisionTimeTableGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                    EmptyDataText="No Records Found !!" AllowPaging="False" OnRowDataBound="DivisionTimeTableGridView_RowDataBound"
                                                    DataKeyNames="" ShowHeader="true" CssClass="table table-striped table-bordered">
                                                    <Columns>
                                                        <asp:TemplateField ItemStyle-Width="10%" HeaderText="Lecture No" ItemStyle-HorizontalAlign="Center"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblRowNumber" runat="server" Text='<%# Bind("LectureNumber") %>' Font-Bold="true"></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="10%" HeaderText="Sunday" ItemStyle-HorizontalAlign="Left"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblSundayEmployee" runat="server" Font-Bold="true"></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>

                                                        <asp:TemplateField ItemStyle-Width="10%" HeaderText="Monday" ItemStyle-HorizontalAlign="Left"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblMondayEmployee" runat="server" Font-Bold="true"></asp:Label>
                                                                <%-- <br />
                                                                            <asp:Label ID="lblMondaySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>
                                                                            <br />
                                                                            <asp:Label ID="LabelMondayDiv" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>--%>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="10%" HeaderText="Tuesday" ItemStyle-HorizontalAlign="Left"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lbltuesdayEmployee" runat="server"  Font-Bold="true"></asp:Label>
                                                                <%--<br />
                                                                            <asp:Label ID="lbltuesdaySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>
                                                                            <br />
                                                                            <asp:Label ID="LabeltuesdayDiv" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>--%>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="10%" HeaderText="Wednesday" ItemStyle-HorizontalAlign="Left"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblWednesdayEmployee" runat="server"  Font-Bold="true"></asp:Label>
                                                                <%--<br />
                                                                <asp:Label ID="lblWednesdaySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>
                                                                <br />
                                                                <asp:Label ID="LabelWednesdayDiv" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>--%>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="10%" HeaderText="Thursday" ItemStyle-HorizontalAlign="Left"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblThursdayEmployee" runat="server"  Font-Bold="true"></asp:Label>
                                                              <%--  <br />
                                                                <asp:Label ID="lblThursdaySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>
                                                                <br />
                                                                <asp:Label ID="LabelThursdayDiv" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>--%>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="10%" HeaderText="Friday" ItemStyle-HorizontalAlign="Left"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblfridayEmployee" runat="server"  Font-Bold="true"></asp:Label>
                                                               <%-- <br />
                                                                <asp:Label ID="lblfridaySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>
                                                                <br />
                                                                <asp:Label ID="LabelfridayDiv" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>--%>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="10%" HeaderText="Saturday" ItemStyle-HorizontalAlign="Left"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblSaturdayEmployee" runat="server"  Font-Bold="true"></asp:Label>
                                                              <%--  <br />
                                                                <asp:Label ID="lblSaturdaySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>
                                                                <br />
                                                                <asp:Label ID="LabelSaturdayDiv" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>--%>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <PagerSettings Visible="False" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                </tr>
                    </table>
            </div>
            </div>            
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/division-timetable-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/division-timetable")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
