<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_OnlineLearning_OnlineLearningAdminView, App_Web_n4ovjqfn" 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/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>


<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <link type="text/css" href="../../App_Themes/sweetalert.css" rel="stylesheet" />
    <script type="text/javascript" src="../../JavaScript/sweetalert.min.js"></script>
    <script type="text/javascript" src="../../JavaScript/sweetalert-dev.js"></script>
    <style type="text/css">
        .space {
            margin-right: 10px;
        }
    </style>

    <%--<link href="../../../App_Themes/responsiv-popup.css" rel="stylesheet" />--%>
    <asp:UpdatePanel ID="IncidentLogUpdatePanel" runat="server" UpdateMode="Always">
        <Triggers>
            <asp:PostBackTrigger ControlID="AttendanceExportButton" />
        </Triggers>
        <ContentTemplate>

            <%--   <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
            <uc1:CommonSearchUserControl ID="CommonSearchControl" Visible="false" runat="server" />
            <hims:EmployeeSearchControl ID="EmployeeSearch" Visible="false" runat="server" />--%>

            <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="251"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>

                <div class="row whiteboxpaddingleft">
                    <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="AddNewButtonID_Click" SkinID="0"
                                            CssClass="btn btn-add fas" Text="&#xf067; Add" />--%>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body" style="padding-bottom: 0px">
                            <asp:Panel ID="Panel2" runat="Server">
                                <div class="contentHolder">
                                    <asp:Panel ID="Panel3" runat="Server">


                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="LearningTypeLabel" runat="server" Text="Learning Type"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchLearningTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <%-- <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="TeacherLabel" runat="server" Text="Teacher"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="SearchTeacherDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true" onmouseenter="showHideTooltip()"
                                                OnSelectedIndexChanged="SearchTeacherDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>LinkButton
                                        </div>
                                    </div>--%>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label17" runat="server" Text="Employee"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchEmployeeDropDownList" runat="server" class="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" meta:resourcekey="EmployeeDropDownListResource" AutoPostBack="true" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label1" runat="server" Text="Class"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchClassDropDownList" runat="server" class="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" meta:resourcekey="ClassDropDownListResource" AutoPostBack="true" OnSelectedIndexChanged="SearchClassDropDownList_OnSelectedIndexChanged" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label2" runat="server" Text="Subject"></asp:Label>
                                            </div>
                                            <asp:DropDownList ID="SearchSubjectDropDownList" runat="server"
                                                class="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" AutoPostBack="true" OnSelectedIndexChanged="SearchSubjectDropDownList_SelectedIndexChanged" />
                                        </div>

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

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchFromDateLabel" runat="server" Text="From Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="SearchFromDatePicker" runat="server" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchToDateLabel" runat="server" Text="To Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="SearchToDatePicker" runat="server" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="LearningStatusLabel" runat="server" Text="Learning Status"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="LearningStatusDropDownList" runat="server"
                                                    CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="true">
                                                    <asp:ListItem Value="-1">- ALL -</asp:ListItem>
                                                    <asp:ListItem Value="0" Selected="True">Pending</asp:ListItem>
                                                    <asp:ListItem Value="1">Completed</asp:ListItem>
                                                    <asp:ListItem Value="721">Cancel</asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="TitleLabel" runat="server" Text="Online Learning Title"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="TitleTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="TitleTextBoxResource"
                                                    MaxLength="100" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:CheckBox ID="DetailCheckBox" runat="server" AutoPostBack="false" Text="With Detail" class="pLeft5" />
                                            </div>
                                        </div>
                                        <div class="alignCenter col-md-12 pTop15">
                                            <asp:Button ID="SearchButton" runat="Server"
                                                SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search" OnClick="SearchButton_Click" />
                                            <asp:Button ID="ResetButton" runat="server" TabIndex="4" Text="&#xf0e2; Reset" CssClass="btn-reset btn fas" SkinID="0" OnClick="ResetButton_Click" />
                                            <asp:Button ID="DeleteForSearchedButton" runat="server" Text="&#xf2ed; Delete For Searched Records" CssClass="fas btn btn-delete" SkinID="0" OnClick="DeleteForSearchedButton_Click" Visible="false" />
                                            <asp:Button ID="ExportAllAttendanceButton" runat="Server"
                                                SkinID="0" CssClass="btn-search btn fas" Text="Export All Attendance" OnClick="ExportAllAttendanceButton_Click" />
                                            <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" OnClick="ExportButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />
                                        </div>
                                        <asp:HiddenField ID="OnlineLearningIdHiddenField" runat="server" />
                                        <asp:HiddenField ID="ClassHiddenField" runat="server" />
                                        <asp:HiddenField ID="TestIdHiddenField" runat="server" />
                                        <asp:HiddenField ID="SubjectIdHiddenField" runat="server" />
                                        <asp:HiddenField ID="DeleteTypeHiddenField" runat="server" />
                                    </asp:Panel>
                                    <div id="Div2" class="himssuHeader7WireBox col-md-12" runat="server">
                                        <div id="NewsDetailDiv" visible="false" runat="server">
                                            <div class="himsBoxHeader" id="NewsDiv" visible="false" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle" style="width: 99%">
                                                    <div align="right" class="fRight" style="margin-top: 0px;">
                                                        <asp:Label ID="TotalRecLabel" runat="server" Text="<b>Total Records:"></asp:Label>
                                                        <asp:Label ID="TotalnoOfRecordsLabel" runat="server" Text="0"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent">
                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="Div5" runat="server" visible="false">
                                                            <div id="Div3" runat="server" class="table-responsive">
                                                                <asp:GridView ID="TeacherDataGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" OnRowDataBound="TeacherDataGridView_RowDataBound"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" DataKeyNames="Id,EmployeeId" EmptyDataText="No records found">
                                                                    <Columns>

                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Center">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                    Text='Select' CausesValidation="false"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:BoundField DataField="Id" HeaderStyle-HorizontalAlign="Left" Visible="false"
                                                                            ItemStyle-Width="10%" />
                                                                        <asp:BoundField DataField="EmployeeId" HeaderStyle-HorizontalAlign="Left" Visible="false"
                                                                            ItemStyle-Width="10%" />

                                                                        <asp:TemplateField HeaderText="Code" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="CodeLabel" runat="server" Text='<%# Bind("Code") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="EmployeeName" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="EmployeeNameLabel" runat="server" Text='<%# Bind("EmployeeName") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Learning Type" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="LearningTypeLabel" runat="server" Text='<%# Bind("LearningType") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" Text='<%# Bind("Class") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Subject" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="SubjectNameLabel" runat="server" Text='<%# Bind("SubjectName") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Topic" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="TopicLabel" runat="server" Text='<%# Bind("Topic") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Start Date" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StartDateLabel" runat="server" Text='<%# Bind("StartDate","{0:MM-dd-yyyy HH:mm:ss}") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="End Date" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="EndDateLabel" runat="server" Text='<%# Bind("EndDate","{0:MM-dd-yyyy HH:mm:ss}") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderText="Status"
                                                                            HeaderStyle-HorizontalAlign="Center">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StatusLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Status")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderText="Assignment Applicable"
                                                                            HeaderStyle-HorizontalAlign="Center">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="AssignmentLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("IsAssignment")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderText="Submit Assignment"
                                                                            HeaderStyle-HorizontalAlign="Center">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="SubmitAssignment" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("IsSubmitAssignment")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Center">
                                                                            <ItemTemplate>
                                                                                <asp:Button ID="DownloadAllButton" runat="server" Text="&#xf019; Download All" CssClass="btn btn-download fas" Style="width: 106px !important" SkinID="0" OnClientClick="__doPostBack('', 'PostBackMaster');" OnClick="DownloadAllButton_Click" Visible="true" />
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Center">
                                                                            <ItemTemplate>
                                                                                <asp:Button ID="DeleteAllButton" runat="server" Text="&#xf2ed; Delete All" CssClass="fas btn btn-delete" Style="width: 85px !important" SkinID="0" OnClick="DeleteAllButton_Click" Visible="true" />
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        </div>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>

                    </div>

                    <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-wrench"></i>--%>
                                        <asp:Label ID="NewsDetailLabel" runat="server" Text="Online Learning Admin Detail"></asp:Label>
                                    </header>
                                </div>

                            </div>
                            <div class="fRight mt-27">

                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" />
                            </div>
                        </div>

                        <div id="NumberOfRecordDiv" runat="server" class="display-flex" visible="true">
                            <div class="himsBoxContent card-body">
                                <div class="contentHolder">
                                    <%--<asp:Panel ID="pnlContents" runat="server" Visible="true">--%>
                                    <%--   <table style="margin-left: 5%">
                                                    
                                                    <tr>
                                                        <td>
                                                            <table>
                                                                <tr>
                                                                    <td style="width: 100px;">
                                                                        <b>Learning Type :</b>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="Learninglabel" runat="server" Text='<%# Eval("LearningType") %>' CssClass="fieldlabel" />
                                                                        <br />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <table>
                                                                <tr>
                                                                    <td style="width: 100px;">
                                                                        <b>Class :</b>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="Classlabel" runat="server" Text='<%# Eval("Class") %>' CssClass="fieldlabel" />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <table>
                                                                <tr>
                                                                    <td style="width: 100px;">
                                                                        <b>SubjectName :</b>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="SubjectNamelabel" runat="server" Text='<%# Eval("SubjectName") %>' CssClass="fieldlabel" />
                                                                        <br />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <table>
                                                                <tr>
                                                                    <td style="width: 100px;">
                                                                        <b>Topic :</b>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="TopicNamelabel" runat="server" Text='<%# Eval("Topic") %>' CssClass="fieldlabel" />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                             <table style="padding-left: 20px;">
                                                                <tr>
                                                                    <td style="width: 100px;">
                                                                        <b>Teacher :</b>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="TeacherNamelabel" runat="server" Text='<%# Eval("Teacher") %>' CssClass="fieldlabel" />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            
                                                            <table>
                                                                <tr>
                                                                    <td style="width: 100px;" id="IdDiv" Visible="false" runat="server">
                                                                        <b>Meeting Id :</b>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="meeting_number1" runat="server" Text='<%# Eval("MeetingId") %>' CssClass="fieldlabel" visible="false"/>
                                                                        <br />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                          
                                                        </td>
                                                        <td style="padding-left: 8%">
                                                          
                                                           <table>
                                                                <tr>
                                                                    <td style="width: 100px;">
                                                                        <b>Start Time :</b>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="StartTimeLabel" runat="server" Text='<%# Eval("StartTime") %>' CssClass="fieldlabel" />
                                                                        <br />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <table>
                                                                <tr>
                                                                    <td style="width: 100px;">
                                                                        <b>End Time :</b>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="EndTimeLabel" runat="server" Text='<%# Eval("EndTime") %>'
                                                                            CssClass="fieldlabel" />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                       <table>
                                                                <tr>
                                                                    <td style="width: 100px;">
                                                                        <b>Status :</b>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="StatusLabel" runat="server" Text='<%# Eval("Status") %>' CssClass="fieldlabel" />
                                                                        <br />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            
                                                            <table>
                                                                <tr>
                                                                    <td style="width: 100px;">
                                                                        <b>Lecture Path :</b>
                                                                    </td>
                                                                    <td>
                                                                        <asp:HyperLink 
                                                                            ID="LectureHyperLink" 
                                                                            runat="server"
                                                                            target="_blank"
                                                                            Text='<%# Eval("Class") %>'
                                                                           
                                                                            >
                                                                        </asp:HyperLink>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                             <table>
                                                                <tr>
                                                                    <td style="width: 100px;" id="PassDiv" Visible="false" runat="server">
                                                                        <b>Meeting Password :</b>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="meeting_pwd1" runat="server" Text='<%# Eval("MeetingPassword") %>' CssClass="fieldlabel" visible="false"/>
                                                                        <br />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                           
                                                        </td>
                                                    </tr>
                                                   
                                                   </table>--%>

                                    <div class="outerBox col-md-3 display-flex" style="height: 30px;">
                                        <asp:Label ID="Learninglabel1" runat="server" Text="Learning Type  :" SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label></td>
                                                     &nbsp;  &nbsp;
                                                                <asp:Label runat="server" ID="Learninglabel" Text='<%# Eval("LearningType") %>' onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel">
                                                                </asp:Label>
                                    </div>
                                    <div class="outerBox col-md-3 display-flex" style="height: 30px;">

                                        <asp:Label ID="Label11" runat="server" Text="Status : " SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label></td>
                                                     &nbsp;  &nbsp; 
                                                                <asp:Label runat="server" ID="StatusLabel" Text='<%# Eval("Status") %>' onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel">
                                                                </asp:Label>

                                    </div>
                                    <div class="outerBox col-md-3 display-flex" style="height: 30px;">

                                        <asp:Label ID="Label9" runat="server" Text="Start Time : " SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label></td>
                                                    &nbsp;  &nbsp;
                                                                <asp:Label runat="server" ID="StartTimeLabel" Text='<%# Eval("StartTime") %>' onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel">
                                                                </asp:Label>

                                    </div>
                                    <div class="outerBox col-md-3 display-flex" style="height: 30px;">

                                        <asp:Label ID="Label10" runat="server" Text="End Time : " SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label></td>
                                                    &nbsp;  &nbsp;
                                                                <asp:Label runat="server" ID="EndTimeLabel" Text='<%# Eval("EndTime") %>' onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel">
                                                                </asp:Label>

                                    </div>

                                    <div class="cBoth"></div>
                                    <div class="outerBox col-md-3 display-flex" style="height: 30px;">
                                        <asp:Label ID="Label4" runat="server" Text="Class : " SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label></td>
                                                  &nbsp;  &nbsp;
                                                                <asp:Label runat="server" ID="Classlabel" Text='<%# Eval("Class") %>' onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel">
                                                                </asp:Label>
                                    </div>
                                    <div class="outerBox col-md-3 display-flex" style="height: 30px;">

                                        <asp:Label ID="Label7" runat="server" Text="Teacher : " SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label></td>
                                                &nbsp;  &nbsp;
                                                                <asp:Label runat="server" ID="TeacherNamelabel" Text='<%# Eval("Teacher") %>' onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel">
                                                                </asp:Label>

                                    </div>
                                    <div class="outerBox col-md-3 display-flex" id="IdDiv" runat="server" style="height: 30px;">

                                        <asp:Label ID="Label8" runat="server" Text="Meeting Id : " SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label></td>
                                                    &nbsp;  &nbsp;
                                                                <asp:Label runat="server" ID="meeting_number1" Text='<%# Eval("MeetingId") %>' onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel">
                                                                </asp:Label>

                                    </div>
                                    <div class="outerBox col-md-3 display-flex" id="PassDiv" runat="server" style="height: 30px;">

                                        <asp:Label ID="Label13" runat="server" Text="Meeting Password : " SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label></td>
                                                    &nbsp;  &nbsp;
                                                                <asp:Label runat="server" ID="meeting_pwd1" Text='<%# Eval("MeetingPassword") %>' onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel">
                                                                </asp:Label>

                                    </div>
                                    <div class="cBoth"></div>
                                    <%--mantisid - 0032316--%>
                                    <div class="outerBox col-md-3 display-flex" style="height: 30px;">

                                        <asp:Label ID="Label6" runat="server" Text="Topic : " SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label></td>
                                                           &nbsp;  &nbsp;
                                                                <asp:Label runat="server" ID="TopicNamelabel" Text='<%# Eval("Topic") %>' onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel">
                                                                </asp:Label>

                                    </div>
                                    <div class="outerBox col-md-6 display-flex" style="height: 30px;">

                                        <asp:Label ID="Label5" runat="server" Text="Subject Name : " SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label></td>
                                                           &nbsp;  &nbsp;
                                                                <asp:Label runat="server" ID="SubjectNamelabel" Text='<%# Eval("SubjectName") %>' onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel">
                                                                </asp:Label>

                                    </div>
                                    <div class="cBoth"></div>
                                    <div class="outerBox col-md-3 display-flex" style="height: 30px;">

                                        <asp:Label ID="Label14" runat="server" Text="Title : " SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label></td>
                                                 &nbsp;  &nbsp;
                                                           
                                                                <asp:Label runat="server" ID="TitleLabel1" Text='<%# Eval("Title") %>' onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel">
                                                                </asp:Label>

                                    </div>


                                    <div class="cBoth"></div>
                                    <div class="outerBox col-md-12 display-flex">

                                        <asp:Label ID="Label16" runat="server" Text="Description :" SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label>
                                        <div class="col-md-9">
                                            <asp:TextBox runat="server" ID="DescriptionLabel" Text='<%# Eval("Description") %>' onmouseleave="showHideTooltip()" BorderColor="White"
                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel" TextMode="MultiLine">
                                            </asp:TextBox>
                                            <%-- <asp:TextBox ID="DescriptionLabel" SkinID="CustomWidthTextBox" runat="server" TextMode="MultiLine" Text='<%# Eval("Description") %>' BorderColor="White"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="TitleTextBoxResource"
                                                   ></asp:TextBox>--%>
                                        </div>

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

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

                                    <div class="cBoth"></div>
                                    <div class="outerBox col-md-1 display-flex" style="height: 30px;">

                                        <asp:HyperLink
                                            ID="LecturePathButton"
                                            runat="server"
                                            Target="_blank"
                                            Text='Lecture'
                                            CssClass="btn-search btn fas">
                                        </asp:HyperLink>

                                    </div>
                                    <div id="PlayRecordingDiv" class="himssuHeader7WireBox col-md-12 pTop10" runat="server">
                                        <asp:Label ID="PlayLabel" Text="Play Recording :" runat="server" Style="font-weight: bolder" class="col-md-2 pTop5"></asp:Label>

                                    </div>
                                    <div id="DownloadRecordingDiv" class="himssuHeader7WireBox col-md-12 pTop10" runat="server">
                                        <asp:Label ID="DownloadLabel" Text="Download Recording :" runat="server" Style="font-weight: bolder" class="col-md-2 pTop5"></asp:Label>

                                    </div>
                                    <div class="cBoth"></div>
                                    <div class="cBoth"></div>
                                    <div class="outerBox col-md-3 display-flex" style="height: 30px;">
                                    </div>
                                    <div id="Div7" class="himssuHeader7WireBox col-md-12" runat="server">
                                        <asp:GridView ID="SourceFinalGridView" runat="server" CssClass="table table-striped table-bordered table-hover"
                                            AutoGenerateColumns="False" EmptyDataText="No Records Found !!"
                                            DataKeyNames="SourceId,SourceTypeId,SourceType">
                                            <Columns>


                                                <asp:BoundField DataField="OrgName" HeaderText="Org Name">
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemStyle Width="15%" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="ClassDepartment" HeaderText="Class/Department">
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemStyle Width="15%" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="SourceType" HeaderText="Source Type">
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemStyle Width="10%" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="Code" HeaderText="Code">
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemStyle Width="15%" />
                                                </asp:BoundField>
                                                <asp:TemplateField HeaderText="Roll No" SortExpression="RollNo">
                                                    <ItemTemplate>
                                                        <asp:Label ID="RollNoLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"RollNo").ToString()=="0"?"": DataBinder.Eval(Container.DataItem,"RollNo").ToString() %>'></asp:Label>
                                                    </ItemTemplate>
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="Center" Width="10%" Wrap="True" />
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="Source" HeaderText="Source">
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemStyle Width="25%" />
                                                </asp:BoundField>
                                            </Columns>
                                            <PagerSettings Visible="False" />
                                        </asp:GridView>
                                    </div>
                                    <asp:HiddenField ID="LecturePathHiddenField" runat="server" />
                                    <asp:HiddenField ID="EmployeeIdHiddenField" runat="server" />
                                    <asp:TextBox ID="MeetingProviderIdTextBox" SkinID="CustomWidthTextBox" runat="server"
                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="TitleTextBoxResource" Style="display: none;"></asp:TextBox>
                                    <asp:TextBox ID="MeetingCodeTextBox" SkinID="CustomWidthTextBox" runat="server"
                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="TitleTextBoxResource" Style="display: none;"></asp:TextBox>
                                    <asp:TextBox ID="ConfigTextBox" SkinID="CustomWidthTextBox" runat="server"
                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="TitleTextBoxResource" Style="display: none;"></asp:TextBox>
                                    <asp:TextBox ID="AppPathTextBox" SkinID="CustomWidthTextBox" runat="server"
                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="TitleTextBoxResource" Style="display: none;"></asp:TextBox>
                                    <asp:TextBox ID="InstallStatusTextBox" SkinID="CustomWidthTextBox" runat="server"
                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="TitleTextBoxResource" Style="display: none;"></asp:TextBox>
                                    <div class="alignCenter col-md-12 pTop15">

                                        <%--<asp:Button ID="joinButton" runat="server" TabIndex="4" Text="Join" CssClass="btn-search btn fas" SkinID="0" OnClick="Join_Click" OnClientClick="AdminjoinMeeting()"/>--%>
                                        <asp:Button ID="joinButton" runat="server" TabIndex="4" Text="Join" CssClass="btn-search btn fas" SkinID="0" OnClick="Join_Click" />
                                        <%--<input type="button" id="joinButton" value="&#xf002; Join" onclick="Join_Click();" class="btn-search btn fas" />--%>
                                        <asp:Button ID="RefreshButton" runat="server" TabIndex="4" Text="&#xf0e2; Refresh" CssClass="btn-reset btn fas" SkinID="0" OnClick="RefreshButton_Click" />
                                        <asp:Button ID="CompletedButton" runat="server" TabIndex="4" Text="Complete" CssClass="btn-search btn fas" SkinID="0" OnClick="CompletedButton_Click" Visible="false" />
                                        <%--<asp:Button ID="StartAgainButton" runat="server" OnClientClick="TeacherjoinMeeting()" TabIndex="4" Text="Start Again" CssClass="btn-search btn fas" SkinID="0" OnClick="StartAgainButton_Click" Visible="false" />--%>
                                        <asp:Button ID="AttendanceButton" runat="Server"
                                            SkinID="0" CssClass="btn-search btn fas" Text="Attendance" OnClick="AttendanceButton_Click" />
                                        <asp:Button ID="ViewResultButton" runat="Server"
                                            SkinID="0" CssClass="btn-search btn fas" Text="View Result" OnClick="ViewResultButton_Click" />
                                        <asp:Button ID="DownloadRecordingButton" runat="server" TabIndex="4" Text="Download Recording" CssClass="btn-search btn fas" SkinID="0" Visible="false" OnClick="DownloadRecordingButton_Click" />
                                    </div>
                                    <div class="cBoth"></div>
                                    <br>
                                    <br>
                                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="PeriodNoLabel" runat="server" SkinID="MandatoryLabel" Text="Period No"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="PeriodNoDropDownList" runat="server" CssClass="form-control" onmouseenter="showHideTooltip()" onmouseleave="showHideTooltip()" SkinID="CustomWidthDropDownList">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <asp:Button ID="ExportAttendanceButton" runat="Server" CssClass="btn-search btn fas" OnClick="ExportAttendanceButton_Click" SkinID="0" Text="Export Attendance" />
                                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                    <div id="Div6" runat="server" class="himssuHeader7WireBox col-md-12">
                                        <asp:GridView ID="TeacherResourceGridView" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-bordered table-hover" EmptyDataText="No records found" PagerSettings-Visible="false" ShowHeader="true" SkinID="" Width="100%">
                                            <Columns>
                                                <asp:TemplateField HeaderText="Resource Path">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="lnkDownload" runat="server" CommandArgument='<%# Eval("FilePath") %>' OnClick="DownloadResourceFile" OnClientClick="aspnetForm.target ='_blank';" Text='<%# Eval("FileName") %>'></asp:LinkButton>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                    <div id="Div4" runat="server" class="himssuHeader7WireBox col-md-12">
                                        <asp:GridView ID="TeacherReferenceGridView" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-bordered table-hover" EmptyDataText="No records found" PagerSettings-Visible="false" ShowHeader="true" SkinID="" Width="100%">
                                            <Columns>
                                                <asp:TemplateField HeaderText="Reference Path">
                                                    <ItemTemplate>
                                                        <%--<asp:LinkButton ID="lnkReferencePath" Text='<%# Eval("FileName") %>' CommandArgument='<%# Eval("FilePath") %>' runat="server" OnClick="DownloadReferenceFile" OnClientClick="aspnetForm.target ='_blank';"></asp:LinkButton>--%>
                                                        <asp:LinkButton ID="lnkReferencePath" runat="server" CommandArgument='<%# Eval("ReferencePath") %>' OnClick="DownloadReferenceFile" OnClientClick="aspnetForm.target ='_blank';" Text='<%# Eval("ReferencePath") %>'></asp:LinkButton>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                    <div id="Div1" runat="server" class="himssuHeader7WireBox col-md-12">
                                        <asp:GridView ID="TeacherAssignmentGridView" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-bordered table-hover" EmptyDataText="No records found" PagerSettings-Visible="false" ShowHeader="true" SkinID="" Width="100%">
                                            <Columns>
                                                <asp:TemplateField HeaderText="Assignment Path">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="lnkAssignmentPath" runat="server" CommandArgument='<%# Eval("FilePath") %>' OnClick="DownloadAssignmentFile" OnClientClick="aspnetForm.target ='_blank';" Text='<%# Eval("FileName") %>'></asp:LinkButton>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                    <div id="RemarkLabelDiv" runat="server" class="outerBox col-md-12 display-flex" style="height: 30px;" visible="false">
                                        <asp:Label ID="SubmitAssignmentRemarkLabel" runat="server" Font-Bold="true" SkinID="CustomWidthLabel" Text="Assignment Remark: "></asp:Label>
                                        </td>
                                        <div class="col-md-9">
                                            <asp:Label ID="AssignmentRemarkLabel" runat="server" onmouseenter="showHideTooltip()" onmouseleave="showHideTooltip()" SkinID="CustomWidthLabel">
                                            </asp:Label>
                                        </div>
                                    </div>
                                    <div id="AssSubmitDiv" runat="server" class="himssuHeader7WireBox col-md-12" visible="false">
                                        <div id="GridViewPagerDiv" runat="server" visible="True">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="gridHeaderText fLeft ">
                                                    <asp:Label ID="TotalStudentLabel" runat="server" Text="" />
                                                    <asp:Label ID="UploadedStudentLabel" runat="server" Text="" />
                                                    <asp:Label ID="RemainingStudentLabel" runat="server" Text="" />
                                                </div>
                                            </div>
                                        </div>
                                        <asp:GridView ID="AssignmentSubmitGridView" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-bordered table-hover" DataKeyNames="AcademicId,Id" EmptyDataText="No records found" OnRowDataBound="AssignmentSubmitGridView_RowDataBound" PagerSettings-Visible="false" ShowHeader="true" SkinID="" Width="100%">
                                            <Columns>
                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Roll No" ItemStyle-Width="10%" ItemStyle-Wrap="true" SortExpression="Title">
                                                    <ItemTemplate>
                                                        <asp:Label ID="RollNoLabel" runat="server" Text='<%# Bind("RollNo") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Class" ItemStyle-Width="10%" ItemStyle-Wrap="true" SortExpression="Title">
                                                    <ItemTemplate>
                                                        <asp:Label ID="ClassLabel" runat="server" Text='<%# Bind("ClassName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Student Name" ItemStyle-Width="10%" ItemStyle-Wrap="true" SortExpression="Title">
                                                    <ItemTemplate>
                                                        <asp:Label ID="StudentNameLabel" runat="server" Text='<%# Bind("StudentName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Assignment Submit">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="lnkDownload" runat="server" CommandArgument='<%# Eval("FilePath") %>' OnClick="DownloadAssSubmitFile" OnClientClick="aspnetForm.target ='_blank';" Text='<%# Eval("FileName") %>'></asp:LinkButton>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Left" HeaderText="Assignment Remark" ItemStyle-Width="25%" ItemStyle-Wrap="true" SortExpression="Title">
                                                    <ItemTemplate>
                                                        <asp:Label ID="AssignmentRemarkLabel" runat="server" Text='<%# Bind("AssignmentTeacherRemark") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </ContentTemplate>

    </asp:UpdatePanel>

    <%--<script data-main='<%=ResolveUrl("~/JavaScript/rjs/onlinelearning")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>--%>
    <cc1:ModalPopupExtender ID="ViewAssignmentModalPopupExtender" runat="server" TargetControlID="HidenButton" PopupControlID="ModalPopUpPanel" BackgroundCssClass="modalBackground"
        Drag="True" PopupDragHandleControlID="dragPanel" Enabled="True" />
    <asp:LinkButton runat="server" ID="HidenButton" meta:resourcekey="HidenButtonResource1" />

    <asp:Panel ID="ModalPopUpPanel" runat="server" CssClass="dragControl" Width="700px" DefaultButton="HidenButton" meta:resourcekey="ModalPopUpPanelResource1">
        <div class="messagebox card card-box">
            <asp:Panel ID="dragPanel" runat="server" CssClass="dragMePanel" Width="100%" meta:resourcekey="dragPanelResource1">
                <div id="dragMe1" class="dragMe card-head" style="cursor: move">
                    <div class="himsPopupWireBox">
                        <div class="himsBoxTopper headerFont">
                            <div class="himsBoxTopper text-center headerFont card-head">
                                <div class="headerText">
                                    <asp:UpdatePanel ID="UpdatePanel3" runat="server" RenderMode="Inline">
                                        <ContentTemplate>
                                            <header>
                                                <asp:Label ID="DialogHeaderLabel" runat="server" meta:resourcekey="DialogHeaderLabelResource1" Text="View Attendance"></asp:Label>
                                            </header>
                                            <span class="pull-right">
                                                <asp:ImageButton ID="ImageButtonClose" runat="server" Height="20PX" Width="20PX" ImageUrl="~/Images/closebox.png" OnClick="ImageButtonClose_Click" />
                                            </span>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <asp:UpdatePanel ID="CircularViewUpdatePanel" runat="server"
                RenderMode="Inline">
                <ContentTemplate>

                    <div id="bodyContainer" class="card-body">
                        <div class="himsPopupWireBox">

                            <div class="himsBoxContentmain" style="overflow: hidden">
                                <div id="divContentPage1">
                                    <div class="spacer">
                                        <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif"
                                            meta:resourcekey="Image1Resource1" />
                                    </div>
                                    <div>
                                        <div class="himssuHeader5WireBox">
                                            <div class="himsBoxHeader">
                                                <div class="himsBoxHeader card-head">
                                                    <asp:Panel ID="ViewAssignmentHeaderPanel" runat="server" meta:resourcekey="ViewAssignmentPanelResource1">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText">
                                                                <header>
                                                                    <asp:Label ID="ViewAssignmentLabel" runat="server" Text="View Attendance"></asp:Label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent col-md-12">
                                                <div class="alignCenter pTop5 col-md-12 center">
                                                    <asp:Button ID="AttendanceExportButton" runat="server" Text="&#xf093; Export" OnClick="AttendanceExportButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />
                                                </div>

                                                <asp:Panel ID="Panel4" runat="server" meta:resourcekey="DetailPanelResource1">
                                                    <div class="contentHolder table-responsive">
                                                        <asp:Panel ID="Panel5" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                                            <div class="contentHolder">
                                                                <asp:UpdatePanel ID="CircularDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                    <ContentTemplate>
                                                                        <div id="Div13" runat="server" visible="True">
                                                                            <div id="Div14" runat="server" class="table-responsive">
                                                                                <div class="col-md-12">
                                                                                    <asp:GridView ID="Attendancegridview" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                        CssClass="table table-striped table-bordered table-hover" OnRowDataBound="Attendancegridview_RowDataBound"
                                                                                        AllowPaging="false" PageSize="10" SkinID="" ShowHeader="True"
                                                                                        DataKeyNames="Code,AcademicId" EmptyDataText="No Records Available">
                                                                                        <Columns>

                                                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Class" ItemStyle-Width="10%">
                                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="ClassLabel" CssClass="boxEllips" ToolTip='<%# Bind("Class") %>' runat="server"
                                                                                                        Text='<%# Bind("Class") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>


                                                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Id" ItemStyle-Width="10%">
                                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="CodeLabel" runat="server" Text='<%#Eval("Code") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Roll No" ItemStyle-Width="10%">
                                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="RollNoLabel" runat="server" Text='<%#Eval("RollNo") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Student Name" ItemStyle-Width="30%">
                                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="StudentNameLabel" runat="server" Text='<%#Eval("StudentName") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>

                                                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Present" ItemStyle-Width="10%">
                                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="IsPresentLabel" runat="server" Text='<%#Eval("IsPresent") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Count" ItemStyle-Width="10%">
                                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="InCountLabel" runat="server" Text='<%#Eval("InCount") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Count" ItemStyle-Width="10%">
                                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                                <ItemTemplate>
                                                                                                    <%--<asp:Label ID="InCountLabel" runat="server" Text='<%#Eval("InCount") %>'></asp:Label>--%>

                                                                                                    <asp:Button ID="loginStatusButton" CssClass="btn-search btn fas" runat="Server" Text='<%#Eval("IsLoggedIn") %>' OnClick="loginStatusButton_Click" Height="20PX" />

                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>

                                                                                        </Columns>
                                                                                    </asp:GridView>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </asp:UpdatePanel>
                                                            </div>
                                                        </asp:Panel>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="himsmainBoxBottom">
                            </div>
                            <div class="himsmainBoxFooter">
                                <div>
                                    <table>
                                        <tr>
                                            <td>&nbsp
                                            </td>
                                        </tr>

                                    </table>
                                </div>
                            </div>

                        </div>
                    </div>

                    <asp:UpdateProgress ID="MainUpdateProgress" runat="server" DisplayAfter="200">
                        <ProgressTemplate>
                            <div style="position: absolute; top: 50%; left: 45%; font-size: 20px">
                                <asp:Image ID="LoadingImage4" runat="server" ImageUrl="~/Images/Loading.gif"
                                    meta:resourcekey="Image3Resource1" />
                            </div>
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </asp:Panel>


    <%--  <div id="ResultViewpopupdiv" style='display: none;' runat="server">--%>
    <cc1:ModalPopupExtender ID="ResultViewModalPopupExtender" runat="server" TargetControlID="HidenButton2" PopupControlID="Panel16" BackgroundCssClass="modalBackground"
        Drag="True" PopupDragHandleControlID="Panel7" Enabled="True" />
    <asp:LinkButton runat="server" ID="HidenButton2" meta:resourcekey="HidenButtonResource1" />
    <asp:Panel ID="Panel16" runat="server" CssClass="dragControl" Width="700px" DefaultButton="HidenButton2" meta:resourcekey="ModalPopUpPanelResource1">
        <div class="messagebox card card-box">
            <asp:Panel ID="Panel6" runat="server" CssClass="dragMePanel" Width="700px" meta:resourcekey="dragPanelResource1">
                <div id="dragMe2" class="dragMe card-head" style="cursor: move">
                    <div class="himsPopupWireBox">
                        <div class="himsBoxTopper headerFont">
                            <div class="himsBoxTopper text-center headerFont card-head">
                                <div class="headerText">
                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server" RenderMode="Inline">
                                        <ContentTemplate>
                                            <header>
                                                <asp:Label ID="Label12" runat="server" meta:resourcekey="DialogHeaderLabelResource1" Text="View Result"></asp:Label>
                                            </header>
                                            <span class="pull-right">
                                                <asp:ImageButton ID="ImageButton1" runat="server" Height="20PX" Width="20PX" ImageUrl="~/Images/closebox.png" OnClick="ImageButton1_Click" />
                                            </span>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <asp:UpdatePanel ID="ResultViewUpdatePanel" runat="server"
                RenderMode="Inline">
                <ContentTemplate>

                    <div id="bodyContainer1" class="card-body">
                        <div class="himsPopupWireBox">

                            <div class="himsBoxContentmain" style="overflow: hidden">
                                <div id="divContentPage2">
                                    <div class="spacer">
                                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif"
                                            meta:resourcekey="Image1Resource1" />
                                    </div>
                                    <div>
                                        <div class="himssuHeader5WireBox">
                                            <div class="himsBoxHeader">
                                                <div class="himsBoxHeader card-head">
                                                    <asp:Panel ID="Panel7" runat="server" meta:resourcekey="ViewAssignmentPanelResource1">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText">
                                                                <header>
                                                                    <asp:Label ID="Label15" runat="server" Text="View Result"></asp:Label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent col-md-12">
                                                <asp:Panel ID="Panel8" runat="server" meta:resourcekey="DetailPanelResource1">
                                                    <div class="contentHolder table-responsive">
                                                        <asp:Panel ID="Panel9" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                                            <div class="contentHolder">
                                                                <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Always">
                                                                    <ContentTemplate>
                                                                        <div id="Div8" runat="server" visible="True">
                                                                            <div id="Div9" runat="server" class="table-responsive">
                                                                                <div class="col-md-12">
                                                                                    <asp:GridView ID="TestParticipantGridView" runat="server" Width="700px" AutoGenerateColumns="False"
                                                                                        EmptyDataText="No Records Found !!" AllowPaging="False" DataKeyNames="AcademicId,SourceId,SourceTypeId,TestParticipantId"
                                                                                        CssClass="table table-striped table-bordered" ShowHeader="True">
                                                                                        <Columns>

                                                                                            <asp:BoundField DataField="ParticipantType" HeaderText="Type" ItemStyle-Width="10%" Visible="false" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                            <asp:BoundField DataField="ClassName" HeaderText="Class/Dept" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                            <asp:BoundField DataField="RollNo" HeaderText="RollNo" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                            <asp:BoundField DataField="StudentName" HeaderText="Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                            <asp:BoundField DataField="Code" HeaderText="Id No" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                            <asp:TemplateField HeaderText="Scored Marks" ItemStyle-Width="5%" ItemStyle-Wrap="true"
                                                                                                HeaderStyle-HorizontalAlign="Left">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="ScoredMarksLabel" runat="server" Text='<%# Bind("ScoredMarks") %>'>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:BoundField DataField="RightQuestions" HeaderText="Right Question" ItemStyle-Width="10%"
                                                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                            <asp:BoundField DataField="WrongQuestions" HeaderText="Wrong Question" ItemStyle-Width="10%"
                                                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                            <asp:BoundField DataField="SkippQuestions" HeaderText="Skipp Question" ItemStyle-Width="10%"
                                                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                            <asp:BoundField DataField="NotAttemptedQuestions" HeaderText="Not Attemted Que" ItemStyle-Width="10%"
                                                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                        </Columns>
                                                                                    </asp:GridView>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </asp:UpdatePanel>
                                                            </div>
                                                        </asp:Panel>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="himsmainBoxBottom">
                            </div>
                            <div class="himsmainBoxFooter">
                                <div>
                                    <table>
                                        <tr>
                                            <td>&nbsp
                                            </td>
                                        </tr>

                                    </table>
                                </div>
                            </div>

                        </div>
                    </div>

                    <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="200">
                        <ProgressTemplate>
                            <div style="position: absolute; top: 50%; left: 45%; font-size: 20px">
                                <asp:Image ID="LoadingImage5" runat="server" ImageUrl="~/Images/Loading.gif"
                                    meta:resourcekey="Image3Resource1" />
                            </div>
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                </ContentTemplate>
            </asp:UpdatePanel>

        </div>
    </asp:Panel>
    <%-- </div>--%>

    <cc1:ModalPopupExtender ID="CompleteModalPopupExtender" runat="server" TargetControlID="HidenButton1" PopupControlID="Panel29" BackgroundCssClass="modalBackground"
        Drag="True" PopupDragHandleControlID="Panel28" Enabled="True" />
    <asp:LinkButton runat="server" ID="HidenButton1" meta:resourcekey="HidenButtonResource1" />
    <asp:Panel ID="Panel29" runat="server" CssClass="dragControl" Width="700px" DefaultButton="HidenButton1" meta:resourcekey="ModalPopUpPanelResource1">

        <asp:UpdatePanel ID="UpdatePanel2" runat="server"
            RenderMode="Inline">
            <ContentTemplate>

                <div id="popupdiv" style="display: none;" runat="server">
                    <div class="sweet-alert showSweetAlert visible" style="display: block; background-color: #ffcccc; margin-top: -100px;">
                        <div class="sa-icon sa-error" style="display: none;">
                            <span class="sa-x-mark">
                                <span class="sa-line sa-left"></span>
                                <span class="sa-line sa-right"></span>
                            </span>
                        </div>
                        <div class="sa-icon sa-warning" style="display: none;">
                            <span class="sa-body"></span>
                            <span class="sa-dot"></span>
                        </div>
                        <div class="sa-icon sa-info" style="display: none;"></div>
                        <div class="sa-icon sa-success" style="display: none;">
                            <span class="sa-line sa-tip"></span>
                            <span class="sa-line sa-long"></span>

                            <div class="sa-placeholder"></div>
                            <div class="sa-fix"></div>
                        </div>
                        <div class="sa-icon sa-custom" style="display: none;"></div>

                        <h3><b>Do You Want to Complete ?</h3>

                        <div class="sa-button-container">
                            <div class="alignCenter col-md-12 pTop15">
                                <asp:LinkButton ID="OkCompleteLinkButton" runat="server" SkinID="0" CssClass="fas btn btn-round btn-success" Text="&#xf164; Ok" OnClick="OkCompleteLinkButton_Click" />
                                <div class="sa-confirm-button-container">
                                    <asp:LinkButton ID="CancelCompleteLinkButton" CssClass="fas btn btn-round btn-danger" runat="server" OnClick="CancelCompleteLinkButton_Click">Cancel</asp:LinkButton>
                                </div>
                            </div>

                        </div>

                    </div>
                </div>
                </b>
           
            <p></p>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>

    </asp:Panel>

    <script type="text/javascript">

        function AdminjoinMeeting() {
            var MeetingProviderId = document.getElementById('ctl00_CP_MeetingProviderIdTextBox').value;
            var MeetingCode = document.getElementById('ctl00_CP_MeetingCodeTextBox').value;

            var Config = document.getElementById('ctl00_CP_ConfigTextBox').value;
            var AppPath = document.getElementById('ctl00_CP_AppPathTextBox').value;
            // var InstallStatus = document.getElementById('ctl00_CP_InstallStatusTextBox').value;
            if (MeetingProviderId == '1') {
                var form = document.createElement("form");
                form.setAttribute('method', "post");
                if (Config === "APP") {

                    window.open(AppPath, "_blank");

                }
                else {
                    window.open("AdminZoomWebApp.aspx", "_blank");
                    //window.location.href = "OnlineLearningAdminView.aspx";
                    //window.location.reload("OnlineLearningAdminView.aspx");
                    //location.reload();
                    window.opener.document.href("AdminZoomWebApp.aspx")
                    //form.submit();
                }

                //window.document.forms[0].target = '_blank';
                //form.submit();
            }
            else if (MeetingProviderId == '2') {

                var form = document.createElement("form");
                form.setAttribute('method', "post");
                window.open(MeetingCode, "_blank");
                window.document.forms[0].target = '_blank';
                form.submit();
            }
            else if (MeetingProviderId == '4') {

                var form = document.createElement("form");
                form.setAttribute('method', "post");
                window.open(MeetingCode, "_blank");
                window.document.forms[0].target = '_blank';
                form.submit();
            }
            else if (MeetingProviderId == '5' || MeetingProviderId == '3') {

                var form = document.createElement("form");
                form.setAttribute('method', "post");
                window.open(MeetingCode, "_blank");
                window.document.forms[0].target = '_blank';
                form.submit();
            }
            else {

                var form = document.createElement("form");
                form.setAttribute('method', "post");
                if (Config === "APP") {
                    //if (InstallStatus == '1') {
                    window.open(AppPath, "_blank");

                }
                else {
                    window.open("AdminZoomWebApp.aspx", "_blank");
                }

                window.document.forms[0].target = '_blank';
                form.submit();

            }
        }

    </script>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/online-learning-admin-view")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
