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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DataPickerControl"
    TagPrefix="HIMS" %>
<%@ 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">

    <script language="javascript" type="text/javascript" src="../../../JavaScript/Report.js">
    </script>

    <asp:UpdatePanel ID="ReorderLevelUpdatePanel" runat="server">
        <ContentTemplate>
        <Common:CommonSearchUserControl ID="CommonSearchControl" runat ="server" Visible="false"/>
            <!-- Sub Container1 Box Start -->
            <div class="himssuHeader1WireBox">
                <div class="himsBoxHeader">
                    <div class="leftdiv">
                    </div>
                    <div class="himsBoxTitle">
                        <div class="headerText">
                            <asp:Label Width="100%" ID="ReorderLevelHeaderLabel" runat="server" 
                                Text="Criteria" meta:resourcekey="ReorderLevelHeaderLabelResource1"></asp:Label>
                        </div>
                    </div>
                </div>
                <div class="himsBoxContent">
                    <div class="contentHolder">
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="Label1" runat="server" Text="Select Item Main Group" 
                                    meta:resourcekey="Label1Resource1"></asp:Label>
                            </div>
                            <div class="fLeft">
                                <asp:DropDownList ID="ItemMainGroupDropDownList" runat="server" OnSelectedIndexChanged="ItemMainGroupDropDownList_SelectedIndexChanged"
                                    AutoPostBack="True" onmouseleave="showHideTooltip()" 
                                    onmouseenter="showHideTooltip()" 
                                    meta:resourcekey="ItemMainGroupDropDownListResource1">
                                </asp:DropDownList>
                            </div>
                        </div>
                       <%-- <div class="cBoth">
                        </div>--%>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="Label2" runat="server" Text="Select Item Sub Group" 
                                    meta:resourcekey="Label2Resource1"></asp:Label>
                            </div>
                            <div class="fLeft pRight5">
                                <asp:DropDownList ID="ItemSubGroupDropDownList" runat="server" OnSelectedIndexChanged="ItemSubGroupDropDownList_SelectedIndexChanged"
                                    AutoPostBack="True" onmouseleave="showHideTooltip()" 
                                    onmouseenter="showHideTooltip()" 
                                    meta:resourcekey="ItemSubGroupDropDownListResource1">
                                </asp:DropDownList>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                         <div class="controlLabelWidth">
                                    <asp:Label ID="CodeLabel" runat="server" Text="Item Code" 
                                         meta:resourcekey="CodeLabelResource1"></asp:Label>
                                </div>
                                <div class="fLeft">
                                    <acc:AutoCompleteControl ID="CodeTextBox" runat="server"  
                                      IsCacheEnabled="false"  AutoPostBack="true" MinimumPrefixLength="2" ContextKey="Ip.StockItemMasterCode"
                                        DisplayLoadingStatus="true" ValidateOnTextChanged="false" OnTextChanged="ItemCodeAutoCompleteControl_TextChanged"/>
                                    <asp:ImageButton ID="CodeSearchImageButton" runat="server" SkinID="FindImage" ToolTip="Code Search"
                                        OnClick="CodeSearchImageButton_Click" 
                                        meta:resourcekey="CodeSearchImageButtonResource1" />
                                    <asp:HiddenField ID="CodeIDHiddenField" runat="server" />
                                </div>
                                </div>
                            <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="ItemNameLabel" runat="server" Text="Item Name" 
                                    meta:resourcekey="ItemNameLabelResource1"></asp:Label>
                            </div>
                            <div class="fLeft pRight5">
                                 <acc:AutoCompleteControl ID="ItemNameAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                               IsCacheEnabled="false" Width="100px" 
                                                ContextKey="InventoryPlanning.ItemTitleAll" AutoPostBack="true"
                                                DisplayLoadingStatus="true" FirstRowSelected="true" MaxLength="20" ValidateOnTextChanged="false"
                                                OnTextChanged="ItemNameAutoCompleteControl_TextChanged" />
                                <asp:ImageButton ID="ItemNameSearchImageButton" SkinID="FindImage" OnClick="ItemNameSearchImageButton_Click"
                                    ToolTip="Item Search" runat="server" 
                                    meta:resourcekey="ItemNameSearchImageButtonResource1" />
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="alignCenter pTop5">
                            <asp:Button ID="PrintButton" Text="Print" runat="server" 
                                OnClick="PrintButton_Click" meta:resourcekey="PrintButtonResource1" />
                            <asp:Button ID="ClearButton" Text="Clear" runat="server" 
                                OnClick="ClearButton_Click" meta:resourcekey="ClearButtonResource1" />
                        </div>
                        <div class="cBoth">
                        </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>