<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Common_CommonMaster_CommonMaster, 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" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="updPnlSearchGridView" RenderMode="Inline" UpdateMode="Conditional"
        runat="server">
        <ContentTemplate>
            <asp:HiddenField ID="isButtonClicked" runat="server" />
            <div class="himssuHeader2WireBox">
                <div class="himsBoxHeader">
                    <asp:Panel ID="TopPanel" runat="server" meta:resourcekey="TopPanelResource1">
                        <div class="leftdiv">
                        </div>
                        <div class="himsBoxTitle">
                            <asp:Image ID="Image2" runat="server" class="fLeft"
                                meta:resourcekey="Image2Resource1" />
                            <div class="headerText">
                                <asp:Label ID="Label3" runat="server" Text="Search"
                                    meta:resourcekey="Label3Resource1"></asp:Label>
                                <cc1:CollapsiblePanelExtender ID="cpe" runat="server" TargetControlID="DetailPanel"
                                    ExpandControlID="Image2" CollapseControlID="Image2" TextLabelID="Label3" Collapsed="True"
                                    ImageControlID="Image2" ExpandedImage="~/images/buttonCollapse.gif"
                                    CollapsedImage="~/images/buttonExpand.gif" Enabled="True" />
                            </div>
                        </div>
                    </asp:Panel>
                </div>
                <div class="himsBoxContent">
                    <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">
                                    <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" Width="150px"
                                            meta:resourcekey="SearchCodeDescriptionTextBoxResource1"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBoxPreBtn pTop5">
                                    <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" Width="150px"
                                            meta:resourcekey="SearchDescriptionValueTextBoxResource1"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5">
                                    <div class="searchBoxBtn">
                                        <asp:Button ID="SearchButton" OnClick="SearchButton_Click" TabIndex="3" runat="server"
                                            Text="Search" SkinID="0" CssClass="PrimaryButton"></asp:Button>
                                        <asp:Button ID="ResetButton" runat="server" Text="Clear" TabIndex="4"
                                            OnClick="ResetButton_Click" meta:resourcekey="ResetButtonResource1"></asp:Button>
                                    </div>
                                </div>
                                <div class="cBoth">
                                </div>
                            </asp:Panel>
                            <div class="spacer5">
                                <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif"
                                    meta:resourcekey="Image3Resource1" />
                            </div>
                            <div id="MainDiv" runat="server">
                                <div id="searchGrid" runat="server" visible="False">
                                    <div class="himssuHeader1WireBox" style="margin-right: 10px; margin-left: 10px; margin-bottom: 10px;">
                                        <div class="himsBoxHeader" id="GridHeaderDiv" runat="server" visible="False">
                                            <div class="leftdiv">
                                            </div>
                                            <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 align="right" class="fRight" style="margin-top: -3px;">
                                                    <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">
                                            <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="False" Width="100%"
                                                    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">
                                                            <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">
                                                            <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">
                                                            <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">
                                                            <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">
                                                            <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>
                                                            <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>
            </div>
            <div class="spacer">
                <asp:Image ID="spacerImage" runat="server" ImageUrl="~/Images/spacer.gif"
                    meta:resourcekey="spacerImageResource1" />
            </div>
            <div class="himssuHeader1WireBox">
                <div class="himsBoxHeader">
                    <div class="leftdiv">
                    </div>
                    <div class="himsBoxTitle">
                        <div class="headerText">
                            Maintenance
                        </div>
                    </div>
                </div>
                <div class="himsBoxContent">
                    <div class="contentHolder">
                        <div class="outerBox pTop5">
                            <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" Width="150px" onkeypress="javascript:uppercase();"
                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                    meta:resourcekey="CodeDescriptionTextBoxResource2"></asp:TextBox>
                            </div>
                        </div>


                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <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" Width="150px"
                                    OnTextChanged="DescriptionValueTextBox_TextChanged" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()"
                                    meta:resourcekey="DescriptionValueTextBoxResource2"></asp:TextBox>
                            </div>
                        </div>


                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5" id="IsObsoleteDiv" runat="server">
                            <div class="fLeft">
                                <asp:CheckBox Height="28px" ID="ObsoleteCheckBox" runat="server" TabIndex="7"
                                    meta:resourcekey="ObsoleteCheckBoxResource1"></asp:CheckBox>
                            </div>
                            <div class="fLeft pLeft5">
                                <asp:Label ID="IsObsoleteLabel" runat="server" Text="InActive"
                                    meta:resourcekey="IsObsoleteLabelResource1"></asp:Label>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="cBoth">
                        </div>
                        <%-- <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <cc1:FilteredTextBoxExtender ID="CodeTextBoxExtender" runat="server" TargetControlID="CodeDescriptionTextBox"
                                    FilterType="Numbers, UppercaseLetters, LowercaseLetters" Enabled="True">
                                </cc1:FilteredTextBoxExtender>
                            </div>
                        </div>--%>
                        <div class="cBoth">
                        </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>
        </ContentTemplate>
    </asp:UpdatePanel>
  <%--  <script data-main="../../../JavaScript/rjs/encrypt/common-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/common-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>