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

<%@ 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" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="updPnlSearchGridView" RenderMode="Inline" UpdateMode="Conditional"
        runat="server">
        <ContentTemplate>
            <div id="divContentPage">
                <!-- ContentPlaceHolder Box Starts -->

                <%-- EMRD panel Ends Here--%>
                <%--HEDP History Starts Here--%>

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox whiteboxpaddingleft mb0">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <asp:Label runat="server" ID="Headerlbl"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="101"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <asp:HiddenField ID="isButtonClicked" runat="server" />
                    <div class="himssuHeader2WireBox card card-box">
                        <div class="himsBoxHeader card-head inner admin-tabs pTop10">
                            <asp:Panel ID="TopPanel" runat="server" meta:resourcekey="TopPanelResource1">

                                <div class="himsBoxTitle">

                                    <div class="headerText">
                                        <header>
                                          <asp:Image ID="Image2" runat="server" class="fLeft" meta:resourcekey="Image2Resource1" />
                                            <asp:Label ID="Label3" runat="server" Text="Search" meta:resourcekey="Label3Resource1"></asp:Label>
                                        </header>
                                    </div>
                                    <cc1:CollapsiblePanelExtender ID="cpe" runat="server" TargetControlID="DetailPanel"
                                        ExpandControlID="Image2" CollapseControlID="Image2" TextLabelID="Label3" Collapsed="True"
                                        ImageControlID="Image2" ExpandedImage="~/Images/icons/collapsetab.png"
                                        CollapsedImage="~/Images/icons/expandtab.png"
                                        Enabled="True" />

                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="server" meta:resourcekey="DetailPanelResource1">
                                <div class="contentHolder">
                                    <asp:Panel ID="SearchCriteriaPanel" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchCodeDescriptionLabel" runat="server" Text="SearchCodeDescriptionLabel"
                                                    meta:resourcekey="SearchCodeDescriptionLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="SearchCodeDescriptionTextBox" TabIndex="1" runat="server" SkinID="CustomWidthTextbox"
                                                    AutoCompleteType="Disabled" meta:resourcekey="SearchCodeDescriptionTextBoxResource1"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBoxPreBtn pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchDescriptionValueLabel" runat="server" Text="SearchDescriptionValueLabel"
                                                    meta:resourcekey="SearchDescriptionValueLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="SearchDescriptionValueTextBox" TabIndex="2" AutoCompleteType="Disabled"
                                                    runat="server" SkinID="CustomWidthTextbox" meta:resourcekey="SearchDescriptionValueTextBoxResource1"></asp:TextBox>
                                            </div>
                                        </div>

                                        <%-- <div class="outerBox pTop5">--%>
                                        <div class="pTop5 col-md-12 center" visible="true">
                                            <asp:Button ID="SearchButton" OnClick="SearchButton_Click" TabIndex="3" runat="server"
                                                Text="&#xf002; Search" SkinID="0" class="btn-search btn fas"></asp:Button>
                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Clear" TabIndex="4" OnClick="ResetButton_Click" SkinID="0"
                                                meta:resourcekey="ResetButtonResource1" class="btn-reset btn fas"></asp:Button>
                                        </div>
                                        <%--  </div>--%>
                                    </asp:Panel>

                                    <div id="MainDiv" runat="server">
                                        <div id="searchGrid" runat="server" visible="False">
                                            <div class="himssuHeader7WireBox">
                                                <div class="himsBoxHeader" id="GridHeaderDiv" runat="server" visible="False">

                                                    <div class="himsBoxTitle" style="width: 99%">
                                                        <%--<div class="headerText">
                                                                        <div class="fLeft">
                                                                            <asp:Label ID="SearchGridViewLabel" Text="List" runat="server" Font-Bold="True" meta:resourcekey="SearchGridViewLabelResource1" />
                                                                        </div>
                                                                    </div>--%>
                                                        <div class="fRight">
                                                            <uc1:GridViewPager ParentGridView="SearchGridView" ID="SearchGridViewPager" runat="server"
                                                                OnFirstRecordClick="GridViewPager_FirstRecordClick" OnLastRecordClick="GridViewPager_LastRecordClick"
                                                                OnNextRecordClick="GridViewPager_NextRecordClick" OnPrevRecordClick="GridViewPager_PrevRecordClick"
                                                                OnTextBoxValueChange="GridViewPager_TextBoxValueChange" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent col-md-12 pTop5 table-responsive">
                                                    <%--  <div id="DivHeader" style="vertical-align: top; width: 100%;">
                                                                    <asp:Table ID="CommonGridViewTable" runat="server" CellPadding="0" CellSpacing="0"
                                                                        BackColor="#E8E8E8" ForeColor="Black" Width="100%" GridLines="Both" CssClass="GridViewTableRow"
                                                                        meta:resourcekey="CommonGridViewTableResource1">
                                                                    </asp:Table>
                                                                </div>--%>
                                                    <%--<div id="DivData" class="Container" style="vertical-align: top; height: 109px; width: 99.6%;">--%>
                                                    <asp:GridView ID="SearchGridView" runat="server" ShowHeader="True" class="himssuHeader7WireBox table table-bordered table-striped table-hover"
                                                        AutoGenerateColumns="False" EmptyDataText="No records available for the search criteria."
                                                        AllowPaging="True" OnPageIndexChanging="SearchGridView_OnPageIndexChanging" meta:resourcekey="SearchGridViewResource1">
                                                        <Columns>
                                                            <asp:TemplateField meta:resourcekey="TemplateFieldResource1">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="EditLinkButton" runat="server" Text="Select" CommandName="Select"
                                                                        OnClick="LinkButton_Click" meta:resourcekey="EditLinkButtonResource1"></asp:LinkButton>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField meta:resourcekey="TemplateFieldResource2" HeaderStyle-HorizontalAlign="Left">
                                                                <EditItemTemplate>
                                                                    <asp:TextBox ID="CodeTextBox" TextMode="MultiLine" CssClass="boxEllips" ToolTip='<%# Bind("CodeField") %>'
                                                                        runat="server" Text='<%# Bind("CodeField") %>'></asp:TextBox>
                                                                </EditItemTemplate>
                                                                <ItemTemplate>
                                                                    <asp:Label ID="CodeLabel" CssClass="boxEllips" ToolTip='<%# Bind("CodeField") %>'
                                                                        runat="server" Text='<%# Bind("CodeField") %>' Width="250px"></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle Width="40%" Wrap="True" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField meta:resourcekey="TemplateFieldResource3" HeaderStyle-HorizontalAlign="Left">
                                                                <EditItemTemplate>
                                                                    <asp:TextBox ID="RemarkTextBox" runat="server" Text='<%# Bind("RemarkField") %>'
                                                                        CssClass="boxEllips" TextMode="MultiLine" ToolTip='<%# Bind("RemarkField") %>'></asp:TextBox>
                                                                </EditItemTemplate>
                                                                <ItemTemplate>
                                                                    <asp:Label ID="RemarkLabel" runat="server" Text='<%# Bind("RemarkField") %>' CssClass="boxEllips"
                                                                        ToolTip='<%# Bind("RemarkField") %>' Width="250px"></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle Width="40%" Wrap="True" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField meta:resourcekey="TemplateFieldResource4" HeaderStyle-HorizontalAlign="Left">
                                                                <EditItemTemplate>
                                                                    <asp:TextBox ID="ValueTextBox" runat="server" Text='<%# Bind("CodeField") %>' CssClass="boxEllips"
                                                                        ToolTip='<%# Bind("CodeField") %>'></asp:TextBox>
                                                                </EditItemTemplate>
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ValueLabel" runat="server" Text='<%# Bind("CodeField") %>' CssClass="boxEllips"
                                                                        ToolTip='<%# Bind("CodeField") %>' Width="250px"></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle Width="0%" Wrap="True" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="InActive" meta:resourcekey="TemplateFieldResource5" HeaderStyle-HorizontalAlign="Left">
                                                                <EditItemTemplate>
                                                                    <asp:TextBox ID="ObsoleteTextBox" runat="server" Text='<%# Bind("IsDeletedText") %>'
                                                                        meta:resourcekey="ObsoleteTextBoxResource1"></asp:TextBox>
                                                                </EditItemTemplate>
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ObsoleteLabel" runat="server" Text='<%# Bind("IsDeletedText") %>'
                                                                        meta:resourcekey="ObsoleteLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField meta:resourcekey="TemplateFieldResource6" Visible="false">
                                                                <EditItemTemplate>
                                                                    <asp:TextBox ID="IDTextBox" runat="server" Text='<%# Bind("IdField") %>' meta:resourcekey="IDTextBoxResource1"></asp:TextBox>
                                                                </EditItemTemplate>
                                                                <ItemTemplate>
                                                                    <asp:Label ID="IDLabel" runat="server" Text='<%# Bind("IdField") %>' meta:resourcekey="IDLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle Width="0%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField Visible="false">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="StaticIdLabel" runat="server" Text='<%# Bind("StaticId") %>'></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle Width="0%" />
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                    <%-- </div>--%>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                      

                        <div class="himssuHeader1WireBox">
                            <div class="himsBoxHeader">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <asp:Label ID="ReasonMasterDetailLabel" runat="server"></asp:Label>
                                    </div>
                                </div>
                            </div>
                            <div class="himsBoxContent">
                                <div class="contentHolder">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="CodeDescriptionLabel" runat="server" Text="Code Description" SkinID="MandatoryLabel"
                                                meta:resourcekey="CodeDescriptionLabelResource2"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="CodeDescriptionTextBox" TabIndex="5" AutoCompleteType="Disabled"
                                                runat="server" AutoPostBack="True" OnTextChanged="CodeDescriptionTextBox_TextChanged"
                                                SkinID="CustomWidthTextbox" onkeypress="javascript:uppercase();"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="CodeDescriptionTextBoxResource2"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="DescriptionValueLabel" runat="server" Text="Description Value" SkinID="MandatoryLabel"
                                                meta:resourcekey="DescriptionValueLabelResource2"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="DescriptionValueTextBox" TabIndex="6" AutoCompleteType="Disabled"
                                                AutoPostBack="True" runat="server" SkinID="CustomWidthTextbox"
                                                OnTextChanged="DescriptionValueTextBox_TextChanged" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" meta:resourcekey="DescriptionValueTextBoxResource2"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop15 col-md-3" id="IsObsoleteDiv" runat="server">
                                        <div class="fLeft">
                                            <asp:CheckBox ID="ObsoleteCheckBox" runat="server" Text="InActive" TabIndex="7" meta:resourcekey="ObsoleteCheckBoxResource1"></asp:CheckBox>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <cc1:FilteredTextBoxExtender ID="CodeTextBoxExtender" runat="server" TargetControlID="CodeDescriptionTextBox"
                                                FilterType="Numbers, UppercaseLetters, LowercaseLetters" Enabled="True">
                                            </cc1:FilteredTextBoxExtender>
                                        </div>
                                    </div>

                                </div>
                                <asp:HiddenField ID="StaticHiddenFieldId" runat="server"></asp:HiddenField>
                                <asp:HiddenField ID="HiddenField" runat="server"></asp:HiddenField>
                                <asp:HiddenField ID="MasterHiddenId" runat="server"></asp:HiddenField>
                            </div>
                        </div>
                              </div>
                    </div>

                </div>
            </div>


        </ContentTemplate>
    </asp:UpdatePanel>
  <%--  <script data-main="../../../JavaScript/rjs/encrypt/common-navigation-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/common-navigation-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
