<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hostel_HostelEventSchedule, App_Web_g25tbc5i" 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/Hostel/HostelDetailBoxControl.ascx" TagName="HostelControl" TagPrefix="Hostel" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>

            <!-- ContentPlaceHolder Box Starts -->

            <div id="divContentPage" class="divcontentpagemargin">
                <div class="himssuHeader3WireBox">
                    <div class="himsBoxContent">
                        <div class="leftUlMenu">
                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="175"
                                Visible="true" runat="server" />
                        </div>
                    </div>
                </div>
            </div>
            <div class="whiteboxpaddingleft row">
              <Hostel:HostelControl ID="HostelUserControl" runat="server" Visible="true" />
                <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="SearchPanel"
                                                        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"
                                        Text="&#xf067; Add" class="btn btn-add fas" />
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                    <div class="himsBoxContent card-body ">
                        <asp:Panel ID="SearchPanel" runat="Server">
                            <div class="contentHolder">

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="SearchTitleLabel" Text="Name" runat="server"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="SearchTitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            SkinID="CustomWidthTextBox" runat="Server" MaxLength="100"></asp:TextBox>
                                    </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="outerBox11 pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="Label1" runat="server" Text="Hostel Event Type"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="EventSearchDropdownlist" runat="server" onmouseleave="showHideTooltip()" class="form-control"
                                            onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="alignCenter pTop5 col-md-12">
                                    <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" />
                                </div>

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


                                        <div class="himsBoxContent ">

                                            <div id="Div5" runat="server" class="table-responsive" visible="false">
                                                <asp:GridView ID="EventScheduleGridView" runat="server" AutoGenerateColumns="False"
                                                    ShowHeader="true" SkinID="" PagerSettings-Visible="false" CssClass="table table-striped table-bordered table-hover"
                                                    EmptyDataText="No Records Found !!" DataKeyNames="HostelEventScheduleId" OnRowDataBound="EventScheduleGridView_RowDataBound"
                                                    OnPageIndexChanging="EventScheduleGridView_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="Id" HeaderText="Id" ItemStyle-Width="7%" Visible="false"/>--%>
                                                        <asp:BoundField DataField="Title" HeaderText="Name" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="FromDate" HeaderText="From Date" DataFormatString="{0:dd/MM/yyyy}"
                                                            ItemStyle-Width="11%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="ToDate" HeaderText="To Date" DataFormatString="{0:dd/MM/yyyy}"
                                                            ItemStyle-Width="11%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="HostelEventType" HeaderText="Hostel Event Type" ItemStyle-Width="40%"
                                                            HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:TemplateField HeaderText="Holiday" ItemStyle-Width="10%" SortExpression="IsHoliday"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="IsHolidayLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsHoliday").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="CommonForAll" ItemStyle-Width="10%" SortExpression="IsCommonForAll"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="IsCommonForAllLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsCommonForAll").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Enrollment" ItemStyle-Width="10%" SortExpression="IsEnrollment"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:Label ID="IsEnrollmentLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsEnrollment").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                    <%--<asp:CheckBox ID="ImportCheckBox" runat="server" OnCheckedChanged="ImportCheckBox_CheckedChanged" Text="Import Hostel Event" AutoPostBack="true" />
                                    <br />
                                    <div runat="server" id="ImportDiv" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ImportFromLabel" runat="server" Text="Import Hostel Event From"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ImportFromDropDownList" runat="server" class="form-control" OnSelectedIndexChanged="ImportFromDropDownList_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList>
                                            </div>


                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="BatchLabel" runat="server" Text="Select Batch"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="BatchDropDownList" runat="server" class="form-control"></asp:DropDownList>&nbsp;&nbsp;
                                            </div>

                                        </div>
                                        <div class="outerBox pTop15 col-md-3">
                                            <asp:Button ID="ImportFromButton" runat="server" Text="&#xf093; Import" OnClick="ImportFromButton_Click" SkinID="0" Class="btn-examcommon btn fas" />
                                        </div>
                                        <%-- 
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                            </div>
                                            <div class="fLeft pRight5">
                                            </div>
                                        </div>--%>
                                    </div>

                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                </div>


                <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                    <div class="himsBoxHeader card-head" id="Div4" runat="server" visible="True">
                        <div class="leftdiv">
                        </div>
                        <div class="himsBoxTitle">
                            <div class="headerText fLeft">
                                <header>
                                    <i class="fas fa-cog"></i>
                                    <asp:Label ID="Label4" Text="Maintainance" runat="server" />
                                </header>
                            </div>
                        </div>
                        <div class="fRight mt-27">

                            <div id="NumberOfRecordDiv" class="display-flex pagination" 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>

                                <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                &nbsp;
                                <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                &nbsp;
                                <asp:Label ID="ofLabel" Text="of" runat="server" />
                                &nbsp;  
                                <asp:Label ID="TotalRecord" runat="server" />
                                &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>
                            </div>
                            &nbsp; &nbsp; 
                                        <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                            class="btn btn-back fas" Text="&#xf30a; Back" />

                        </div>
                    </div>
                    <div class="himsBoxContent card-body ">
                        <asp:Panel ID="DetailPanel" runat="Server">
                            <div class="contentHolder">
                                <div class="tableContainer">
                                    <cc1:TabContainer ID="EventScheduleTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                        meta:resourcekey="EventScheduleTabContainerResource1" ActiveTabIndex="0">
                                        <cc1:TabPanel ID="EventScheduleDetails" runat="server" HeaderText="Hostel Event Schedule">
                                            <HeaderTemplate>

                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-calendar"></i>&nbsp;Hostel Event Schedule </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="TitleLabel" runat="server" Text="Name" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="TitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                            <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                                        </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" runat="server" Text="Remark"></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="outerBox11 pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Eventtypelabel" runat="server" Text="Hostel Event Type" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="EventTypeMasterSearchDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" class="form-control">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsHolidayCheckBox" runat="server" Text="Holiday" />
                                                            <%--<asp:Label ID="IsHolidayLabel" runat="server" ></asp:Label>--%>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3" runat="server" visible="False">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsCommonForAllCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="IsCommonForAllCheckBox_OnCheckedChanged" Text="CommonForAll" />
                                                            <%--<asp:Label ID="IsCommonForAllLabel" runat="server" Text="CommonForAll"></asp:Label>--%>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsEnrollmentCheckBox" runat="server" Text="Enrollment" />
                                                            <%--<asp:Label ID="IsEnrollmentLabel" runat="server" Text="Enrollment"></asp:Label>--%>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="ApplyOrganiztionCheckBox" runat="server"
                                                                OnCheckedChanged="ApplyOrganiztionCheckBox_OnCheckedChanged" Text="Apply Organization"
                                                                AutoPostBack="True" />
                                                            <%--<asp:Label ID="Label2" runat="server" Text="Apply Organization"></asp:Label>--%>
                                                        </div>


                                                        <div class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0" id="DivForOrg" runat="server" visible="False">
                                                            <asp:CheckBoxList ID="ApplyOrganizationCheckBoxList" runat="server">
                                                            </asp:CheckBoxList>
                                                        </div>

                                                    </div>

                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel ID="EventAssign" ClientIDMode="Static" runat="server"
                                            HeaderText="Event Assign">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-calendar"></i>&nbsp;Hostel Event Assign </a></li>
                                                </ul>

                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder col-md-12 padd-0">

                                                    <div id="Div1" class="himssuHeader6WireBox col-md-6" runat="server"
                                                        visible="true">
                                                        <%--<div class="himsBoxHeader card-head inner" id="Div8" runat="server" visible="True">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="headerText ">
                                                                    <header>
                                                                        <asp:Label ID="Label6" Text="Class (Student)" runat="server" />
                                                                    </header>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent pTop5">
                                                            <div class="himssuHeader7WireBox col-md-12 table-responsive">
                                                                <asp:GridView ID="DivisionGridView" runat="server" AutoGenerateColumns="False"
                                                                    EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered"
                                                                    AllowPaging="false" ShowHeader="true" DataKeyNames="SourceId">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderStyle-HorizontalAlign="Center">
                                                                            <HeaderTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">

                                                                                    <asp:CheckBox ID="HeaderIsObsoleteCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                    <span></span>
                                                                                </label>
                                                                            </HeaderTemplate>
                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">

                                                                                    <asp:CheckBox ID="IsObsoleteCheckBox" runat="server" Checked='<%# Eval("IsObsolete") %>' />
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:BoundField DataField="DivDept" HeaderText="Class" ItemStyle-Width="93%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    </Columns>
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>--%>
                                                        
                                                     <div class="himsBoxHeader card-head inner" id="Div6" runat="server" visible="True">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="headerText ">
                                                                    <header>
                                                                        <asp:Label ID="Label2" Text="Hostel Room (Student)" runat="server" />
                                                                    </header>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent pTop5">
                                                            <div class="himssuHeader7WireBox col-md-12 table-responsive">
                                                                <asp:GridView ID="HostelRoomGridView" runat="server" AutoGenerateColumns="False"
                                                                    EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered"
                                                                    AllowPaging="false" ShowHeader="true" DataKeyNames="SourceId">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderStyle-HorizontalAlign="Center">
                                                                            <HeaderTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">

                                                                                    <asp:CheckBox ID="HeaderIsObsoleteCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                    <span></span>
                                                                                </label>
                                                                            </HeaderTemplate>
                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">

                                                                                    <asp:CheckBox ID="IsObsoleteCheckBox" runat="server" Checked='<%# Eval("IsObsolete") %>' />
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:BoundField DataField="DivDept" HeaderText="Hostel Rooms" ItemStyle-Width="93%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    </Columns>
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>

                                                  <%--  <div id="Div6" class="himssuHeader6WireBox col-md-6" runat="server"
                                                        visible="true">
                                                        <div class="himsBoxHeader card-head inner" id="Div7" runat="server" visible="True">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="headerText">
                                                                    <header>
                                                                        <asp:Label ID="Label5" Text="Department (Employee)" runat="server" />
                                                                    </header>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent pTop5">
                                                            <div class="himssuHeader7WireBox col-md-12 table-responsive">
                                                                <asp:GridView ID="DepartmentGridView" runat="server" AutoGenerateColumns="False"
                                                                    EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered"
                                                                    AllowPaging="false" ShowHeader="true" DataKeyNames="SourceId">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderStyle-HorizontalAlign="Center">
                                                                            <HeaderTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">

                                                                                    <asp:CheckBox ID="HeaderIsObsoleteCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                    <span></span>
                                                                                </label>
                                                                            </HeaderTemplate>
                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">

                                                                                    <asp:CheckBox ID="IsObsoleteCheckBox" runat="server" Checked='<%# Eval("IsObsolete") %>' />
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:BoundField DataField="DivDept" HeaderText="Department" ItemStyle-Width="93%"
                                                                            HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    </Columns>
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>--%>
                                                    </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                      <%--  <cc1:TabPanel ID="EventAttendance" ClientIDMode="Static" runat="server"
                                            HeaderText="Event Attendance">
                                            <HeaderTemplate>

                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-calendar"></i>&nbsp;Hostel Event Attendance </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ClassLabel" Text="Class" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="">
                                                            <asp:DropDownList ID="ClassDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                OnSelectedIndexChanged="ClassDropDownList_OnSelectedIndexChanged" class="form-control">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>

                                                    <div class="alignCenter pTop5 pb15 col-md-12">
                                                        <asp:Button ID="PresentAllClassButton" runat="server" Text="&#Xf245; Present All Class" OnClick="PresentAllClassButton_Click" SkinID="0" CssClass="btn btn-select fas " />
                                                        <asp:Button ID="PresentSelectedClassButton" runat="server" Text="&#Xf245; All Present Selected Class"
                                                            OnClick="PresentSelectedClassButton_Click" SkinID="0" CssClass="btn btn-select fas " />
                                                        <asp:Button ID="AbsentSelectedClassButton" runat="server" Text="&#Xf245; All Absent Selected Class"
                                                            OnClick="AbsentSelectedClassButton_Click" SkinID="0" CssClass="btn btn-select fas " />
                                                    </div>

                                                    <div id="EventAttendanceStudentDiv" runat="server" visible="False" class="pTop5">
                                                        <div class="himssuHeader6WireBox box-body box-solid  pTop5">
                                                            <div class="himsBoxHeader card-head inner" id="StudentGridViewPagerDiv" runat="server" visible="False">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="gridHeaderText">
                                                                        <header>
                                                                            <asp:Label ID="StudentGridViewLabel" Text="Student List" runat="server" />
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="himsBoxContent  gridviewfont">
                                                                <div id="Div3" runat="server" class="himssuHeader7WireBox col-md-12 table-responsive">
                                                                    <asp:GridView ID="EventAttendanceStudentGridView" runat="server" AutoGenerateColumns="False"
                                                                        EmptyDataText="No Records Found !!" DataKeyNames="SourceId" CssClass="table table-striped table-bordered"
                                                                        OnRowDataBound="EventAttendanceStudentGridView_RowDataBound">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Select">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="SHeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                            Visible="true" OnCheckedChanged="SHeaderSelectCheckBox_checked" />

                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="5%" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="SSelectCheckBox" AutoPostBack="true" Checked='<%# Eval("IsObsolete") %>'
                                                                                            OnCheckedChanged="SSelectCheckBox_Checked" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:BoundField DataField="RollNo" HeaderText="Roll No">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Code" HeaderText="Code">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="15%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Name" HeaderText="Name">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="30%" />
                                                                            </asp:BoundField>
                                                                            <asp:TemplateField HeaderText="Student Present">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="HeaderIsSelfPresentCheckBox" runat="server"
                                                                                            AutoPostBack="true" OnCheckedChanged="HeaderIsSelfPresentCheckBox_Checked" />
                                                                                        <span></span>
                                                                                        Student Present
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="10%" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="SelfPresentCheckBox" Checked='<%# Eval("IsSelfPresent") %>' runat="server"
                                                                                            Enabled="false" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Father Present">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="HeaderIsFatherPresentCheckBox" runat="server"
                                                                                            AutoPostBack="true" OnCheckedChanged="HeaderIsFatherPresentCheckBox_Checked" />
                                                                                        <span></span>
                                                                                        Father Present
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="10%" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="FatherPresentCheckBox" Checked='<%# Eval("IsFatherPresent") %>'
                                                                                            runat="server" Enabled="false" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Mother Present">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="HeaderIsMotherPresentCheckBox" runat="server"
                                                                                            AutoPostBack="true" OnCheckedChanged="HeaderIsMotherPresentCheckBox_Checked" />
                                                                                        <span></span>
                                                                                        Mother Present
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="10%" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="MotherPresentCheckBox" Checked='<%# Eval("IsMotherPresent") %>'
                                                                                            runat="server" Enabled="false" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Guardian Present">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="HeaderIsGuardianPresentCheckBox" runat="server"
                                                                                            AutoPostBack="true" OnCheckedChanged="HeaderIsGuardianPresentCheckBox_Checked" />
                                                                                        <span></span>
                                                                                        Guardian Present
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="10%" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="GuardianPresentCheckBox" Checked='<%# Eval("IsGuardianPresent") %>'
                                                                                            runat="server" Enabled="false" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <%--<div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="DepartmentLabel" Text="Department" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="">
                                                            <asp:DropDownList ID="DepartmentDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                OnSelectedIndexChanged="DepartmentDropDownList_OnSelectedIndexChanged" class="form-control">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>

                                                    <div class="alignCenter pTop5 col-md-12">
                                                        <asp:Button ID="PresentAllDepartmentButton" runat="server" Text="&#Xf245; Present All Department"
                                                            OnClick="PresentAllDepartmentButton_Click" SkinID="0" CssClass="btn btn-select fas " />
                                                        <asp:Button ID="PresentSelectedDepartmentButton" runat="server" Text="&#Xf245; All Present Selected Department"
                                                            OnClick="PresentSelectedDepartmentButton_Click" SkinID="0" CssClass="btn btn-select fas " />
                                                        <asp:Button ID="AbsentSelectedDepartmentButton" runat="server" Text="&#Xf245; All Absent Selected Department"
                                                            OnClick="AbsentSelectedDepartmentButton_Click" SkinID="0" CssClass="btn btn-select fas " />
                                                    </div>

                                                    <div id="EventAttendanceEmployeeDiv" runat="server" visible="False" class="pTop5">
                                                        <div class="himssuHeader6WireBox col-md-12  pTop5">
                                                            <div class="himsBoxHeader card-head inner" id="EmployeeGridViewPagerDiv" runat="server" visible="False">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="gridHeaderText">
                                                                        <header>
                                                                            <asp:Label ID="EmployeeGridViewLabel" Text="Employee List" runat="server" />
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="himsBoxContent">
                                                                <div id="Div9" runat="server" class="himssuHeader7WireBox col-md-12 table-responsive">
                                                                    <asp:GridView ID="EventAttendanceEmployeeGridView" runat="server" AutoGenerateColumns="False"
                                                                        EmptyDataText="No Records Found !!" DataKeyNames="SourceId" CssClass="table table-striped table-bordered"
                                                                        OnRowDataBound="EventAttendanceEmployeeGridView_RowDataBound">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Select">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="EHeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                            Visible="true" OnCheckedChanged="EHeaderSelectCheckBox_checked" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="5%" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="ESelectCheckBox" runat="server" Checked='<%#Eval("IsObsolete") %>'
                                                                                            AutoPostBack="true" OnCheckedChanged="ESelectCheckBox_Checked" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:BoundField DataField="Code" HeaderText="Code">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="15%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField DataField="Name" HeaderText="Name">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="70%" />
                                                                            </asp:BoundField>
                                                                            <asp:TemplateField HeaderText="Present">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="HeaderPresentCheckBox" runat="server" AutoPostBack="true"
                                                                                            OnCheckedChanged="HeaderPresentCheckBox_Checked" />
                                                                                        <span></span>
                                                                                        Present
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="10%" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="SelfPresentCheckBox" Checked='<%#Eval("IsSelfPresent") %>' runat="server"
                                                                                            Enabled="false" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>--%>
                                    </cc1:TabContainer>
                                </div>

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