<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_OnlineLearning_OnlinelearningTeacherView, App_Web_grlkp1xv" 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="213"
                                                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>
                                        </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" SkinID="MandatoryLabel"></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" SkinID="MandatoryLabel"></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: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="ExportLectureDataButton" runat="server" Text="&#xf093; Export" OnClick="ExportLectureDataButton_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="BatchHiddenField" runat="server" />
                                        <asp:HiddenField ID="IsTrackAttendanceHiddenField" runat="server" />
                                        <asp:HiddenField ID="IsCompleteHiddenField" runat="server" />
                                        <asp:HiddenField ID="IsTrackAssignmentViewHiddenField" runat="server" />
                                        <asp:HiddenField ID="LearningTypeHiddenField" runat="server" />
                                        <asp:HiddenField ID="TeacherEmployeeIdHiddenField" runat="server" />
                                        <asp:HiddenField ID="CoTeacherEmployee1HiddenField" runat="server" />
                                        <asp:HiddenField ID="CoTeacherEmployee2HiddenField" 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" 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: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="Title" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="TitleLabel" runat="server" Text='<%# Bind("Title") %>'></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" 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" SkinID="0" OnClick="DeleteAllButton_Click" Visible="true" />
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderText="Assigned"
                                                                            HeaderStyle-HorizontalAlign="Center" Visible="false">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="TeacherStartDateTimeLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("TeacherStartDateTime","{0:MM/dd/yyyy HH:mm:ss}")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderText="Assigned"
                                                                            HeaderStyle-HorizontalAlign="Center" Visible="false">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="TeacherEndDateTimeLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("TeacherEndDateTime","{0:MM/dd/yyyy HH:mm:ss}")%>'></asp:Label>
                                                                            </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 Teacher 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">


                                    <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>
                                    <div class="outerBox col-md-3 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="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="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"
                                                ReadOnly="true" onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel" TextMode="MultiLine">
                                            </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 class="cBoth"></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="Label18" Text="Download Recording :" runat="server" style="font-weight:bolder" class="col-md-2 pTop5"></asp:Label>

                                      </div>
                                    <%--<div id="RecordingDiv" class="himssuHeader7WireBox col-md-4" runat="server">
                                        <asp:GridView ID="RecordingGridView" runat="server" CssClass="table table-striped table-bordered table-hover"
                                            AutoGenerateColumns="False" EmptyDataText="No Records Found !!"
                                            DataKeyNames="PlayURL,DownloadURL" OnRowDataBound="RecordingGridView_RowDataBound">
                                            <Columns>
                                                <asp:TemplateField HeaderText="Play Recording" ItemStyle-Width="50%" ItemStyle-Height="50px" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:HyperLink ID="PlayURLHyperLink" runat="server" Target="_blank" Text="PlayURL" CssClass="btn-search btn fas" NavigateUrl='<%#Bind("PlayURL") %>' style="color:white !important"></asp:HyperLink>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Download Recording" ItemStyle-Width="50%" ItemStyle-Height="50px" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:HyperLink ID="DownloadURLHyperLink" runat="server" Target="_blank" Text="DownloadURL" CssClass="btn-search btn fas" NavigateUrl='<%#Bind("DownloadURL") %>' style="color:white !important"></asp:HyperLink>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <PagerSettings Visible="False" />
                                        </asp:GridView>
                                    </div>--%>
                                    <div class="cBoth"></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: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:LinkButton ID="joinButton"  CssClass="btn-search btn fas" runat="server"  OnClick="Start_Click" OnClientClick="aspnetForm.target ='_blank';">Start</asp:LinkButton>--%>
                                        <asp:Button ID="joinButton" CssClass="btn-search btn fas" runat="Server" OnClick="Start_Click" Text="Start"
                                            Width="250px" OnClientClick="TeacherjoinMeeting()" SkinID="0"/>

                                        <%--<button type="submit" class="btn btn-primary" id="join_meeting">Join</button>--%>
                                        <%--<asp:Button ID="RefreshButton" runat="server" TabIndex="4" Text="&#xf0e2; Refresh" CssClass="btn-reset btn fas" SkinID="0" Visible="false" 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="AssignmentViewButton" runat="Server"
                                            SkinID="0" CssClass="btn-search btn fas" Text="Assignment View" OnClick="AssignmentViewButton_Click" />
                                        <asp:Button ID="HistoryAssignmentViewButton" runat="Server"
                                            SkinID="0" CssClass="btn-search btn fas" Text="History Assignment View" OnClick="HistoryAssignmentView_Click" />
                                        <asp:Button ID="ViewResultButton" runat="Server"
                                            SkinID="0" CssClass="btn-search btn fas" Text="View Result" OnClick="ViewResultButton_Click" />
                                        <asp:Button ID="ChatButton" runat="server" TabIndex="4" Text="Chat" CssClass="btn-search btn fas" SkinID="0" Visible="false" OnClick="ChatButton_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>
                                    <div class="cBoth"></div>
                                    </br>
                                    </br>
                                    
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="PeriodNoLabel" runat="server" Text="Period No" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="PeriodNoDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    <asp:Button ID="ExportAttendanceButton" runat="Server"
                                        SkinID="0" CssClass="btn-search btn fas" Text="Export Attendance" OnClick="ExportAttendanceButton_Click" />
                                    &nbsp;  &nbsp; &nbsp;
                                             &nbsp;  &nbsp; &nbsp;
                                             &nbsp;  &nbsp; &nbsp;
                                            <div id="Div6" class="himssuHeader7WireBox col-md-12" runat="server">
                                                <asp:GridView ID="TeacherResourceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                    CssClass="table table-striped table-bordered table-hover"
                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                    <Columns>
                                                        <asp:TemplateField HeaderText="Resource Path">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="lnkDownload" Text='<%# Eval("FileName") %>' CommandArgument='<%# Eval("FilePath") %>' runat="server" OnClick="DownloadResourceFile" OnClientClick="aspnetForm.target ='_blank';"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                </asp:GridView>
                                            </div>
                                    &nbsp;  &nbsp; &nbsp;
                                                 &nbsp;  &nbsp; &nbsp;
                                            <div id="Div4" class="himssuHeader7WireBox col-md-12" runat="server">
                                                <asp:GridView ID="TeacherReferenceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                    CssClass="table table-striped table-bordered table-hover"
                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                    <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" Text='<%# Eval("ReferencePath") %>' CommandArgument='<%# Eval("ReferencePath") %>' runat="server" OnClick="DownloadReferenceFile" OnClientClick="aspnetForm.target ='_blank';"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                </asp:GridView>
                                            </div>
                                    &nbsp;  &nbsp; &nbsp;
                                                 &nbsp;  &nbsp; &nbsp;
                                            <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server">
                                                <asp:GridView ID="TeacherAssignmentGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                    CssClass="table table-striped table-bordered table-hover"
                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                    <Columns>
                                                        <asp:TemplateField HeaderText="Assignment Path">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="lnkAssignmentPath" Text='<%# Eval("FileName") %>' CommandArgument='<%# Eval("FilePath") %>' runat="server" OnClick="DownloadAssignmentFile" OnClientClick="aspnetForm.target ='_blank';"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                </asp:GridView>
                                            </div>
                                    &nbsp;  &nbsp; &nbsp;
                                                 &nbsp;  &nbsp; &nbsp;
                                             <div class="outerBox col-md-12 display-flex" runat="server" id="RemarkLabelDiv" visible="false">

                                                 <asp:Label ID="SubmitAssignmentRemarkLabel" runat="server" Text="Assignment Remark: " SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label></td>
                                                            <div class="col-md-9">
                                                                <asp:Label runat="server" ID="AssignmentRemarkLabel" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthLabel">
                                                                </asp:Label>
                                                            </div>
                                             </div>
                                    <br />
                                    <div id="AssSubmitDiv" class="himssuHeader7WireBox col-md-12" runat="server" visible="false">
                                         <div class="alignCenter col-md-12 pTop15">
                                            <asp:Button ID="SaveButton" runat="server" Text="&#xf0c7; Save" CssClass="fas btn btn-save " SkinID="0" OnClick="SaveButton_Click" />
                                        </div>
                                        <div id="GridViewPagerDiv" runat="server" visible="True">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="gridHeaderText fLeft ">
                                                    <asp:Label ID="TotalStudentLabel" Text="" runat="server" />
                                                    <asp:Label ID="UploadedStudentLabel" Text="" runat="server" />
                                                    <asp:Label ID="RemainingStudentLabel" Text="" runat="server" />
                                                </div>
                                            </div>
                                        </div>
                                        <asp:GridView ID="AssignmentSubmitGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                            CssClass="table table-striped table-bordered table-hover" DataKeyNames="Id,AcademicId"
                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="AssignmentSubmitGridView_RowDataBound">
                                            <Columns>
                                                <asp:TemplateField HeaderText="Roll No" ItemStyle-Width="5%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <asp:Label ID="RollNoLabel" runat="server" Text='<%# Bind("RollNo") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Class" ItemStyle-Width="5%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <asp:Label ID="ClassLabel" runat="server" Text='<%# Bind("ClassName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Student Name" ItemStyle-Width="20%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <asp:Label ID="StudentNameLabel" runat="server" Text='<%# Bind("StudentName") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Assignment Submit">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="lnkDownload" Text='<%# Eval("FileName") %>' CommandArgument='<%# Eval("FilePath") %>' runat="server" OnClick="DownloadAssSubmitFile" OnClientClick="aspnetForm.target ='_blank';"></asp:LinkButton>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Assignment Remark" ItemStyle-Width="25%">
                                                    <ItemStyle HorizontalAlign="Center" />
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="AssignmentRemark" runat="server" TextMode="multiline" Columns="50" Rows="3" SkinID="CustomWidthTextBox" Style="height: auto"
                                                            Text='<%#Eval("AssignmentTeacherRemark")%>'></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Deleted By User" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <asp:Label ID="DeletedByUserLabel" runat="server" Text='<%# Bind("DeletedUser") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Deleted Date and Time" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <asp:Label ID="DeletedDateTimeLabel" runat="server" Text='<%# Bind("DeletedDateTime") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                        <div class="alignCenter outerBox pTop5 col-md-12 center" id="AssignmentDownloadAndDeleteDiv" runat="server">
                                            <%--<asp:Button ID="DownloadAllButton" runat="server" Text="&#xf019; Download All" CssClass="btn btn-download fas" SkinID="0" OnClick="DownloadAllButton_Click" Visible="true" />
                                            <asp:Button ID="DeleteAllButton" runat="server" Text="&#xf2ed; Delete All" CssClass="fas btn btn-delete" SkinID="0" OnClick="DeleteAllButton_Click" Visible="true" />--%>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

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

    </asp:UpdatePanel>

    <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="900px" 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="SendAbsentStudentAlertButton" runat="server" Text="Send Absent Student Alert" OnClick="SendAbsentStudentAlertButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />
                                                    &nbsp; &nbsp;
                                                    <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:BoundField DataField="AcademicId" HeaderText="Type" ItemStyle-Width="10%" Visible="false" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>

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

    <cc1:ModalPopupExtender ID="ViewAssignmentAttendanceModalPopupExtender" runat="server" TargetControlID="HidenButton3" PopupControlID="Panel10" BackgroundCssClass="modalBackground"
        Drag="True" PopupDragHandleControlID="dragPanel" Enabled="True" />
    <asp:LinkButton runat="server" ID="HidenButton3" meta:resourcekey="HidenButtonResource1" />

    <asp:Panel ID="Panel10" runat="server" CssClass="dragControl" Width="800px" DefaultButton="HidenButton3" meta:resourcekey="ModalPopUpPanelResource1">

        <div class="messagebox card card-box">

            <asp:Panel ID="Panel11" runat="server" CssClass="dragMePanel" Width="100%" meta:resourcekey="dragPanelResource1">
                <div id="dragMe3" 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="UpdatePanel5" runat="server" RenderMode="Inline">
                                        <ContentTemplate>
                                            <header>
                                                <asp:Label ID="Label17" runat="server" meta:resourcekey="DialogHeaderLabelResource1" Text="Assignment View"></asp:Label>
                                            </header>
                                            <span class="pull-right">
                                                <asp:ImageButton ID="CloseImageButton" runat="server" Height="20PX" Width="20PX" ImageUrl="~/Images/closebox.png" OnClick="CloseImageButton_Click" />
                                            </span>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <asp:UpdatePanel ID="UpdatePanel6" runat="server" RenderMode="Inline">
                <ContentTemplate>
                    <div class="card-body">
                        <div class="himsPopupWireBox">
                            <div class="himsBoxContentmain" style="overflow: hidden">
                                <div>
                                    <div class="spacer">
                                        <asp:Image ID="Image3" 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="Panel12" runat="server" meta:resourcekey="ViewAssignmentPanelResource1">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText">
                                                                <header>
                                                                    <asp:Label ID="AssignmentViewLabel" runat="server" Text="Assignment View"></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="ExportButton" runat="server" Text="&#xf093; Export" SkinID="0" OnClick="ExportButton_Click" CssClass="btn-examcommon btn fas" />
                                                </div>
                                                <asp:Panel ID="Panel13" runat="server" meta:resourcekey="DetailPanelResource1">
                                                    <div class="contentHolder table-responsive">
                                                        <asp:Panel ID="Panel14" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                                            <div class="contentHolder">
                                                                <asp:UpdatePanel ID="UpdatePanel7" runat="server" UpdateMode="Always">
                                                                    <ContentTemplate>
                                                                        <div id="Div10" runat="server" visible="True">
                                                                            <div id="Div11" runat="server" class="table-responsive">
                                                                                <div class="col-md-12">
                                                                                    <asp:GridView ID="AssignmentViewGridView" runat="server" Width="102%" AutoGenerateColumns="False"
                                                                                        CssClass="table table-striped table-bordered table-hover"
                                                                                        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="3%">
                                                                                                <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="5%">
                                                                                                <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="View Resource" ItemStyle-Width="5%">
                                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="IsViewResourceLabel" runat="server" Text='<%#Eval("IsViewResource") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="View Reference" ItemStyle-Width="5%">
                                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="IsViewReferenceLabel" runat="server" Text='<%#Eval("IsViewReference") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="View Assignment" ItemStyle-Width="5%">
                                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="IsViewAssignmentLabel" runat="server" Text='<%#Eval("IsViewAssignment") %>'></asp:Label>
                                                                                                </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="UpdateProgress2" runat="server" DisplayAfter="200">
                        <ProgressTemplate>
                            <div style="position: absolute; top: 50%; left: 45%; font-size: 20px">
                                <asp:Image ID="LoadingImage7" runat="server" ImageUrl="~/Images/Loading.gif"
                                    meta:resourcekey="Image3Resource1" />
                            </div>
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                </ContentTemplate>
            </asp:UpdatePanel>

        </div>
    </asp:Panel>

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

    <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 TeacherjoinMeeting() {

            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("TeacherZoomWebApp.aspx", "_blank");
                }

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

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

                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') {

                var form = document.createElement("form");
                form.setAttribute('method', "post");
                //window.location.href = MeetingCode;
                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") {
                    window.open(AppPath, "_blank");
                }
                else {
                    window.open("TeacherZoomWebApp.aspx", "_blank");
                }

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

    </script>

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