<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Academic_PreLessonPlan, App_Web_3i5s52el" 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" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <%-- <link href="../../../App_Themes/responsiv-popup.css" rel="stylesheet" />
     <div id="dvTestLoadingmsg" class="hls-wrap" >
         <div class="hls-container">
            <div class="hls-content">
                <div class="dsh-syndicate white-popup" style="display: inline-block; width: 119%; height: 150px">
                    <div class="shippingcard" style="text-align: center; vertical-align: middle; width: 100%;">
                        <span id="spn1msg">Loading Details</span><br>
                        <span style="line-height: 2;" id="spn2msg"><b>Please Wait ...</b></span><br>
                        <span id="spnloadingimgOPD">
                            <img src="../../../Images/Loading1.gif" /></span>
                    </div>
                </div>
            </div>
        </div>
    </div>--%>
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <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="212"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <!-- Sub Container2 Box Start -->
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight mt-27">
                                        <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButtonID_Click" SkinID="0"
                                            class="btn btn-add fas" Text="&#xf067; Add" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                        <div id="divEmp" class="outerBox pTop5 col-md-3" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:HiddenField ID="EmployeeHiddenField" runat="server" />
                                                <asp:Label ID="EMPLOYEELabel" runat="server" Text="Employee Name"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="EmpDropDownList" runat="server" onmouseleave="showHideTooltip()" AutoPostBack="true"
                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" OnSelectedIndexChanged="EmpDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div id="DivOrgHeader" runat="server" visible="false">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SearchOrganizationLabel" runat="server" Text="Organization"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="SearchOrganizationDropDownList" SkinID="CustomWidthDropDownList"
                                                        AutoPostBack="true" onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="SearchOrganizationDropDownList_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>

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

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchClassLabel" Text="Class" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchClassDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true"
                                                    OnSelectedIndexChanged="SearchClassDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchDivisionLabel" runat="server" Text="Division"></asp:Label>
                                            </div>
                                            <asp:DropDownList ID="SearchDivisionDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromDateLabel" runat="server" Text="From Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl"
                                                    runat="server" Visible="true" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToDateLabel" runat="server" Text="To Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl"
                                                    runat="server" Visible="true" />
                                            </div>
                                        </div>
                                        <%-- <div class="outerBox pTop5">
                                                        <div class="fLeft pRight5">
                                                            <asp:CheckBox ID="AllCheckBox" runat="server" Text="All" class="pLeft5" Visible="true" />
                                                        </div>
                                                    </div>--%>

                                        <div class="alignCenter pTop5 col-md-12">
                                            <asp:Button ID="PreLessonSearchButton" Text="&#xf002; Search" runat="Server" OnClick="PreLessonSearchButton_Click"
                                                SkinID="0" class="btn-search btn fas" Visible="true" />
                                            <asp:Button ID="SearchPrintButton" runat="server" OnClick="SearchPrintButton_Click" SkinID="0" Text="&#xf02f; Print" CssClass="btn-print btn fas" />
                                            <asp:Button ID="ImportButton" runat="server" Text="Import" Visible="false" OnClick="ImportButton_Click" SkinID="0" class="btn-print btn fas" />
                                            <asp:Button ID="ExportButton" runat="server" Text="&#xf093;Export" Visible="false" OnClick="ExportButton_Click" SkinID="0" class="btn-examcommon btn fas" />

                                        </div>
                                        <%--<div class="outerBox pTop5" style="padding-left:10px" >
                                                         <a href="javascript:;" onclick="OpenFileUpload();">
                                                         <img src='<%= ResolveUrl("~/Images/browse.png") %>' /></a>
                                                        <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;"/>
                                                    </div>--%>
                                    </asp:Panel>

                                    <div class="himsBoxContent table-responsive col-md-12 pTop5">
                                        <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Always">
                                            <ContentTemplate>
                                                <div id="Div1" runat="server">
                                                    <asp:GridView ID="PreLessonPlanSearchGridView" runat="server" CssClass="table table-striped table-bordered table-hover" AutoGenerateColumns="False"
                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false">
                                                        <Columns>
                                                            <asp:BoundField DataField="Monthname" HeaderText="Month Name" ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="ClassDivisionName" HeaderText="Class Division" ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="SubjectName" HeaderText="Subject Name" ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="Name" HeaderText="Employee Name" ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="Objective" HeaderText="Objective" ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="Summary" HeaderText="Summary" ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="StartDate" HeaderText="Start Date" ItemStyle-Width="2%" DataFormatString="{0:dd/MM/yyyy}" ItemStyle-HorizontalAlign="Left" />
                                                            <%--<asp:BoundField DataField="EndDate" HeaderText="End Date" DataFormatString="{0:dd/MM/yyyy}" ItemStyle-Width="2%" ItemStyle-HorizontalAlign="Left" />--%>
                                                        </Columns>
                                                    </asp:GridView>
                                                </div>
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                    </div>


                                    <%--  <div id="DivClassCheckBoxList" class="outerBox pTop5" runat="server" visible="true">
                                              <div class="controlLabelWidth">
                                                <asp:CheckBox ID="ClassCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="ClassCheckBox_CheckedChanged" />
                                                    
                                                <asp:Label ID="ApplyForAllClassLabel" runat="server" Text="Select All" class="pLeft5"></asp:Label>
                                            </div>  
                                                     <div id="DivisionIdDiv" runat="server" visible="false">
                                            <div id="ClassDivisionDiv" runat="server" class="fLeft pRight5" style="overflow: auto; height: 100px; width: 150px; border-color: Silver; border-width: thin; border-style: ridge" >
                                                <asp:CheckBoxList ID="ClassDivisionCheckBoxList" runat="server">
                                                </asp:CheckBoxList>
                                            </div>
                                             <div>
                                                <asp:Button ID="ApplyForSelectClassButton" runat="server" SkinID="0" 
                                                    Text="Apply For Class" Width="130px" CssClass="btn-primary" OnClick="ApplyForSelectClassButton_Click"/>
                                        </div>
                                                         </div>
                                            </div>--%>

                                    <%--  <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server">
                                        <div id="NewsDetailDiv" visible="false" runat="server">

                                            <div class="himsBoxHeader card-head inner" id="NewsDiv" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">


                                                    <div align="right" class="fRight">

                                                        <div class="fRight display-flex">



                                                            <asp:TextBox ID="NoOfPeriodTextbox" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Width="10px" SkinID="CustomWidthTextbox" onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>


                                                            <asp:Button ID="AddGridRowButton" Text="&#xf067; Add" runat="Server" class="btn btn-add fas" OnClick="AddGridRowButton_Click"
                                                                SkinID="0" />
                                                            &nbsp; &nbsp;

                                                        </div>


                                                        <%--  <div class="gridHeaderText">
                                                            <header>
                                                            <asp:Label ID="AssignRouteLabel" runat="server" Text="Pre Lesson Plan"></asp:Label>
                                                            </header>
                                                            </div>
                                                    </div>

                                                </div>

                                            </div>
                                        </div>
                                        <div class="himsBoxContent table-responsive">
                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                <ContentTemplate>
                                                    <div id="Div5" runat="server" visible="false">
                                                        <asp:GridView ID="PreLessonPlanGridView" runat="server" CssClass="table table-striped table-bordered table-hover" AutoGenerateColumns="False"
                                                            OnRowDataBound="PreLessonPlanGridView_RowDataBound" OnPageIndexChanging="PreLessonPlanGridView_PageIndexChanging"
                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" DataKeyNames="Id,EmployeeId">
                                                            <Columns>
                                                                <asp:BoundField DataField="Name" HeaderText="Employee Name" ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Left" />
                                                                <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="Topic">
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList ID="TopicGridDropDownlist" runat="server" onmouseleave="showHideTooltip()"
                                                                            onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="Sub Topic">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="SubTopicTextBox" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="CustomWidthTextbox" Text='<%#Eval("SubTopic") %>'></asp:TextBox>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField ItemStyle-Width="12%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="Objective">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="ObjectiveGridTextBox" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="CustomWidthTextbox" MaxLength="1000" Text='<%#Eval("Objective") %>'></asp:TextBox>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField ItemStyle-Width="12%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Center" HeaderText="Summary">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="SummaryGridTextBox" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="CustomWidthTextbox" Text='<%#Eval("Summary") %>'></asp:TextBox>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Start Date" ItemStyle-Width="6%" HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <Date:DatePickerControl DisplayDatePicker="false" ID="StartDateDatepickercontrol" Text='<%#Eval("StartDate") %>'
                                                                            runat="server" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField ShowHeader="true" HeaderText="Delete">
                                                                    <ItemTemplate>
                                                                        <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_Click"
                                                                            ToolTip="Delete" ImageUrl="../../../Images/icons/icon_delete.gif" />
                                                                    </ItemTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" Width="2%" />
                                                                </asp:TemplateField>

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

                                    </div>--%>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <!-- Sub Container2 Box Ends -->

                    <!-- Sub Container1 Box Start -->
                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-search"></i>
                                        <asp:Label ID="NewsDetailLabel" runat="server" Text="Pre Lesson Plan"></asp:Label>
                                    </header>
                                </div>
                                <div class="fRight mt-27">
                                    <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                        class="btn btn-back fas" Text="&#xf30a;  Back" />
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="tableContainer">
                                <div class="contentHolder">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="DepartmentLabel" runat="server" Text="Department"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="DepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                AutoPostBack="true" onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>

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

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="DivisionLabel" runat="server" Text="Division"></asp:Label>
                                        </div>
                                        <asp:DropDownList ID="DivisionDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SubjectLabel" Text="Subject" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="SubjectDropDownList" runat="server" onmouseleave="showHideTooltip()" AutoPostBack="true"
                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                <%--OnSelectedIndexChanged="SearchSubjectDropDownList_SelectedIndexChanged"--%>
                                            </asp:DropDownList>
                                        </div>
                                    </div>

                                    <div class="alignCenter pTop5 col-md-12">
                                        <asp:Button ID="AddGridButton" Text="&#xf002; Search" runat="Server" OnClick="AddGridButton_Click"
                                            SkinID="0" class="btn-search btn fas" Visible="true" />
                                        <asp:Button ID="Button2" runat="server" Text="Import" Visible="false" SkinID="0" class="btn-print btn fas" />
                                        <asp:Button ID="Button3" runat="server" Text="&#xf093;Export" Visible="false" SkinID="0" class="btn-examcommon btn fas" />

                                    </div>
                                    <%--<div class="outerBox pTop5" style="padding-left:10px" >
                                                         <a href="javascript:;" onclick="OpenFileUpload();">
                                                         <img src='<%= ResolveUrl("~/Images/browse.png") %>' /></a>
                                                        <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;"/>
                                                    </div>--%>
                                    <div id="NewsDetailDiv" visible="false" runat="server">
                                        <div class="himsBoxHeader card-head inner" id="NewsDiv" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div align="right" class="fRight">
                                                    <div class="fRight display-flex">
                                                        <asp:TextBox ID="NoOfPeriodTextbox" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            Width="50px" SkinID="CustomWidthTextbox" onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                                        <asp:Button ID="AddGridRowButton" Text="&#xf067; Add" runat="Server" class="btn btn-add fas" OnClick="AddGridRowButton_Click"
                                                            SkinID="0" />
                                                        &nbsp; &nbsp;
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent table-responsive col-md-12 pTop5">
                                        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
                                            <ContentTemplate>
                                                <div id="Div5" runat="server" visible="false">
                                                    <asp:GridView ID="PreLessonPlanGridView" runat="server" CssClass="table table-striped table-bordered table-hover" AutoGenerateColumns="False"
                                                        OnRowDataBound="PreLessonPlanGridView_RowDataBound" OnPageIndexChanging="PreLessonPlanGridView_PageIndexChanging"
                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" DataKeyNames="Id,EmployeeId">
                                                        <Columns>
                                                            <asp:BoundField DataField="Name" HeaderText="Employee Name" ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Left" />
                                                            <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Center" HeaderText="Division">
                                                                <ItemTemplate>
                                                                    <asp:DropDownList ID="DivisionGridDropDownlist" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                    </asp:DropDownList>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Center" HeaderText="Topic">
                                                                <ItemTemplate>
                                                                    <asp:DropDownList ID="TopicGridDropDownlist" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                    </asp:DropDownList>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>


                                                            <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Center" HeaderText="Sub Topic">
                                                                <ItemTemplate>
                                                                    <asp:TextBox ID="SubTopicTextBox" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        SkinID="CustomWidthTextbox" Text='<%#Eval("SubTopic") %>'></asp:TextBox>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:TemplateField ItemStyle-Width="12%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Center" HeaderText="Objective">
                                                                <ItemTemplate>
                                                                    <asp:TextBox ID="ObjectiveGridTextBox" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        SkinID="CustomWidthTextbox" MaxLength="1000" Text='<%#Eval("Objective") %>'></asp:TextBox>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:TemplateField ItemStyle-Width="12%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Center" HeaderText="Summary">
                                                                <ItemTemplate>
                                                                    <asp:TextBox ID="SummaryGridTextBox" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        SkinID="CustomWidthTextbox" Text='<%#Eval("Summary") %>'></asp:TextBox>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="Start Date" ItemStyle-Width="6%" HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                <ItemTemplate>
                                                                    <Date:DatePickerControl DisplayDatePicker="false" ID="StartDateDatepickercontrol" Text='<%#Eval("StartDate") %>'
                                                                        runat="server" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:TemplateField ShowHeader="true" HeaderText="Delete">
                                                                <ItemTemplate>
                                                                    <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_Click"
                                                                        ToolTip="Delete" ImageUrl="../../../Images/icons/icon_delete.gif" />
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Center" Width="2%" />
                                                            </asp:TemplateField>

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

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

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