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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="EventSearchUpdatePanel" runat="server">
        <ContentTemplate>

            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont" valign="top" runat="server" id="ScreenGroupTableId">
                    <div class="himssuHeader3WireBox">
                        <%--<div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                            <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>    
                                            </div>
                                        </div>
                                    </div>--%>

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

                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader1WireBox card card-box">
                        <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-list-ul"></i>
                                        <asp:Label ID="Label4" Text="My Event List"
                                            runat="server" />
                                    </header>
                                </div>
                            </div>
                        </div>

                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">

                                    <div class="himssuHeader6WireBox col-md-12">
                                        <div class="himsBoxHeader card-head inner" id="EventListGridViewPagerDiv" runat="server" visible="true">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <%--  <div class="gridHeaderText">
                                                <header>
                                                <asp:Label ID="Label1" Text="List" runat="server"/>
                                                </header>
                                            </div>--%>
                                                <div class="fRight mt-27">
                                                    <uc1:GridViewPager ID="EventListGridViewPager" ParentGridView="EventListGridView"
                                                        runat="server" OnFirstRecordClick="EventListGridViewPager_FirstRecordClick" OnLastRecordClick="EventListGridViewPager_LastRecordClick"
                                                        OnNextRecordClick="EventListGridViewPager_NextRecordClick" OnPrevRecordClick="EventListGridViewPager_PrevRecordClick"
                                                        OnTextBoxValueChange="EventListGridViewPager_TextBoxValueChange" />
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent table-responsive">
                                            <%--<div id="DivHeader" style="vertical-align: top; width: 100%;">
                                            <asp:Table ID="EventListGridViewTable" runat="server" CellPadding="0" CellSpacing="0"
                                                BackColor="#E8E8E8" ForeColor="Black" Width="100%" GridLines="Both" CssClass="GridViewTableRow">
                                            </asp:Table>
                                        </div>--%>
                                            <%--<div id="EventListGridViewMessageDiv" class="himsBoxContentMsg" runat="server"
                                            visible="False">
                                        </div>--%>
                                            <%-- <div id="DivData" class="Container" style="vertical-align: top; height: 215px; width: 99.6%;">--%>
                                            <%--Mantis Id:-30697 , Remove AllowPaging="True" PageSize="10" attributes from below GridView--%>
                                            <asp:GridView runat="server" ID="EventListGridView" AutoGenerateColumns="False"
                                                EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="EventListGridView_RowDataBound"
                                                DataKeyNames="Id,EventScheduleId"
                                                ShowHeader="true" meta:resourcekey="EventListGridViewResource1" CssClass="table table-striped table-bordered table-hover">
                                                <Columns>
                                                    <%--<asp:TemplateField HeaderText="User Id" Visible="false">
                                                        <ItemTemplate>
                                                            <asp:Label ID="UserIdLabel" runat = "server" Text='<%# Bind("UserId") %>'></asp:Label>  
                                                        </ItemTemplate>
                                                    </asp:TemplateField>--%>
                                                    <asp:BoundField DataField="Title" HeaderText="Name" ItemStyle-Width="70%" HeaderStyle-HorizontalAlign="Left" />
                                                    <%--<asp:BoundField DataField="Remark" HeaderText="Remark" ItemStyle-Width="45%" />--%>
                                                    <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 ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="ViewLinkButton" runat="server" CommandName="Select" OnClick="ViewLinkButton_Click"
                                                                Text="View" CausesValidation="false"></asp:LinkButton>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                            <%--</div>--%>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>

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