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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent ">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="172"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            <div class="whiteboxpaddingleft row">
                <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                    <div class="himsBoxHeader card-head">
                        <asp:Panel ID="Panel2" runat="server">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-search"></i>
                                        <asp:Label ID="Label1" runat="server" Text="Search"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                    <div class="himsBoxContent card-body">
                        <asp:Panel ID="Panel3" runat="Server">
                            <div class="contentHolder">
                                <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="FromDateLabel" runat="server" Text="From Date"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl" runat="server" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ToDateLabel" runat="server" Text="To Date"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl" runat="server" />
                                        </div>
                                    </div>
                                    <div class="alignCenter pTop5 col-md-12 center">
                                        <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click"
                                            SkinID="0" class="btn-search btn fas" />
                                        <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" SkinID="0" class="btn-reset btn fas" OnClick="ResetButton_Click" />
                                    </div>
                                </asp:Panel>
                                <div id="Div3" class="himssuHeader7WireBox col-md-12" runat="server">
                                    <div id="SearchNewsDetailDiv" visible="false" runat="server">

                                        <div class="himsBoxHeader" id="SearchNewsDiv" visible="true" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle" style="width: 99%">
                                                <div align="right" class="fRight" style="margin-top: 0px;">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent" style="padding-bottom: 0px">
                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                <ContentTemplate>
                                                    <div id="SearchDiv5" runat="server" visible="false" class="table-responsive">
                                                        <asp:GridView ID="LessonPlanSubjectView" runat="server" AutoGenerateColumns="False"
                                                            EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered table-hover"
                                                            DataKeyNames="SubjectId,SubjectName" OnRowDataBound="LessonPlanSubjectView_RowDataBound">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="Subject" ItemStyle-Width="50%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="SubjectLabel" runat="server" Text='<%# Bind("SubjectName") %>'> </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField ItemStyle-Width="50%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="SelectLinkButton" CommandName="Select" SkinID="CustomWidthLabel" runat="server"
                                                                            Text="View Lesson Plan" OnClick="ViewLessonPlanLinkButton_Click"></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </div>

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

                                                    <div id="LessonPlanDiv" runat="server" visible="false" class="table-responsive">
                                                        <asp:HiddenField ID="LessonPlanIdHiddenField" runat="server" />
                                                        <asp:GridView ID="LessonPlanGridview" runat="server" AutoGenerateColumns="False" OnDataBound="LessonPlanGridview_DataBound"
                                                            DataKeyNames="LessonPlanId" EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered">

                                                            <Columns>
                                                                <asp:TemplateField HeaderText="Topic" ItemStyle-Width="18%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="TopicLabel" runat="server" Text='<%# Bind("TopicName") %>'> </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Sub Topic" ItemStyle-Width="15%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="SubTopicLabel" runat="server" Text='<%# Bind("SubTopic") %>'> </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="No of Period" ItemStyle-Width="8%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="NoOfPeriodLabel" runat="server" Text='<%# Bind("NoOfPeriodRequired") %>'> </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Objective" ItemStyle-Width="15%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="ObjectiveLabel" runat="server" Text='<%# Bind("Objective") %>'> </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Teacher Name" ItemStyle-Width="18%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="TeacherNameLabel" runat="server" Text='<%# Bind("TeacherName") %>'> </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Learning Experience" ItemStyle-Width="8%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <%-- <div style="word-wrap: break-word;word-break: break-word;">--%>
                                                                        <asp:Label ID="LearningExperienceLabel" runat="server" Text='<%# Bind("LearningExperience") %>'> </asp:Label>
                                                                        <%--</div>--%>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Summary" ItemStyle-Width="15%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <%--<div style="word-wrap: break-word;word-break: break-word;">--%>
                                                                        <asp:Label ID="SummaryLabel" runat="server" Text='<%# Bind("Summary") %>'> </asp:Label>
                                                                        <%--</div>--%>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Essential Material" ItemStyle-Width="8%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <%--<div style="word-wrap: break-word;word-break: break-word;">--%>
                                                                        <asp:Label ID="EssentialMaterialLabel" runat="server" Text='<%# Bind("EssentialMaterial") %>'> </asp:Label>
                                                                        <%--</div>--%>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Tools And Techniques" ItemStyle-Width="8%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <%--<div style="word-wrap: break-word;word-break: break-word;">--%>
                                                                        <asp:Label ID="ToolsAndTechniquesLabel" runat="server" Text='<%# Bind("ToolsAndTechniques") %>'> </asp:Label>
                                                                        <%--</div>--%>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Indicative Homework" ItemStyle-Width="8%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <%--<div style="word-wrap: break-word;word-break: break-word;">--%>
                                                                        <asp:Label ID="IndicativeHomeworkLabel" runat="server" Text='<%# Bind("IndicativeHomework") %>'> </asp:Label>
                                                                        <%--</div>--%>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Teacher Example" ItemStyle-Width="8%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <%--<div style="word-wrap: break-word;word-break: break-word;">--%>
                                                                        <asp:Label ID="TeacherExampleLabel" runat="server" Text='<%# Bind("TeacherExample") %>'>' </asp:Label>
                                                                        <%--</div>--%>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Guided Practice" ItemStyle-Width="8%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <%--<div style="word-wrap: break-word;word-break: break-word;">--%>
                                                                        <asp:Label ID="GuidedPracticeLabel" runat="server" Text='<%# Bind("GuidedPractice") %>'> </asp:Label>
                                                                        <%--</div>--%>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Assessment Question" ItemStyle-Width="15%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <%--<div style="word-wrap: break-word;word-break: break-word;">--%>
                                                                        <asp:Label ID="AssessmentQuestionLabel" runat="server" Text='<%# Bind("AssessmentQuestion") %>'> </asp:Label>
                                                                        <%--</div>--%>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Independent Practice" ItemStyle-Width="8%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <%--<div style="word-wrap: break-word;word-break: break-word;">--%>
                                                                        <asp:Label ID="IndependentPracticeLabel" runat="server" Text='<%# Bind("IndependentPractice") %>'> </asp:Label>
                                                                        <%--</div>--%>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

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

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

                                                                <asp:TemplateField HeaderText="Session" ItemStyle-Width="8%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="SessionLabel" runat="server" Text='<%# Bind("Session") %>'> </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>


                                                                <asp:TemplateField HeaderText="Training Method" ItemStyle-Width="8%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="TrainingMethodLabel" runat="server" Text='<%# Bind("TrainingMethod") %>'> </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>


                                                                <asp:TemplateField HeaderText="Period Count" ItemStyle-Width="8%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="PeriodCountLabel" runat="server" Text='<%# Bind("PeriodCount") %>'> </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Remark" ItemStyle-Width="20%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="RemarkLabel" runat="server" Text='<%# Bind("Remark") %>'>' </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Completed" ItemStyle-Width="18%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="IsCompletedLabel" runat="server" Text='<%# Bind("IsCompleted") %>'> </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField ItemStyle-Width="50%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="ViewGridViewImageButton" CommandName="Select" CommandArgument="<%# Container.DataItemIndex %>" SkinID="CustomWidthLabel" runat="server"
                                                                            Text="View" OnClick="ViewGridViewImageButton_Click"></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </div>
                                                    <div id="AttachmentSectionDiv" class="himssuHeader6WireBox" runat="server">
                                                        <div id="UploadDiv" visible="true" runat="server">

                                                            <div class="himsBoxHeader card-head inner" id="HeaderDiv" visible="False" runat="server">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle" style="width: 99%">
                                                                    <div class="gridHeaderText">
                                                                        <header>
                                                                            <asp:Label ID="Label7" Text="File List" runat="server" />
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <%--<div class="himsBoxContent card-body">--%>
                                                            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                                                <ContentTemplate>
                                                                    <div id="AttachmentGridViewDiv" runat="server" visible="true">
                                                                        <div id="Div4" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="AttachmentGridView" runat="server" CssClass="table table-striped table-bordered table-hover"
                                                                                AutoGenerateColumns="False" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No Files Uploaded">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="File Name" ItemStyle-Width="90%" HeaderStyle-HorizontalAlign="Left"
                                                                                        ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:HyperLink ID="FileNameHyperLink" runat="server" Text='<%# Eval("FileName") %>'
                                                                                                NavigateUrl='<%# Eval("FilePath") %>' Target="_blank"></asp:HyperLink>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="File Name" ItemStyle-Width="90%" HeaderStyle-HorizontalAlign="Left"
                                                                                        ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="FileNameLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("FileName")%>'
                                                                                                Text='<%#Bind("FileName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"
                                                                                        ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="DownloadLinkButton" runat="server" CommandName="Download" Text="Download" OnClick="DownloadLinkButton_Click"
                                                                                                CausesValidation="false"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                            <%-- </div>--%>
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                </div>
            </div>

            <%--HEDP History Ends Here--%>
            </div> </div>
          
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../../JavaScript/rjs/encrypt/my-result-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/my-result")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
