<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_TimeTable_EmployeeTimeTable, App_Web_gfuvrgrk" 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/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" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerAutoPostBackControl.ascx" TagName="DatePickerAutoPostBackControl" TagPrefix="DPC" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">

        <ContentTemplate>
            <asp:HiddenField ID="hfTimeTableSchemaId" runat="server" Value="0" />
            <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="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="far fa-clock"></i>
                                        <asp:Label ID="MyPayrollLabel" runat="server" Text="My TimeTable"></asp:Label>
                                    </header>
                                </div>
                                <div class="fRight mt-27">
                                    <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0" class="btn btn-add fas" Text="&#xf067; Add" />
                                </div>
                                <div class="fRight mt-27">
                                    <asp:Button ID="AddProxyButton" runat="server" Visible="false" OnClick="AddProxyButton_Click" SkinID="0" class="btn btn-add fas" Text="&#xf067; Add" />
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <cc1:TabContainer Width="100%" ID="TimeTableTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                        AutoPostBack="true" meta:resourcekey="ExamCustomSearchTabContainerResource1"
                                        ActiveTabIndex="0" OnActiveTabChanged="TimeTableTabContainer_ActiveTabChanged">
                                        <cc1:TabPanel Width="100%" ID="ExamMasterTabPanel" runat="server" HeaderText="Exam Master">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab">
                                                        <a href="#"><i class="fas fa-list-ul"></i>Time Table
                                                        </a>
                                                    </li>
                                                </ul>

                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div id="EmployeeTimeTableDiv" runat="server">
                                                    <div id="TimeTableSchemaDiv" class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="TimeTableSchemaLabel" runat="server" Text="TimeTable"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="TimeTableSchemaDropDownList" SkinID="CustomWidthDropDownList"
                                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                                AutoPostBack="true" OnSelectedIndexChanged="TimeTableSchemaDropDownList_SelectedIndexChanged">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent col-md-12 table-responsive" id="EmployeeTimeTableDetailDiv" runat="server">
                                                        <asp:PlaceHolder ID="DBDataPlaceHolder" runat="server"></asp:PlaceHolder>
                                                        <%--<asp:GridView runat="server" ID="EmployeeTimeTableGridView" AutoGenerateColumns="False" DataKeyNames="DivisionId"
                                                    EmptyDataText="No records available for the seacrh criteria!"
                                                    meta:resourcekey="PayProcessSetupResource1" OnRowDataBound="EmployeeTimeTableGridView_RowDataBound"
                                                    CssClass="table table-striped table-bordered table-hover">
                                                    <Columns>
                                                        <asp:TemplateField ItemStyle-Width="5%" 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="5%" HeaderText="Monday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblMondayEmployee" runat="server" Font-Bold="true"></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="5%" HeaderText="Tuesday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lbltuesdayEmployee" runat="server" Font-Bold="true"></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="5%" HeaderText="Wednesday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblWednesdayEmployee" runat="server" Font-Bold="true"></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="5%" HeaderText="Thursday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblThursdayEmployee" runat="server" Font-Bold="true"></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="5%" HeaderText="Friday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblfridayEmployee" runat="server" Font-Bold="true"></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="5%" HeaderText="Saturday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblSaturdayEmployee" runat="server" Font-Bold="true"></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                </asp:GridView>--%>
                                                        <%--     <asp:GridView runat="server" ID="EmployeeTimeTableGridView" AutoGenerateColumns="False" 
                                                    EmptyDataText="No records available for the seacrh criteria!"
                                                    meta:resourcekey="PayProcessSetupResource1"  OnRowDataBound="EmployeeTimeTableGridView_RowDataBound"
                                                    CssClass="table table-striped table-bordered table-hover">
                                                    <Columns>
                                                        <asp:TemplateField ItemStyle-Width="5%" 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="5%" HeaderText="Monday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblMondayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("Monday") %>'></asp:Label>
                                                            
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="5%" HeaderText="Tuesday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lbltuesdayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("Tuesday") %>'></asp:Label>
                                                       
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="5%" HeaderText="Wednesday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblWednesdayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("Wednesday") %>'></asp:Label>
                                                           
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="5%" HeaderText="Thursday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblThursdayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("Thursday") %>'></asp:Label>
                                                           
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="5%" HeaderText="Friday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblfridayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("Friday") %>'></asp:Label>
                                                         
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="5%" HeaderText="Saturday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblSaturdayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("Saturday") %>'></asp:Label>
                                                           
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                </asp:GridView>--%>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel Width="100%" ID="MyProxyTabPanel" runat="server" HeaderText="My Proxy">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab">
                                                        <a href="#"><i class="fas fa-list-ul"></i>My Proxy
                                                        </a>
                                                    </li>
                                                </ul>

                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div id="MyProxyTabContainerDiv" runat="server">
                                                    <div id="MyProxySchemaDiv" class="outerBox pTop5 col-md-3" runat="server" visible="true">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="MyProxySchemaLabel" runat="server" Text="Time Table" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="MyProxyDropDownList" SkinID="CustomWidthDropDownList"
                                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                                AutoPostBack="true" OnSelectedIndexChanged="MyProxySchemaDropDownList_SelectedIndexChanged">
                                                            </asp:DropDownList>
                                                        </div>

                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3" id="MyProxyDateDiv" runat="server" visible="true">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="LeftDateLabel" runat="server" Text="Proxy Date" meta:resourcekey="LeftDateLabelResource1"></asp:Label>
                                                        </div>
                                                        <%--<asp:HiddenField ID="hdnDate" Value="0" runat="server"  OnValueChanged="ProxyDatePickerCotrol_OnTextChanged" />
                                                            <div class="fLeft pRight5">--%>
                                                        <DPC:DatePickerAutoPostBackControl ID="ProxyDatePickerControl" runat="server" AutoPostBack="true" DisplayDatePicker="true" OnTextChanged="ProxyDatePickerCotrol_OnTextChanged" />
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent col-md-12 table-responsive" id="MyProxyDetailDiv" style="text-align: center" runat="server">
                                                    <asp:PlaceHolder ID="MyProxyDetailPlaceHolder" runat="server"></asp:PlaceHolder>
                                                    <%--<asp:GridView runat="server" ID="MyProxyGridView" AutoGenerateColumns="False" 
                                                    EmptyDataText="No records available for the seacrh criteria!"
                                                    meta:resourcekey="PayProcessSetupResource1"  OnRowDataBound="MyProxyGridView_RowDataBound"
                                                    CssClass="table table-striped table-bordered table-hover">
                                                    <Columns>
                                                        <asp:TemplateField ItemStyle-Width="5%" HeaderText="Proxy 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="5%" HeaderText="Division" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lblMondayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("DivisionTitle") %>'></asp:Label>
                                                            
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ItemStyle-Width="5%" HeaderText="Subject" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="lbltuesdayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("SubjectTitle") %>'></asp:Label>
                                                       
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        
                                                    </Columns>
                                                </asp:GridView>--%>
                                                </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                    </cc1:TabContainer>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>

                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                        <div class="himsBoxHeader card-head">
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-list-ul"></i>
                                        <asp:Label ID="CreateTimeTableLabel1" runat="server" Text="Create Time Table" />
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex">
                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" class="btn btn-back fas" Text="&#xf30a; Back" />
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div id="AddEmployeeTimeTableDiv" runat="server" visible="false">
                                    <div id="AddTimeTableSchemaDiv" class="outerBox pTop5 col-md-3" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="TimeTableSchemaLabel1" runat="server" Text="TimeTable"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="AddTimeTableSchemaDropDownList" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                AutoPostBack="true" OnSelectedIndexChanged="AddTimeTableSchemaDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent col-md-12 table-responsive">
                                        <asp:GridView runat="server" ID="AddEmployeeTimeTableGridView" AutoGenerateColumns="False" OnRowDataBound="AddEmployeeTimeTableGridView_RowDataBound"
                                            EmptyDataText="No records available for the seacrh criteria!"
                                            meta:resourcekey="PayProcessSetupResource1"
                                            CssClass="table table-striped table-bordered table-hover">
                                            <Columns>
                                                <asp:TemplateField ItemStyle-Width="5%" 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="5%" HeaderText="Lecture No" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblTimeTableSchemaId" runat="server" Font-Bold="true"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                                <asp:TemplateField ItemStyle-Width="5%" HeaderText="Sunday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblSundayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("Sunday") %>'></asp:Label>&nbsp;&nbsp; 
                                                        <asp:Label ID="lblSundayClassSubjectId" runat="server" Font-Bold="true" Text='<%# Bind("SundayClassSubjectId") %>'></asp:Label>
                                                        <asp:Label ID="lblSundayclassCount" runat="server" Font-Bold="true" Text='0' Visible="false"></asp:Label>
                                                        <%--  <label class="rt-chkbox rt-chkbox-outline">
                                                          <asp:CheckBox ID="MondayCheckBox" runat="server" Enabled="false" />
                                                          <span></span>
                                                      </label>--%>
                                                        <%--<br>
                                                        </br />
                                                        
                                                        <asp:DropDownList ID="DivisionSundayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>
                                                        <br />
                                                       
                                                        <asp:DropDownList ID="SubjectSundayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>--%>
                                                        <%-- <br />
                                                                        <asp:Label ID="lblMondaySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>


                                                <asp:TemplateField ItemStyle-Width="5%" HeaderText="Monday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblMondayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("Monday") %>'></asp:Label>&nbsp;&nbsp; 
                                                        <asp:Label ID="lblMondayClassSubjectId" runat="server" Font-Bold="true" Text='<%# Bind("MondayClassSubjectId") %>'></asp:Label>
                                                        <asp:Label ID="lblMondayclassCount" runat="server" Font-Bold="true" Text='0' Visible="false"></asp:Label>
                                                        <%--  <label class="rt-chkbox rt-chkbox-outline">
                                                          <asp:CheckBox ID="MondayCheckBox" runat="server" Enabled="false" />
                                                          <span></span>
                                                      </label>--%>
                                                        <%--<br>
                                                        </br />
                                                        
                                                        <asp:DropDownList ID="DivisionMondayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>
                                                        <br />
                                                       
                                                        <asp:DropDownList ID="SubjectMondayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>--%>
                                                        <%-- <br />
                                                                        <asp:Label ID="lblMondaySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField ItemStyle-Width="5%" HeaderText="Tuesday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lbltuesdayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("Tuesday") %>'></asp:Label>&nbsp;&nbsp; 
                                                        <asp:Label ID="lblTuesdayClassSubjectId" runat="server" Font-Bold="true" Text='<%# Bind("TuesdayClassSubjectId") %>'></asp:Label>
                                                        <asp:Label ID="lblTuesdayclassCount" runat="server" Font-Bold="true" Text='0' Visible="false"></asp:Label>
                                                        <%-- <label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="TuesdayCheckBox" runat="server" Enabled="false" />
                                                            <span></span>
                                                        </label>--%>
                                                        <%--<br>
                                                        </br />
                                                        
                                                        <asp:DropDownList ID="DivisiontuesdayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>
                                                        <br />
                                                       
                                                        <asp:DropDownList ID="SubjectTuesdayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>--%>
                                                        <%--  <br />
                                                                        <asp:Label ID="lbltuesdaySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField ItemStyle-Width="5%" HeaderText="Wednesday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblWednesdayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("Wednesday") %>'></asp:Label>&nbsp;&nbsp; 
                                                        <asp:Label ID="lblWednesdayClassSubjectId" runat="server" Font-Bold="true" Text='<%# Bind("WednesdayClassSubjectId") %>'></asp:Label>
                                                        <asp:Label ID="lblWednesdayclassCount" runat="server" Font-Bold="true" Text='0' Visible="false"></asp:Label>
                                                        <%--<label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="WednesdayCheckBox" runat="server" Enabled="false" />
                                                            <span></span>
                                                        </label>--%>
                                                        <%--<br>
                                                        </br />
                                                        
                                                        <asp:DropDownList ID="DivisionWednesdayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>
                                                        <br />
                                                        
                                                        <asp:DropDownList ID="SubjectWednesdayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>--%>
                                                        <%-- <br />
                                                                        <asp:Label ID="lblWednesdaySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField ItemStyle-Width="5%" HeaderText="Thursday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblThursdayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("Thursday") %>'></asp:Label>&nbsp;&nbsp; 
                                                        <asp:Label ID="lblThursdayClassSubjectId" runat="server" Font-Bold="true" Text='<%# Bind("ThursdayClassSubjectId") %>'></asp:Label>
                                                        <asp:Label ID="lblThursdayclassCount" runat="server" Font-Bold="true" Text='0' Visible="false"></asp:Label>
                                                        <%--    <label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="ThursdayCheckBox" runat="server" Enabled="false" />
                                                            <span></span>
                                                        </label>--%>
                                                        <%--<br>
                                                        </br />
                                                       
                                                        <asp:DropDownList ID="DivisionThursdayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>
                                                        <br />
                                                       
                                                        <asp:DropDownList ID="SubjectThursdayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>--%>
                                                        <%--<br />
                                                                        <asp:Label ID="lblThursdaySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField ItemStyle-Width="5%" HeaderText="Friday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblfridayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("Friday") %>'></asp:Label>&nbsp;&nbsp; 
                                                        <asp:Label ID="lblFridayClassSubjectId" runat="server" Font-Bold="true" Text='<%# Bind("FridayClassSubjectId") %>'></asp:Label>
                                                        <asp:Label ID="lblFridayclassCount" runat="server" Font-Bold="true" Text='0' Visible="false"></asp:Label>
                                                        <%--<label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="FridayCheckBox" runat="server" Enabled="false" />
                                                            <span></span>
                                                        </label>--%>
                                                        <%--<br>
                                                        </br />
                                                     
                                                        <asp:DropDownList ID="DivisionFridayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>
                                                        <br />
                                                       
                                                        <asp:DropDownList ID="SubjectFridayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>--%>
                                                        <%--<br />
                                                                        <asp:Label ID="lblfridaySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField ItemStyle-Width="5%" HeaderText="Saturday" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblSaturdayEmployee" runat="server" Font-Bold="true" Text='<%# Bind("Saturday") %>'></asp:Label>&nbsp;&nbsp; 
                                                          <asp:Label ID="lblSaturdayClassSubjectId" runat="server" Font-Bold="true" Text='<%# Bind("SaturdayClassSubjectId") %>'></asp:Label>
                                                        <asp:Label ID="lblSaturdayclassCount" runat="server" Font-Bold="true" Text='0' Visible="false"></asp:Label>
                                                        <%--  <label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="SaturdayCheckBox" runat="server" Enabled="false" />
                                                            <span></span>
                                                        </label>--%>
                                                        <%--<br>
                                                        </br />
                                                        <asp:DropDownList ID="DivisionSaturdayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>
                                                        <br />
                                                        <asp:DropDownList ID="SubjectSaturdayDrop" runat="server" Width="100%"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                        </asp:DropDownList>--%>
                                                        <%--<br />
                                                                        <asp:Label ID="lblSaturdaySubject" runat="server" ForeColor="DarkGreen" Font-Bold="true"></asp:Label>--%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                </div>
                            </div>
                            <div class="outerBox pTop5 col-xl-12 pTop10 pb5 alignCenter">
                                <asp:Button ID="SaveButton" runat="server" Text="&#xf0c7; Save" CssClass="btn btn-save fas" SkinID="0" OnClick="SaveButton_Click" />
                                <%--<asp:Button ID="DeleteButton" runat="server" Text="&#xf0c7; Delete" CssClass="btn btn-delete fas" SkinID="0" OnClick="DeleteButton_Click"  />--%>
                                <%-- <asp:Button ID="RefreshButton" runat="server" Text="&#xf2f9; Refresh" SkinID="0" CssClass="btn btn-refresh fas" />--%>

                                <%-- <asp:Button ID="AddAttachmentButton" runat="server" Text="&#xf067; Add Attachment" SkinID="0" CssClass="btn btn-add fas" OnClick="AddAttachmentButton_Click" />

                                <asp:Button ID="RefreshButton" runat="server" Text="&#xf2f9; Refresh" SkinID="0" CssClass="btn btn-refresh fas" OnClick="RefreshButton_Click" />

                                <asp:Button ID="DeleteButton" runat="server" Text="&#xf2ed; Delete" CssClass="btn btn-delete fas" SkinID="0" OnClick="DeleteButton_Click" />--%>
                            </div>
                        </div>

                    </div>

                    <div class="himssuHeader1WireBox card card-box" id="ProxySettingDetailDiv" runat="server" visible="false">
                        <div class="himsBoxHeader card-head">
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-list-ul"></i>
                                        <asp:Label ID="ProxySettingLabel" runat="server" Text="Add Proxy Setting" />
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex">
                                <asp:Button ID="ProxySettingButton" runat="Server" OnClick="ProxySettingBackButton_Click" SkinID="0" class="btn btn-back fas" Text="&#xf30a; Back" />
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div id="ProxySettingDiv" runat="server" visible="false">
                                    <div id="Div3" class="outerBox pTop5 col-md-3" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label2" runat="server" Text="TimeTable"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="AddProxySettingTableSchemaDropDownList" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                AutoPostBack="true" OnSelectedIndexChanged="AddProxySettingTableSchemaDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>

                                    </div>
                                    <div class="outerBox pTop5 col-md-3" id="AddProxySettingDateDiv" runat="server" visible="true">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="AddProxySettingDateLabel" runat="server" Text="Proxy Date"></asp:Label>
                                        </div>
                                        <DPC:DatePickerAutoPostBackControl ID="AddProxySettingDatePickerControl" runat="server" AutoPostBack="true" DisplayDatePicker="true" OnTextChanged="AddProxySettingDatePickerControl_OnTextChanged" />
                                    </div>
                                </div>
                                <div class="himssuHeader1WireBox col-md-12">
                                    <div id="AddProxySettingDetailDiv" runat="server" visible="True">

                                        <div class="LblheaderText">
                                            <asp:Label ID="AddProxySettingProxyLabel" Text="" runat="server" />
                                        </div>
                                        <div class="himsBoxContent table-responsive">
                                            <asp:GridView ID="ProxySettingGridView" runat="server" AutoGenerateColumns="False"
                                                EmptyDataText="No Records Found !!" AllowPaging="False" OnRowDataBound="ProxySettingGridView_RowDataBound"
                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="TimeTableId,DayId,DivisionId" ShowHeader="true">
                                                <Columns>
                                                    <asp:TemplateField ItemStyle-Width="5%" HeaderText="Lecture No" ItemStyle-HorizontalAlign="Center"
                                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                        <ItemTemplate>
                                                            <asp:Label ID="LblLectureNo" runat="server" Text='<%# Bind("LectureNumber") %>' Font-Bold="true"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ItemStyle-Width="5%" HeaderText="Subject" ItemStyle-HorizontalAlign="Center"
                                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                        <ItemTemplate>
                                                            <asp:Label ID="DivisionLable" runat="server" Text='<%# Bind("ClassDivisionName") %>'
                                                                ForeColor="#F44336" Font-Bold="true"></asp:Label>
                                                            <br />
                                                            <asp:Label ID="lblSubject" runat="server" Text='<%# Bind("SubjectTitle") %>' ForeColor="#607D8B"
                                                                Font-Bold="true"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField ItemStyle-Width="5%" HeaderText="Proxy Employee" ItemStyle-HorizontalAlign="Center"
                                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                        <ItemTemplate>
                                                            <asp:ImageButton ID="AddImageButton" runat="server" ImageUrl="~/Images/icons/expand.png"
                                                                OnClick="AddImageButton_OnClick" />
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                        <asp:ImageButton ID="DeleteImageButton" runat="server" ImageUrl="~/Images/Del.png"
                                                            Visible="false" OnClick="DeleteImageButton_OnClick" />
                                                            <br />
                                                            <asp:Label ID="ProxyEmployeeLable" runat="server" ForeColor="Brown" Font-Bold="true"></asp:Label>
                                                            <br />
                                                            <asp:Label ID="ProxySubject" 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>


                </tr>
              </table>
                <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="HidenButton"
                    PopupControlID="popUpPanel" BackgroundCssClass="modalBackground" CancelControlID="CloseButton"
                    Drag="True" PopupDragHandleControlID="dragPanel" DynamicServicePath="" Enabled="True" />
                <asp:LinkButton runat="server" ID="HidenButton" meta:resourcekey="HidenButtonResource1" />
                <asp:Panel ID="popUpPanel" runat="server">
                    <div class="himssuHeader2WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <asp:Label ID="Label1" runat="server" Text="Proxy Employee"></asp:Label>
                                    </header>
                                    <%--MantisId : 0035521 && 0035703--%>
                                    <asp:Label ID="Label4" runat="server" Text="Note: Below, the number of free lectures is displayed based on the time setup."
                                            SkinID="MandatoryLabel"
                                            Style="color: red; font-size: small;"></asp:Label>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">

                                <div class="outerBox pTop5 col-md-6">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="EmployeeLabel" runat="server" Text="Employee" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="EmployeeDropDownList" SkinID="CustomWidthDropDownList"
                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-6">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="SubjectLabel" runat="server" Text="Subject" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="SubjectDropDownList2" SkinID="CustomWidthDropDownList"
                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="col-md-12 center">
                                    <asp:Button ID="Button1" runat="server" OnClick="SaveProxySettingButton_Click" Text="&#xf0c7; Save" SkinID="0" class="btn btn-save fas" />
                                    <asp:Button ID="CloseButton" runat="server" OnClick="CloseProxySettingButton_Click" Text="&#xf00d; Close" SkinID="0" class="btn btn-close fas" />
                                </div>
                            </div>
                        </div>
                    </div>
                </asp:Panel>
            </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>
