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

<%@ 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/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="SMSHistorySearchUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont" valign="top">
                    <div class="himssuHeader3WireBox">
                        <table width="0px" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="124"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader5WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="SearchHeaderPanel" runat="server" meta:resourcekey="SearchHeaderPanelResource1">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="SearchHeaderLabel" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                            <div class="himsBoxContent card-body">
                                <div class="contentHolder">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="OSTypeLabel" Text="OSType" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="OSTypeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="EventLabel" runat="server" Text="Event"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="EventDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SourceTypeLabel" runat="server" Text="Source Type"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="SourceTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ReceiverSourceTypeLabel" runat="server" Text="Receiver Source Type"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="ReceiverSourceTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="ReceiverSourceTypeDropDownList_SelectedIndexChanged">
                                                <asp:ListItem Value="0">- ALL -</asp:ListItem>
                                                <asp:ListItem Value="2003">Student</asp:ListItem>
                                                <asp:ListItem Value="95">Employee</asp:ListItem>
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                        <div class="outerBox pTop5 col-md-3" runat="server" id="CodeDiv" visible="false">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="IDNoLabel" runat="server" Text="Code"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="IDNoTextbox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server" SkinID="CustomWidthTextbox"></asp:TextBox>
                                            </div>
                                        </div>


                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="FromDateLabel" runat="server" Text="From Date"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePicker" runat="server" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ToDateLabel" runat="server" Text="To Date"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePicker" runat="server" />
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <div class="alignCenter pTop5">
                                        <asp:Button ID="SearchButton" runat="server" OnClick="SearchButton_Click"
                                            SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search" />
                                        <asp:Button ID="SearchHistoryButton" runat="server" OnClick="SearchHistoryButton_Click"
                                            SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search History" />
                                        <asp:Button ID="ClearButton" runat="server" Text="&#xf0e2; Reset" CssClass="btn-reset btn fas" OnClick="ClearSearchControls_Click"
                                            meta:resourcekey="ClearButtonResource1" SkinID="0" />
                                        <asp:Button ID="ExportToExcelButton" Text="&#xf093; Export To Excel" CssClass="btn btn-examcommon fas" runat="Server" SkinID="0"
                                            OnClick="ExportToExcelButton_OnClick" />
                                    </div>
                                    <div class="spacer">
                                        <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image7Resource1" />
                                    </div>
                                    
                                    <div class="himssuHeader1WireBox col-md-12">
                                        <div id="SMSHistoryListGridDiv" runat="server">
                                            <div class="spacer">
                                                <asp:Image ID="Image6" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image6Resource1" />
                                            </div>
                                            <div id="SMSHistoryListGridViewPagerDiv" runat="server">
                                                <div class="himsBoxTitle">
                                                </div>
                                            </div>
                                            <div class="himssuHeader1WireBox col-md-15" runat="server" id="countdiv" visible="false">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="CountLabel" runat="server" Text="Count : "></asp:Label>
                                                    <asp:Label ID="Count" runat="server"></asp:Label>
                                                </div>
                                            </div
                                            <div class="himsBoxContent">
                                                <div id="Div4" runat="server" class="table-responsive">
                                                    <asp:GridView runat="server" ID="AppNotificationListGridView" Width="100%" AutoGenerateColumns="False"
                                                        EmptyDataText="No records available for the seacrh criteria!" AllowPaging="false"
                                                        PageSize="10" DataKeyNames="Id" ShowHeader="True" CssClass="table table-striped table-bordered table-hover"
                                                        meta:resourcekey="SMSHistoryListGridViewResource1">
                                                        <Columns>

                                                            <asp:BoundField DataField="Date" HeaderText="Date" ItemStyle-Width="13%"
                                                                HeaderStyle-HorizontalAlign="Left" DataFormatString="{0:dd/MM/yyyy hh:mm}" />
                                                            <asp:BoundField DataField="OSType" HeaderText="OS Type" ItemStyle-Width="7%"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="SourceType" HeaderText="Source Type" ItemStyle-Width="7%"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="Code" HeaderText="Code" ItemStyle-Width="7%"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="EventName" HeaderText="EventName" ItemStyle-Width="13%"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="MessageTitle" HeaderText="Message Title" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="Message" HeaderText="Message" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </asp:Panel>
                        <div class="spacer">
                            <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image7Resource1" />
                        </div>
                    </div>
                </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>
