<%@ page title="Employee Search" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Communication_MyMessages, App_Web_fsj4wahm" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
               
                            <div class="dashBoardLeftCont" valign="top" runat="server" id="ScreenGroupTableId">
                                <div class="himssuHeader3WireBox">
                                    <table>
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl1" ScreenGroupId="114"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <div class="himssuHeader5WireBox card card-box">
                                    <div class="himsBoxHeader card-head">
                                        <asp:Panel ID="SearchHeaderPanel" runat="server" meta:resourcekey="SearchHeaderPanelResource1">
                                            
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                    <i class="fas fa-comment"></i>
                                                    <asp:Label ID="SearchHeaderLabel" runat="server" Text="My Messages"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromDateLabel" runat="server" Text="From Date" Visible="True"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl" Visible="True"
                                                    runat="server" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToDateLabel" runat="server" Text="To Date" Visible="True"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="True" ID="ToDatePickerControl" Visible="True"
                                                    runat="server" />
                                            </div>
                                        </div>
                                       
                                        <div class="alignCenter pTop5 col-md-12 center">
                                            <asp:Button ID="SearchButton" runat="server" Text="&#xf002; Search"
                                                OnClick="SearchButton_Click" SkinID="0" class="btn-search btn fas" />
                                            <asp:Button ID="ClearButton" runat="server" Text="&#xf0e2; Clear"
                                                OnClick="ClearSearch_Click" SkinID="0" class="btn-reset btn fas" />
                                        </div>
                                       
                                      
                                                            
                                          <div class="himsBoxHeader card-head inner" style="display:none">
                                                 <%-- <div class="gridHeaderText">
                                                 <header>
                                                       <asp:Label ID="GridViewLabel" Text="My Message List" runat="server" Font-Bold="true" />
                                                  </header>
                                                                
                                          </div>           --%>
                                          </div>
                                                       
                                        <div class="himsBoxContent card-body">
                                            <div class="contentHolder">
                                                <div id="EmployeeProfileGridViewDiv" runat="server" visible="false">
                                                   
                                                    <div class="himssuHeader7WireBox col-md-12">
                                                        <div class="himsBoxContent table-responsive">
                                                            <asp:GridView ID="MyMessagesGridView" runat="server" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" EmptyDataText="No records available for the seacrh criteria!"
                                                                ShowHeader="True">
                                                                <Columns>
                                                                    <asp:BoundField DataField="EventName" HeaderStyle-HorizontalAlign="Left" HeaderText="Event" ItemStyle-Width="15%" />
                                                                    <asp:BoundField DataField="AlertMode" HeaderStyle-HorizontalAlign="Left" HeaderText="Alert Mode" ItemStyle-Width="10%" />
                                                                    <asp:BoundField DataField="AlertMessage" HeaderStyle-HorizontalAlign="Left" HeaderText="Message" ItemStyle-Width="60%" />
                                                                    <asp:BoundField DataField="CreatedDateTime" HeaderStyle-HorizontalAlign="Left" HeaderText="DateTime" ItemStyle-Width="15%" />
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                     </div>
                                           
                                    </asp:Panel>
                                </div>
                              
                            </div>
                        </tr>
                    </table>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%-- <script data-main="../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>