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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch"
    TagPrefix="Std" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/AcademicDetail/ViewClassworkHomework.ascx" TagName="ViewClassworkHomework"
    TagPrefix="vch" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <style>
        #ctl00_CP_ViewClassworkHomework_MenuPlanDetailUpdatePanel {
            max-height: calc(100vh - 217px) !important;
            padding-bottom: 26px;
            height: 100%;
            overflow: scroll;
        }
    </style>
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <vch:ViewClassworkHomework ID="ViewClassworkHomework" Visible="false" runat="server" />

            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <%--  <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>
                                            </div>
                                        </div>
                                    </div>--%>
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="212"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <!-- Sub Container2 Box Start -->
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Search"></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>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                        <div class="col-md-12 bg-lghtgrey radiobtn">
                                            <asp:RadioButtonList ID="SourceTypeRadioButtonList" runat="server" RepeatDirection="Horizontal"
                                                OnSelectedIndexChanged="SourceTypeRadioButtonList_SelectedIndexChanged" AutoPostBack="true">
                                                <asp:ListItem Text="Teacher" Value="1" Selected="True"></asp:ListItem>
                                                <asp:ListItem Text="Organization" Value="2"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </div>
                                        <div id="TeacherWiseDiv" runat="server">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SearchTeacherLabel" runat="server" Text="Teacher"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="SearchTeacherDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                        AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        OnSelectedIndexChanged="SearchTeacherDropDownList_SelectedIndexChanged" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SearchOrganizationLabel" runat="server" Text="Organization"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="SearchOrganizationDropDownList" AutoPostBack="true" OnSelectedIndexChanged="SearchOrganizationDropDownList_OnSelectedIndexChanged" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                </div>
                                            </div>
                                        </div>
                                        <div id="OrganizationWiseDiv" runat="server" visible="false">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="OrgWiseOrganizationLabel" runat="server" Text="Organization"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="OrgWiseOrganizationDropDownList" AutoPostBack="true" OnSelectedIndexChanged="OrgWiseOrganizationDropDownList_SelectedIndexChanged" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="OrgWiseTeacherLabel" runat="server" Text="Teacher"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="OrgWiseTeacherDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                        AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        OnSelectedIndexChanged="OrgWiseTeacherDropDownList_SelectedIndexChanged" />
                                                </div>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchSubjectLabel" runat="server" Text="Subject"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchSubjectDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                    AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    OnSelectedIndexChanged="SearchSubjectDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchClassLabel" runat="server" Text="Class"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchClassDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                    OnSelectedIndexChanged="SearchClassDropDownList_OnSelectedIndexChanged" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchDivisionLabel" runat="server" Text="Division"></asp:Label>
                                            </div>
                                            <asp:DropDownList ID="SearchDivisionDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromDateLabel" runat="server" Text="From Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl"
                                                    runat="server" Visible="true" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToDateLabel" runat="server" Text="To Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl"
                                                    runat="server" Visible="true" />
                                            </div>
                                        </div>

                                        <div class="alignCenter pTop5 col-md-12 center">
                                            <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click"
                                                SkinID="0" class="btn-search btn fas" />
                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click"
                                                SkinID="0" class="btn-reset btn fas" />
                                            <asp:HiddenField ID="MaxRowHiddenField" runat="server" />
                                            <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" OnClick="ExportButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />
                                        </div>
                                    </asp:Panel>
                                    <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server">
                                        <div id="SearchNewsDetailDiv" visible="false" runat="server">

                                            <div class="himsBoxHeader" id="SearchNewsDiv" visible="false" runat="server">
                                                <div class="leftdiv">
                                                </div>

                                                <%-- <div class="gridHeaderText">
                                                            <header>
                                                            <asp:Label ID="AssignRouteLabel" runat="server" Text="ClassWork | Homework"></asp:Label>
                                                            </header>
                                                            </div>--%>
                                            </div>
                                            <div class="himsBoxContent col-md-12 pTop5 table-responsive">
                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel1" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="SearchDiv5" runat="server" visible="false">
                                                            <asp:GridView ID="ClassworkStudentGridView" runat="server" AutoGenerateColumns="False" Width="100%"
                                                                CssClass="table table-striped table-bordered table-hover" OnRowDataBound="ClassworkStudentGridView_RowDataBound"
                                                                EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" DataKeyNames="Id,OrgId,BatchId,Organization,EmployeeId,Batch,ClassId,DivisionId,SubjectId,UniqueId">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="6%" ItemStyle-Wrap="true">
                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="LinkButton" runat="server" CommandName="Select" Text="Select"
                                                                                CausesValidation="false" OnClick="LinkButton_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField ItemStyle-Width="6%" ItemStyle-Wrap="true">
                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="CloneLinkButton" runat="server" CommandName="Select" Text="Clone"
                                                                                CausesValidation="false" OnClick="CloneLinkButton_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:BoundField DataField="TeacherName" ItemStyle-Width="10%" HeaderText="Teacher Name"></asp:BoundField>
                                                                    <asp:BoundField DataField="Organization" ItemStyle-Width="12%" HeaderText="Org Name"></asp:BoundField>
                                                                    <asp:TemplateField HeaderText="Class Name" ItemStyle-Width="8%" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ClsLabel" runat="server" Text='<%#Bind("ClassName")%>'></asp:Label>
                                                                            <asp:Label ID="DesLabel" runat="server" Text="-"></asp:Label>
                                                                            <asp:Label ID="DivisionLabel" runat="server" Text='<%#Bind("DivisionName")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:BoundField DataField="SubjectName" HeaderText="Subject Name" ItemStyle-Width="10%"></asp:BoundField>
                                                                    <asp:TemplateField HeaderText="Classwork Date" ItemStyle-Width="10%" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="WorkDateLabel" runat="server" Text='<%# Bind("ClassWorkDate","{0:dd/MM/yyyy}") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField ItemStyle-Width="16%" ItemStyle-Wrap="true" HeaderText="Classwork">
                                                                        <ItemStyle HorizontalAlign="Left" Wrap="true" />
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ClassWorkLabel" runat="server" Text='<%# Bind("Classwork") %>'></asp:Label>
                                                                            <asp:Label ID="ClassWorkLinkLabel" runat="server" Text='<%# Bind("Classwork") %>' Style="width: 87% !important; overflow-wrap: anywhere"></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField ItemStyle-Width="16%" ItemStyle-Wrap="true" HeaderText="Homework">
                                                                        <ItemStyle HorizontalAlign="Left" Wrap="true" />
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="HomeWorkLabel" runat="server" Text='<%# Bind("Homework") %>'></asp:Label>
                                                                            <asp:Label ID="HomeWorkLinkLabel" runat="server" Text='<%# Bind("Homework") %>' Style="width: 87% !important; overflow-wrap: anywhere"></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <%--<asp:BoundField DataField="Homework" ItemStyle-Width="19%" HeaderText="Homework"--%>
                                                                    <%--ItemStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                    <asp:TemplateField ItemStyle-Width="16%" ItemStyle-Wrap="true" HeaderText="Created DateTime">
                                                                        <ItemStyle HorizontalAlign="Left" Wrap="true" />
                                                                        <ItemTemplate>
                                                                            <%--<asp:Label ID="CreatedDateTimeLabel" runat="server" Text='<%# Bind("CreatedDateTime","{0:dd/MM/yyyy hh.MM tt}") %>' ></asp:Label>--%>
                                                                            <asp:Label ID="CreatedDateTimeLabel" runat="server" Text='<%# Bind("CreatedDateTime","{0:dd/MM/yyyy hh:mm}") %>'></asp:Label>

                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField ItemStyle-Width="6%" HeaderText="Check Status" ItemStyle-Wrap="true">
                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="HomeWorkStatusButton" runat="server" CommandName="Select" Text="Check"
                                                                                CausesValidation="false" OnClick="HomeWorkStatusButton_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField ItemStyle-Width="6%" HeaderText="View Status" ItemStyle-Wrap="true">
                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="ViewClassWork" runat="server" CommandName="Select" Text="View"
                                                                                CausesValidation="false" OnClick="ViewClassWork_Click" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <!-- Sub Container2 Box Ends -->
                    <!-- Sub Container1 Box Start -->
                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-list-ul"></i>
                                        <asp:Label ID="NewsDetailLabel" runat="server" Text="Classwork"></asp:Label>
                                    </header>
                                </div>
                            </div>


                            <div class="fRight mt-27 pagination display-flex ">
                                <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                    <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                        runat="server" ImageUrl="~/Images/arrowLlast.gif" CommandName="Page" CommandArgument="First"
                                        OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-backward"></i>
                                    </asp:LinkButton>
                                    <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                        runat="server" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                        OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play fa-rotate-180"></i>
                                    </asp:LinkButton>

                                    <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                    &nbsp; 
                                    <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                    &nbsp;  
                                    <asp:Label ID="ofLabel" Text="of" runat="server" />
                                    &nbsp;  
                                    <asp:Label ID="TotalRecord" runat="server" />
                                    &nbsp;
                                                            <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                                runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                                OnClick="NextImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play"></i>
                                                            </asp:LinkButton>
                                    <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                        runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                        OnClick="LastRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-forward"></i>
                                    </asp:LinkButton>

                                </div>
                                &nbsp; &nbsp;
                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                    class="btn btn-back fas" Text="&#xf30a;  Back" />
                                &nbsp; &nbsp;
                                 <asp:Button ID="BackToQueueButton" runat="Server" OnClick="BackToQueueButton_Click" SkinID="0" Visible="false"
                                     class="btn btn-back fas" Text="&#xf30a;  Back To Queue" />

                            </div>
                        </div>

                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="tableContainer">
                                    <cc1:TabContainer Width="100%" ID="ClassworkTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                        meta:resourcekey="ClassworkTabContainerResource1" ActiveTabIndex="0">
                                        <cc1:TabPanel Width="100%" ID="ClassworkDetails" runat="server" HeaderText="ClassworkHomework">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-check-circle"></i>&nbsp;Classwork|Homework</a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                        <div class="contentHolder">

                                                            <div class="col-md-12 bg-lghtgrey radiobtn" runat="server" id="SourceTypeAddButtonDiv">
                                                                <asp:RadioButtonList ID="SourceTypeAddButtonRadioButtonList" runat="server" RepeatDirection="Horizontal"
                                                                    OnSelectedIndexChanged="SourceTypeAddButtonRadioButtonList_SelectedIndexChanged" AutoPostBack="true">
                                                                    <asp:ListItem Text="Teacher" Value="1" Selected="True"></asp:ListItem>
                                                                    <asp:ListItem Text="Class" Value="2"></asp:ListItem>
                                                                </asp:RadioButtonList>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="TeacherDropDownDiv" runat="server" visible="true">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="TeacherLabel" runat="server" Text="Teacher Name" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="TeacherAddDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="TeacherAddDropDownList_OnSelectedIndexChanged"
                                                                        AutoPostBack="true" />
                                                                </div>
                                                                <asp:HiddenField ID="EmpIdHidden" runat="server" />
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="TeacherLabelDiv" runat="server" visible="true">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="TeacherNameHeaderLabel" runat="server" Text="Teacher Name" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:Label ID="TeacherNameLabel" runat="server" Text=""></asp:Label>
                                                                </div>
                                                            </div>

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

                                                            <%--Mantis Id : 0035929--%>
                                                            <div class="outerBox pTop5 col-md-3" id="ClassWiseOrganizationDiv" runat="server" visible="false">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ClassWiseOrganizationLabel" runat="server" Text="Organization" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="ClassWiseOrganizationDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="ClassWiseOrganizationDropDownList_SelectedIndexChanged"
                                                                        AutoPostBack="true" />
                                                                </div>
                                                                <asp:HiddenField ID="HiddenField2" runat="server" />
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="ClassWiseClassAddDiv" runat="server" visible="false">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ClassWiseClassAddLabel" runat="server" Text="Class Name" SkinID="MandatoryLabel" ></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="ClassWiseClassAddDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                                        OnSelectedIndexChanged="ClassWiseClassAddDropDownList_SelectedIndexChanged" />
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="ClassWiseDivisionAddDiv" runat="server" visible="false">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ClassWiseDivisionAddLabel" runat="server" Text="Division Name"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="ClassWiseDivisionAddDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList" AutoPostBack="true"
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="ClassWiseDivisionAddDropDownList_SelectedIndexChanged" />
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="OrgLabelDiv" runat="server" visible="true">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="OrgHeaderLabel" runat="server" Text="Organization" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:Label ID="OrgLabel" runat="server" Text=""></asp:Label>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="BatchDropDownDiv" runat="server" visible="true">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="BatchDrpLabel" runat="server" Text="Batch" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="BatchDropDownList" Enabled="false" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="BatchDropDownList_SelectedIndexChanged" />
                                                                </div>
                                                                <asp:HiddenField ID="BatchIdHidden" runat="server" />
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="BatchLabelDiv" runat="server" visible="true">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="BatchHeaderLabel" runat="server" Text="Batch" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:Label ID="BatchLabel" runat="server" Text=""></asp:Label>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="SubjectDropDownDiv" runat="server" visible="true">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="SubjectDrpLabel" runat="server" Text="Subject"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="SubjectAddDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="SubjectAddDropDownList_OnSelectedIndexChanged"
                                                                        AutoPostBack="true">
                                                                    </asp:DropDownList>
                                                                </div>
                                                                <asp:HiddenField ID="SubIdHidden" runat="server" />
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3" id="ClassWiseSubjectAddDiv" runat="server" visible="false">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ClassWiseSubjectAddLabel" runat="server" Text="Subject"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="ClassWiseSubjectAddDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="ClassWiseSubjectAddDropDownList_SelectedIndexChanged"
                                                                        AutoPostBack="true">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="SubjectLabelDiv" runat="server" visible="true">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="SubjectHeaderLabel" runat="server" Text="Subject"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:Label ID="SubjLabel" runat="server" Text=""></asp:Label>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="ClassDropdownDiv" runat="server" visible="true">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ClassDrpLabel" runat="server" Text="Class Name"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="ClassAddDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                                        OnSelectedIndexChanged="ClassAddDropDownList_OnSelectedIndexChanged" />
                                                                </div>
                                                                <asp:HiddenField ID="ClassIdHidden" runat="server" />
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="ClassWiseTeacherAddDiv" runat="server" visible="false">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ClassWiseTeacherAddLabel" runat="server" Text="Teacher Name" ></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="ClassWiseTeacherAddDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        AutoPostBack="true" />
                                                                </div>
                                                                <asp:HiddenField ID="HiddenField1" runat="server" />
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="ClassLabelDiv" runat="server" visible="true">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ClassHeaderLabel" runat="server" Text="Class Name"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:Label ID="ClsLabel" runat="server" Text=""></asp:Label>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="DivisionDropdownDiv" runat="server" visible="true">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="DivisionDrpLabel" runat="server" Text="Division Name"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="DivisionAddDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                                </div>
                                                                <asp:HiddenField ID="DivisionIdHidden" runat="server" />
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="DivisionLabelDiv" runat="server" visible="true">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="DivHeaderLabel" runat="server" Text="Division Name"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:Label ID="DivLabel" runat="server" Text=""></asp:Label>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="DatePickerDiv" runat="server" visible="true">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="LabelDatePick" runat="server" Text="Classwork Date"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="ClassworkDatePickerControl"
                                                                        runat="server" Visible="true" OnTextChanged="ClassworkDatePickerControl_TextChanged" />
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="DateLabelDiv" runat="server" visible="true">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="DateHeaderLabel" runat="server" Text="Classwork Date"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:Label ID="DateLabel" runat="server" Text=""></asp:Label>
                                                                </div>
                                                            </div>


                                                            <div class="alignCenter pTop5 col-md-12">
                                                                <asp:Button ID="GenerateButton" Text="&#xf067; Add" runat="Server" SkinID="0"
                                                                    class="btn-add btn fas" OnClick="GenerateButton_Click" />
                                                                <asp:Button ID="ClearDetailButton" Text="&#xf12d; Clear" runat="Server" SkinID="0"
                                                                    class="btn-clear btn fas" OnClick="ClearDetailButton_Click" />
                                                                <asp:Button ID="RefreshButton" runat="server" OnClick="RefreshButton_OnClick" Text="&#xf2f9; Refresh"
                                                                    SkinID="0" CssClass="btn btn-refresh fas" />
                                                                <br />
                                                                <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                            </div>
                                                            <div id="NewsDetailDiv" visible="false" runat="server">
                                                                <br />
                                                                <br />

                                                                <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server">
                                                                    <div class="himsBoxTitle">
                                                                        <div class="pull-right col-md-6 display-flex">
                                                                            <asp:DropDownList ID="ApplyDropDownList" runat="server" SkinID="CustomWidthDropDownList" CssClass="form-control pTop5">
                                                                                <asp:ListItem Text="- Select -" Value="-1" Selected="True"></asp:ListItem>
                                                                                <asp:ListItem Text="Classwork" Value="1"></asp:ListItem>
                                                                                <asp:ListItem Text="Homework" Value="2"></asp:ListItem>
                                                                                <asp:ListItem Text="HomeworkDate" Value="3"></asp:ListItem>
                                                                            </asp:DropDownList>
                                                                            &nbsp;&nbsp;&nbsp;&nbsp;
                                                    <asp:TextBox ID="ApplyAllTextBox" runat="server" ClientIDMode="Static" MaxLength="100"
                                                        SkinID="CustomWidthTextBox" CssClass="pTop5"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;
                                                    <asp:Button ID="ApplyAllButton" runat="server" OnClick="ApplyAllButton_Click"
                                                        Text="Apply All" SkinID="0" CssClass="btn btn-apply mt-10" />
                                                                        </div>
                                                                    </div>
                                                                    <br />
                                                                </div>
                                                                <br />

                                                                <div class="himsBoxContent card-body table-responsive pTop5">
                                                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
                                                                        <ContentTemplate>
                                                                            <div id="Div5" runat="server" visible="false" class="box-body box-solid ">
                                                                                <asp:GridView ID="ClassworkAddGridView" runat="server" AutoGenerateColumns="False"
                                                                                    CssClass="table table-striped table-bordered table-hover" EmptyDataText="No Records Found !!"
                                                                                    DataKeyNames="Id,SubjectId,DivisionId,ClassId,UniqueId,EmployeeId" AllowPaging="false" ShowHeader="true"
                                                                                    OnRowDataBound="ClassworkAddGridView_RowDataBound">
                                                                                    <Columns>
                                                                                        <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="4%"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <HeaderTemplate>
                                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                                    <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                                        Visible="true" OnCheckedChanged="HeaderSelectCheckBox_checked" />
                                                                                                    <span></span>
                                                                                                </label>
                                                                                            </HeaderTemplate>
                                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                                            <ItemTemplate>
                                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                                    <asp:CheckBox ID="SelectCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="SelectCheckBox_checked" />
                                                                                                    <span></span>
                                                                                                </label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Class" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="ClassLabel" runat="server" Text='<%#Bind("ClassName")%>'></asp:Label>
                                                                                                <asp:Label ID="TempLabel" runat="server" Text="-"></asp:Label>
                                                                                                <asp:Label ID="DivLabel" runat="server" Text='<%#Bind("DivisionName")%>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Teacher Name" ItemStyle-Width="9%" ItemStyle-Wrap="true">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="TeacherLabel" runat="server" Text='<%# Bind("TeacherName") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Subject Name" ItemStyle-Width="9%" ItemStyle-Wrap="true">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="SubjectLabel" runat="server" Text='<%# Bind("SubjectName") %>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <HeaderTemplate>
                                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                                    <asp:CheckBox ID="ClassworkHeaderCheckBox" runat="server" Checked="true" Enabled="false" AutoPostBack="true"
                                                                                                        Visible="true" OnCheckedChanged="ClassworkHeaderCheckBox_CheckedChanged" />
                                                                                                    <span></span>
                                                                                                    Classwork Applicable
                                                                                                </label>
                                                                                            </HeaderTemplate>
                                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                                            <ItemTemplate>
                                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                                    <asp:CheckBox ID="ClassWorkApplicableCheckBox" Checked="true" runat="server" Enabled="false" AutoPostBack="true"
                                                                                                        Visible="true" OnCheckedChanged="ClassWorkApplicableCheckBox_CheckedChanged" />
                                                                                                    <span></span>
                                                                                                </label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Classwork" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="14%"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                                            <ItemTemplate>
                                                                                                <asp:TextBox ID="ClassWorkTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                                    SkinID="MultiLineTextBox" MaxLength="100" Text='<%#Eval("Classwork") %>'
                                                                                                    TextMode="MultiLine" runat="server"></asp:TextBox>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <HeaderTemplate>
                                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                                    <asp:CheckBox ID="HomeWorkHeaderCheckBox" Checked="true" runat="server" Enabled="false" AutoPostBack="true"
                                                                                                        Visible="true" OnCheckedChanged="HomeWorkHeaderCheckBox_CheckedChanged" />
                                                                                                    <span></span>
                                                                                                    HomeWork Applicable
                                                                                                </label>
                                                                                            </HeaderTemplate>
                                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                                            <ItemTemplate>
                                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                                    <asp:CheckBox ID="HomeWorkApplicableCheckBox" Checked="true" runat="server" Enabled="false" AutoPostBack="true"
                                                                                                        Visible="true" OnCheckedChanged="HomeWorkApplicableCheckBox_CheckedChanged" />
                                                                                                    <span></span>
                                                                                                </label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Homework" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="14%"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                                            <ItemTemplate>
                                                                                                <asp:TextBox ID="HomeWorkTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                                    SkinID="MultiLineTextBox" MaxLength="100" Text='<%#Eval("Homework") %>'
                                                                                                    TextMode="MultiLine" runat="server" ClientIDMode="Inherit"></asp:TextBox>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Homework End Date" HeaderStyle-HorizontalAlign="Center"
                                                                                            ItemStyle-Width="15%" ItemStyle-Wrap="true">
                                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                                            <ItemTemplate>
                                                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="HomeWorkEndDatePickerControl"
                                                                                                    runat="server" Visible="true" Text='<%#Eval("HomeWorkEndDate") %>' />
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%"
                                                                                            ItemStyle-Wrap="true">
                                                                                            <HeaderTemplate>
                                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                                    <asp:CheckBox ID="SubmitHomeWorkHeaderCheckBox" Checked="true" runat="server" Enabled="false" AutoPostBack="true"
                                                                                                        Visible="true" />
                                                                                                    <span></span>
                                                                                                    Submit HomeWork
                                                                                                </label>
                                                                                            </HeaderTemplate>
                                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                                            <ItemTemplate>
                                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                                    <asp:CheckBox ID="SubmitHomeWorkApplicableCheckBox" Checked='<%#Eval("IsSubmitHomework") %>' runat="server" Enabled="false" AutoPostBack="true"
                                                                                                        Visible="true" />
                                                                                                    <span></span>
                                                                                                </label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField ShowHeader="false" ItemStyle-Width="7%">
                                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                                            <ItemTemplate>
                                                                                                <%--    <asp:ImageButton ID="UploadGridViewImageButton" runat="server" CausesValidation="False"
                                                                                CommandName="Select" ImageUrl="~/Images/uploads.png" ToolTip="Upload" OnClick="UploadGridViewImageButton_Click"
                                                                                AutoPostBack="true" Enabled="false" />--%>
                                                                                                <asp:Button ID="UploadGridViewImageButton" Text="&#xf093; Upload" runat="server" OnClick="UploadGridViewImageButton_Click"
                                                                                                    meta:resourcekey="PrintButtonResource1" SkinID="0" CommandName="Select" CssClass="btn-upload btn fas" Enabled="false" />
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField ShowHeader="false" ItemStyle-Width="7%">
                                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                                            <ItemTemplate>
                                                                                                <%-- <asp:ImageButton ID="ViewGridViewImageButton" runat="server" CausesValidation="False"
                                                                                CommandName="Select" ImageUrl="~/Images/view.png" ToolTip="View" OnClick="ViewGridViewImageButton_Click"
                                                                                AutoPostBack="true" Enabled="true" Visible="false" />--%>

                                                                                                <asp:Button ID="ViewGridViewImageButton" runat="server" CommandName="Select" OnClick="ViewGridViewImageButton_Click" SkinID="0" Text="&#Xf06e; View" CssClass="btn btn-edit fas" Enabled="true" Visible="false" />
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                    </Columns>
                                                                                    <PagerSettings Visible="False" />
                                                                                </asp:GridView>
                                                                            </div>
                                                                        </ContentTemplate>
                                                                    </asp:UpdatePanel>
                                                                </div>

                                                                <br />
                                                                <asp:Label ID="Label2" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                                            </div>
                                                            <div id="Div11" class="himssuHeader6WireBox col-md-12" runat="server"
                                                                style="width: 100%; margin-right: 5px;">
                                                                <div id="UploadDiv" visible="true" runat="server">

                                                                    <div class="himsBoxHeader  card-head inner" id="HeaderDiv" visible="False" runat="server">
                                                                        <div class="leftdiv">
                                                                        </div>
                                                                        <div class="himsBoxTitle">
                                                                            <div class="headerText">
                                                                                <header>
                                                                                    <asp:Label ID="Label7" Text="File List" runat="server" />
                                                                                </header>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="himsBoxContent pTop5 table-responsive">
                                                                        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                                                            <ContentTemplate>
                                                                                <div id="GridViewDiv" runat="server" visible="false">
                                                                                    <asp:GridView ID="FileGridView" runat="server" CssClass="table table-striped table-bordered table-hover"
                                                                                        AutoGenerateColumns="False" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No Files Uploaded"
                                                                                        DataKeyNames="UniqueText">
                                                                                        <Columns>
                                                                                            <asp:TemplateField HeaderText="File Name" ItemStyle-Width="90%" HeaderStyle-HorizontalAlign="Left"
                                                                                                ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                                                <ItemTemplate>
                                                                                                    <asp:HyperLink ID="FileNameHyperLink" runat="server" Text='<%# Eval("FileName") %>'
                                                                                                        NavigateUrl='<%# Eval("FilePath") %>' Target="_blank"></asp:HyperLink>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Delete" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Center"
                                                                                                ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                                <ItemTemplate>
                                                                                                    <asp:ImageButton ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_OnClick"
                                                                                                        ImageUrl="~/Images/icons/icon_delete.gif" ToolTip="Delete" />
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                        </Columns>
                                                                                    </asp:GridView>
                                                                                </div>
                                                                            </ContentTemplate>
                                                                        </asp:UpdatePanel>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel Width="100%" ID="HomeworkDetails" runat="server" HeaderText="SubmittedHomework">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-check-circle"></i>&nbsp;Submitted Homework</a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div id="AssSubmitDiv" class="himssuHeader7WireBox col-md-12 pTop15" runat="server" visible="false">
                                                        <asp:GridView ID="AssignmentSubmitGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            CssClass="table table-striped table-bordered table-hover" DataKeyNames="Id,AcademicId" OnRowDataBound="AssignmentSubmitGridView_RowDataBound"
                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="Roll No" ItemStyle-Width="5%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="RollNoLabel" runat="server" Text='<%# Bind("RollNo") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Class" ItemStyle-Width="5%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="ClassLabel" runat="server" Text='<%# Bind("ClassName") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Student Name" ItemStyle-Width="20%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentNameLabel" runat="server" Text='<%# Bind("StudentName") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Homework Submit">
                                                                    <ItemTemplate>
                                                                        <asp:HyperLink ID="FileNameHyperLink" runat="server" Text='<%# Eval("FileName") %>'
                                                                            NavigateUrl='<%# Eval("FilePath") %>' Target="_blank"></asp:HyperLink>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                    </cc1:TabContainer>
                                </div>
                            </div>

                            <%-- <div class="cBoth">
                                    </div>--%>
                            <%--<div id="FileUploaddiv" visible="false" runat="server">

                                        <div class="outerBox pTop5">
                                            <div class="controlLabelWidth">
                                                <asp:Button runat="server" ID="RefreshButton" Text="Refresh" OnClick="RefreshButton_OnClick"
                                                    SkinID="CustomWidthButton" Width="70px" />
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div style="padding: 5px 0 0 10px">
                                            <asp:Label ID="Label6" Text="Click on refresh button to view current uploaded Files" runat="server" />
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                    </div>--%>
                        </div>
                    </div>
                    <!-- Sub Container1 Box Ends -->
                </div>

            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../JavaScript/rjs/encrypt/classwork-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/classwork")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/bulk-update")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

    <script type="text/javascript">
        //Added by dhananajay for mantis Start- 36392
            function RedirectToNewAcademic(AcademicUrl) {
                var newTab = window.open(AcademicUrl, '_blank');
                window.location.href = '../../../Pages/BaseFramework/MyDashBoard.aspx';
        }
        //Added by dhananajay for mantis End - 36392
 
    </script>
</asp:Content>
