<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MobileMasterPage.master" autoeventwireup="true" inherits="Pages_Communication_MQueryList, App_Web_u5lsezkm" title="Query List" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="padding-top-header">
                <%-- <div class="col-md-3">
                        <section class="content-header" style="margin-bottom: 5px; margin-right: 0px; padding-right: 0px !important; padding-left: 0px;">
                             <div style="padding-right:0;">
                                 <asp:Label runat="server" ID="ScreenNamelabel" Text="" Font-Bold="true" CssClass="screennamelabel"/>
                             </div>
                        </section>
                    </div>--%>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader5WireBox">
                        <div class="himsBoxHeader page-bar col-xl-12 col-md-12 col-sm-12 padd-0">
                            <asp:Panel ID="Panel1" runat="server">
                                <div class="width-100 border-bottom-inline">
                                    <div class=" pull-left  main-topic">
                                        <asp:Label ID="Label3" runat="server" CssClass="page-title" Text="Query List"></asp:Label>
                                    </div>
                                </div>

                            </asp:Panel>
                        </div>
                        <div class="card-box card inner col-md-12 col-xl-12 col-sm-12">
                            <div class="himsBoxContent  card-body padd-0">
                                <asp:Panel ID="DetailPanel" runat="Server">
                                    <div class="contentHolder">
                                        <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                            <div class="outerBox pTop5 col-md-6 col-xl-3 col-sm-12">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="QueryCategoryLabel" runat="server" Text="Query Category"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="QueryCategoryDropDownList" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                        AutoPostBack="false">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-6 col-xl-3 col-sm-12">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StatusLabel" runat="server" Text="Status"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="StatusDropDownList" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>

                                            <div class="alignCenter col-md-12 col-xl-12 col-sm-12 pTop15 pb15">
                                                <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click" SkinID="0" CssClass="btn-search btn fas" />
                                                <asp:Button ID="ResetButton" runat="server" Text="&#xf12d; Clear" SkinID="0" CssClass="btn-clear btn fas" OnClick="ResetButton_Click" />
                                                <asp:Button ID="NewQueryButton" Text="&#xf055; New Query" runat="Server" SkinID="0" CssClass="btn-new btn fas" OnClick="NewQueryButton_Click" />
                                            </div>

                                        </asp:Panel>
                                        <div id="Div1" class="himssuHeader7WireBox col-md-12 col-md-12 col-xl-12 col-sm-12" runat="server">
                                            <div id="ReasonMasterDetailDiv" visible="false" runat="server">

                                                <div class="himsBoxContent table-pager-bordered">

                                                    <div id="Div5" runat="server" class="table-responsive" visible="false">
                                                        <asp:GridView ID="QueryListGridView" runat="server" AutoGenerateColumns="False"
                                                            OnRowDataBound="QueryListGridView_RowDataBound" OnPageIndexChanging="QueryListGridView_PageIndexChanging"
                                                            AllowPaging="true" PageSize="10" SkinID="" ShowHeader="true" PagerSettings-Visible="false"
                                                            DataKeyNames="QueryId" CssClass="table table-striped table-hover table-bordered">
                                                            <Columns>
                                                                <%-- <asp:TemplateField HeaderText="CreatedDate" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="CreatedDate" runat="server" Text='<%# Bind("CreatedDateTime","{0:d}") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>--%>
                                                                <asp:TemplateField HeaderText="Name" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="ViewLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click" Text='<%# Bind("Title") %>'>
                                                                        </asp:LinkButton>
                                                                        <%--<asp:Label ID="NameLabel" runat="server" </asp:Label>--%>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="QueryCategory" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="QueryCategoryLabel" runat="server" Text='<%# Bind("QueryCategoryMaster") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <%-- <asp:TemplateField HeaderText="Remark" ItemStyle-Width="15%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="RemarkLabel" runat="server" Text='<%# Bind("Remark") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>--%>
                                                                <%-- <asp:TemplateField HeaderText="View" SortExpression="View"
                                                                                    HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="ViewLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                            Text="View" CausesValidation="false"></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>--%>
                                                            </Columns>
                                                            <PagerSettings Mode="NumericFirstLast" Visible="True" />
                                                            <PagerStyle CssClass="pagination" BackColor="#284775" ForeColor="White" BorderWidth="0" HorizontalAlign="Right" />
                                                        </asp:GridView>
                                                    </div>

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

                </div>

            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../JavaScript/rjs/encrypt/mempprofile-encrypt" src="../../JavaScript/rjs/require.js"></script>
</asp:Content>
