<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Activity_Activity, App_Web_f34onbua" 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" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl"
    TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch"
    TagPrefix="Std" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
            <hims:EmployeeSearchControl ID="EmployeeSearch" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">

                <td class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">


                        <div class="himsBoxContent">
                            <div class="leftUlMenu">
                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="108"
                                    Visible="true" runat="server" />
                            </div>
                        </div>

                    </div>
                </td>
                <div class="whiteboxpaddingleft row">
                    <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>
                                        <%--  <cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="Server" TargetControlID="DetailPanel1"
                                                        ExpandControlID="Image1" CollapseControlID="Image1" TextLabelID="Label3" Collapsed="true"
                                                        ImageControlID="Image1" ExpandedImage="~/images/buttonCollapse.gif" CollapsedImage="~/images/buttonExpand.gif"
                                                        ExpandDirection="Vertical" />--%>
                                    </div>
                                    <div class="fRight mt-27 ">
                                        <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0"
                                            class="btn btn-add fas" Text="&#xf067; Add" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel1" runat="Server">
                                <div class="contentHolder">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchTitleLabel" runat="server" Text="Name"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="SearchTitleTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                SkinID="CustomWidthTextBox" onmouseenter="showHideTooltip()" MaxLength="100"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchEventMainTypeLabel" Text="Activity Main Type" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="SearchActivityMainTypeDropDownList" runat="server" onmouseleave="showHideTooltip()" AutoPostBack="true"
                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" class="form-control" OnSelectedIndexChanged="SearchActivityMainTypeDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchActivityTypeLabel" runat="server" Text="Activity Type"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="SearchActivityTypeDropDownList" runat="server" class="form-control" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList">
                                            </asp:DropDownList>
                                        </div>
                                    </div>

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

                                    <div class="alignCenter pTop5 col-md-12 center">
                                        <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click"
                                            SkinID="0" class="btn-search btn fas" />
                                        <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click" SkinID="0" class="btn-reset btn fas" />
                                        <asp:Button ID="ExportButton" Text="&#xf093; Export To Excel" SkinID="0" CssClass="btn-examcommon btn fas" runat="server" CausesValidation="false" Visible="false" OnClick="ExportButton_Click"></asp:Button>
                                    </div>

                                    <div id="Div2" class="himssuHeader7WireBox col-md-12 pb5 mt2" runat="server">
                                        <div id="ActivityListDetailDiv" runat="server" visible="false">

                                            <div class="himsBoxHeader" id="ActivityListDiv" runat="server" visible="false">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <%--<div class="headerText">
                                                                    <div class="fLeft">
                                                                        <asp:Label ID="Label2" Text="List" runat="server" Font-Bold="true" />
                                                                    </div>
                                                                </div>--%>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent ">
                                                <div id="Div5" runat="server" visible="false">
                                                    <div class="table-responsive">
                                                        <asp:GridView ID="ActivityGridView" runat="server" AutoGenerateColumns="False"
                                                            ShowHeader="true" SkinID="" PagerSettings-Visible="false" EmptyDataText="No Records Found !!"
                                                            CssClass="table table-striped table-bordered table-hover" DataKeyNames="ActivityId" OnRowDataBound="ActivityGridView_RowDataBound"
                                                            OnPageIndexChanging="ActivityGridView_PageIndexChanging">
                                                            <Columns>
                                                                <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left" HeaderText="">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="SelectLinkButton" runat="server" CommandName="Select" Text="Select"
                                                                            CausesValidation="false" OnClick="SelectLinkButton_Click"></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:BoundField DataField="Title" HeaderText="Name" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:BoundField DataField="ActivityMainType" HeaderText="Activity Main Type" ItemStyle-Width="15%"
                                                                    HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:BoundField DataField="ActivityType" HeaderText="Activity Type" ItemStyle-Width="15%"
                                                                    HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:BoundField DataField="FromDate" HeaderText="From Date" DataFormatString="{0:dd/MM/yyyy}"
                                                                    ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:BoundField DataField="ToDate" HeaderText="To Date" DataFormatString="{0:dd/MM/yyyy}"
                                                                    ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:TemplateField HeaderText="Group" ItemStyle-Width="10%" SortExpression="IsGroup"
                                                                    HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="IsGroupLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsGroup").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <%--     <div class="contentHolder" style="padding-left: 0px; padding-right: 0px">--%>
                    <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="fa fa-tasks"></i>
                                        <asp:Label ID="Label1" runat="server" Text="Activity "></asp:Label>
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 ">
                                <table>
                                    <tr>
                                        <td class="formLabel">
                                            <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                                <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                    runat="server" ImageUrl="~/Images/arrowLlast.gif" CommandName="Page" CommandArgument="First"
                                                    OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                            <i class="fa fa-fast-backward"></i>
                                                </asp:LinkButton>
                                                <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                    runat="server" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                                    OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                            <i class="fa fa-play fa-rotate-180"></i>
                                                </asp:LinkButton>
                                                &nbsp; &nbsp;
                                                            <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                <asp:Label ID="ofLabel" Text="of" runat="server" />
                                                <asp:Label ID="TotalRecord" runat="server" />

                                                &nbsp; &nbsp;
                                                            <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                                runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                                OnClick="NextImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play"></i>
                                                            </asp:LinkButton>
                                                <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                    runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                                    OnClick="LastRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-forward"></i>
                                                </asp:LinkButton>&nbsp; &nbsp;
                                            </div>
                                        </td>
                                        <td>&nbsp; &nbsp;<asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                            class="btn btn-back fas" Text="&#xf30a; Back" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="TitleLabel" Text="Name" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="TitleTextBox" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                MaxLength="100" SkinID="CustomWidthTextBox"></asp:TextBox>
                                            <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                            <asp:HiddenField ID="ParticipantHiddenField" runat="server" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ActivityTypeLabel" Text="Activity Type" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="ActivityTypeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" class="form-control">
                                            </asp:DropDownList>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="FromDateLabel" runat="server" Text="From Date" SkinID="MandatoryLabel"></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" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl" runat="server" />
                                        </div>
                                    </div>

                                    <div class="outerBox11 pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="RemarkLabel" Text="Remark" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="RemarkTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="MultiLineTextBox"
                                                onmouseenter="showHideTooltip()" MaxLength="200" TextMode="MultiLine"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="fLeft">
                                            <asp:CheckBox ID="StopAutoAlertCheckBox" runat="server" Text="Stop Auto Alert" />
                                            <%--<asp:Label ID="StopAutoAlertLabel" runat="server" class="pLeft5" Text="Stop Auto Alert"></asp:Label>--%>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="assign_departmentise" runat="server">
                                        <%--<div class="controlLabelWidth">                              
                                                </div>--%>
                                        <div class="fLeft pRight5">
                                            <asp:CheckBox ID="IsGroupCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="IsGroupCheckBox_CheckedChanged" Text="Group Activity (Assign more than one participant)" />
                                            <%--<asp:Label ID="IsGroupLabel" runat="server" Text="Group Activity (Assign more than one participant)"></asp:Label>--%>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="fLeft pRight5">
                                            <asp:CheckBox ID="DepartmentClassDivCheckBox" runat="server" Text="Assign Departmentwise/Classwise / Divisionwise "
                                                AutoPostBack="true" OnCheckedChanged="DepartmentClassDiv_CheckedChanged" Visible="false" />
                                        </div>
                                    </div>

                                    <div id="DepartmentWiseDiv" runat="server" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label6" runat="server" Text="Department"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="DepartmentSearchDropDownList" SkinID="CustomWidthDropDownList"
                                                    class="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true" onmouseenter="showHideTooltip()"
                                                    OnSelectedIndexChanged="DepartmentSearchDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label7" runat="server" Text="Class"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ClassSearchDropDownList" SkinID="CustomWidthDropDownList"
                                                    class="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true" onmouseenter="showHideTooltip()"
                                                    OnSelectedIndexChanged="ClassSearchDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label8" runat="server" Text="Division"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="DivisionSearchDropDownList" SkinID="CustomWidthDropDownList"
                                                    class="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true" onmouseenter="showHideTooltip()"
                                                    OnSelectedIndexChanged="DivisionSearchDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="UserRemarkLabel" runat="server" Text="Remark"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                    <asp:TextBox ID="UserRemarkTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" TextMode="MultiLine"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="cBoth"></div>
                                        <br />
                                        <%--    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label9" runat="server" Text="Id.No"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="DropDownList3" SkinID="CustomWidthDropDownList"
                                                                Width="154px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                            </asp:TextBox>
                                                        </div>
                                                    </div>--%>

                                        <div id="DepartmentListDiv" class="himssuHeader6WireBox col-md-12 pb5 "
                                            runat="server" visible="false">
                                            <div class="himsBoxHeader card-head inner" id="Div7" runat="server" visible="True">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="Label10" Text="Student List" runat="server" />
                                                    </header>
                                                </div>
                                                <div class="leftdiv">
                                                </div>

                                            </div>
                                            <div class="himsBoxContent">
                                                <div class="table-responsive">
                                                    <asp:GridView ID="DepartmentWiseSearchGridView" runat="server" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover"
                                                        AllowPaging="false" ShowHeader="true" DataKeyNames="Id">
                                                        <Columns>
                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center">
                                                                <HeaderTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="HeaderSelectCheckBox1" onclick="CheckAll(this);" runat="server" />
                                                                        <span></span>
                                                                    </label>
                                                                </HeaderTemplate>
                                                                <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                                <ItemTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="SelectCheckBox1" runat="server" />
                                                                        <span></span>
                                                                    </label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="RollNo" HeaderText="Roll No" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="Title" HeaderText="Name" ItemStyle-Width="80%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <%--====================================================================================================================================--%>

                                    <div class="outerBox pTop5 col-md-3" id="assign_studentwise" runat="server">
                                        <div class="fLeft pRight5">
                                            <asp:CheckBox ID="StudentCheckBox" runat="server" Text="Assign Studentwise" AutoPostBack="true"
                                                OnCheckedChanged="Student_CheckedChanged" Visible="false" />
                                        </div>
                                    </div>

                                    <div id="DivisionDiv" runat="server" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label5" runat="server" Text="Department"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="DepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                    class="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true" onmouseenter="showHideTooltip()"
                                                    OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label2" runat="server" Text="Class"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                    class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="true" OnSelectedIndexChanged="ClassDropDownList_OnSelectedIndexChanged">
                                                </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>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="DivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                    class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="true" OnSelectedIndexChanged="DivisionDropDownList_OnSelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="IdNoLabel" runat="server" Text="Id.No"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox runat="server" ID="IdNoListTextBox" SkinID="CustomWidthDropDownList"
                                                    class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    OnTextChanged="IdNoListTextBox_TextChanged">
                                                </asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="HouseLabel" runat="server" Text="House"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="HouseDropDownList" SkinID="CustomWidthDropDownList"
                                                    class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="true" OnSelectedIndexChanged="DivisionDropDownList_OnSelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="fLeft pRight5">
                                                <asp:Button ID="SearchStudentButton" Text="&#xf002; Search" runat="Server" SkinID="0" class="btn-search btn fas"
                                                    OnClick="SearchStudentButton_Click" />
                                                <asp:Button ID="ClearStudentButton" runat="server" Text="&#xf0e2; Reset" OnClick="ClearStudentButton_Click" SkinID="0" class="btn-reset btn fas" />
                                            </div>
                                        </div>

                                        <div id="StudentListDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="false">
                                            <div class="himsBoxHeader card-head inner" id="Div4" runat="server" visible="True">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="Label4" Text="Student List" runat="server" />
                                                    </header>
                                                </div>
                                                <div class="leftdiv">
                                                </div>

                                            </div>
                                            <div class="himsBoxContent">
                                                <div class="table-responsive">
                                                    <asp:GridView ID="StudentListGridView" runat="server" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover"
                                                        AllowPaging="false" ShowHeader="true" DataKeyNames="Id">
                                                        <Columns>
                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center">
                                                                <HeaderTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="HeaderSelectCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                        <span></span>
                                                                    </label>

                                                                </HeaderTemplate>
                                                                <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                                <ItemTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                        <span></span>
                                                                    </label>

                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="IdNo" HeaderText="ID No" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="RollNo" HeaderText="Roll No" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="DivDept" HeaderText="Class" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="Title" HeaderText="Name" ItemStyle-Width="80%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div id="StudentEmployeeDiv" runat="server">

                                        <div class="controlLabelWidth col-md-12 bg-lghtgrey radiobtn ">
                                            <asp:RadioButtonList ID="SourceTypeRadioButtonList" runat="server" RepeatDirection="Horizontal"
                                                OnSelectedIndexChanged="SourceTypeRadioButtonList_OnSelectedIndexChanged" AutoPostBack="true">
                                                <asp:ListItem Text="Student" Value="2003" Selected="True"></asp:ListItem>
                                                <asp:ListItem Text="Employee" Value="95"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </div>


                                        <asp:Panel ID="StudentSearchPanel" runat="server">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StudentIdNoLabel" runat="server" Text="Id No" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 display-flex">
                                                    <asp:TextBox ID="StudentIdNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" Width="150px" runat="server" MaxLength="200" AutoPostBack="true"
                                                        OnTextChanged="StudentIdNoTextBox_TextChanged">
                                                    </asp:TextBox>
                                                    <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="StudentIdNoImageButton"
                                                        ImageUrl="~/Images/icons/icon_find.gif" runat="server" />
                                                    <asp:HiddenField ID="SourceIdHiddenField" runat="server" />
                                                    <%--<asp:HiddenField ID="ClassIdHiddenField" runat="server" />--%>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StudentNameLabel" runat="server" Text="Name"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="StudentNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ClassLabel" runat="server" Text="Class"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="ClassTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                </div>
                                            </div>
                                             <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="UserWiseRemarkLabel" runat="server" Text="Activity Remark"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="UserWiseRemarkTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" TextMode="MultiLine"></asp:TextBox>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                        <div class="cBoth"></div>
                                        <br />
                                        <asp:Panel ID="EmployeeSearchPanel" runat="server" Visible="false" Style="margin-bottom: 15px">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="EmployeeIdNoLabel" runat="server" Text="Code" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 display-flex">
                                                    <asp:TextBox ID="EmployeeIdNoTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                        MaxLength="200" AutoPostBack="true" OnTextChanged="EmployeeIdNoTextBox_TextChanged">
                                                    </asp:TextBox>
                                                    <asp:ImageButton SkinID="FindImage" ToolTip="Employee Search" ID="EmployeeIdNoImageButton"
                                                        runat="server" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="EmployeeNameLabel" runat="server" Text="Name"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="EmployeeNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                </div>
                                            </div>
                                            <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:TextBox ID="DepartmentTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>

                                    <div id="Div1" class="himssuHeader6WireBox col-md-12 pb5 " runat="server"
                                        visible="true">
                                        <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server" visible="True">
                                            <%-- <div class="headerText">
                                                            <header>
                                                                <asp:Label ID="GridViewLabel" Text="Activity Participant" runat="server" />
                                                            </header>
                                                        </div>
                                                        <div class="leftdiv">
                                                        </div>--%>
                                            <div class="himsBoxTitle">
                                                <%--<div class="fRight">
                                   <uc1:GridViewPager ID="ActivityParticipantMasterGridViewPager" Visible = "false" runat="server"  ParentGridView="ActivityParticipantMasterGridView" 
                                      OnFirstRecordClick="ActivityParticipantMasterGridViewPager_FirstRecordClick"
                                     OnLastRecordClick="ActivityParticipantMasterGridViewPager_LastRecordClick" OnNextRecordClick="ActivityParticipantMasterGridViewPager_NextRecordClick"
                                     OnPrevRecordClick="ActivityParticipantMasterGridViewPager_PrevRecordClick" OnTextBoxValueChange="ActivityParticipantMasterGridViewPager_TextBoxValueChange" /> 
                            </div>--%>
                                            </div>
                                            <div class="fRight">
                                                <asp:Button ID="AddStudentButton" runat="server" class="btn btn-add fas"
                                                    OnClick="AddStudentButton_Click" SkinID="0" Text="&#xf067; Add" Visible="false" />
                                            </div>
                                            <div class="fRight">
                                                <asp:Button ID="AddButton" runat="server" SkinID="0" class="btn btn-add fas" OnClick="AddButton_Click"
                                                    Text="&#xf067; Add" />
                                            </div>
                                        </div>
                                        <div class="himsBoxContent ">
                                            <%--<div id="DivHeader" style="vertical-align: top; width: 100%;">
                        <asp:Table ID="ActivityParticipantMasterGridViewTable" runat="server" CellPadding="0" CellSpacing="0"
                            BackColor="#E8E8E8" ForeColor="Black" Width="100%" GridLines="Both" CssClass="GridViewTableRow">
                        </asp:Table>
                    </div> --%>
                                            <%--<div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="False">
                                                            </div>--%>
                                            <%-- <div id="DivData" class="Container" style="vertical-align: top; height: 250px; width: 99.6%;">--%>
                                            <div class="table-responsive">
                                                <asp:GridView ID="ActivityParticipantMasterGridView" runat="server"
                                                    CssClass="table table-striped table-bordered table-hover" AutoGenerateColumns="False" EmptyDataText="No Records Found !!"
                                                    AllowPaging="false" ShowHeader="true" DataKeyNames="ActivityId,Index,SourceTypeId,SourceId">
                                                    <Columns>
                                                        <asp:TemplateField HeaderText="Type" ItemStyle-Width="10%" ItemStyle-Wrap="true"
                                                            HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="SourceTypeLabel" runat="server" Text='<%# Bind("SourceType") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="ID No / Code" ItemStyle-Width="20%" ItemStyle-Wrap="true"
                                                            HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="SourceCodeLabel" runat="server" Text='<%# Bind("SourceCode") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="43%" ItemStyle-Wrap="true"
                                                            HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="SourceNameLabel" runat="server" Text='<%# Bind("SourceName") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                         <asp:TemplateField HeaderText="Activity Remark" ItemStyle-Width="43%" ItemStyle-Wrap="true"
                                                            HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="UserWiseRemarkLabel" runat="server" Text='<%# Bind("UserWiseRemark") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Class / Department" ItemStyle-Width="20%" ItemStyle-Wrap="true"
                                                            HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="DivDeptLabel" runat="server" Text='<%# Bind("DivDept") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField ShowHeader="true" HeaderText="Delete" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_Click"
                                                                    ImageUrl="~/Images/icons/icon_delete.gif" ToolTip="Delete" />
                                                            </ItemTemplate>
                                                            <ItemStyle HorizontalAlign="Center" Width="7%" />
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <PagerSettings Visible="False" />
                                                </asp:GridView>
                                            </div>
                                            <%--</div>--%>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <%--     </div>--%>
                </div>

                <%--HEDP History Ends Here--%>
            </div>

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