<%@ page language="C#" autoeventwireup="true" inherits="Pages_MaterialManagement_Procurement_StockValuationCriteria, App_Web_tvvzwpls" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" 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">
    <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">
                            <asp:Label ID="ReportOptionLabel" runat="server" Text="Report Option" 
                                meta:resourcekey="ReportOptionLabelResource1"></asp:Label>
                        </div>
                        <div class="cBoth"></div>
                        <div class="outerBox pTop5">
                            <div class="fLeft">
                                <asp:RadioButton ID="ItemRadioButton" runat="server" AutoPostBack="True" OnCheckedChanged="ItemRadioButton_OnCheckedChanged"
                                    GroupName="ItemRadio" meta:resourcekey="ItemRadioButtonResource1" />
                            </div>
                            <div class="fLeft pLeft5 pTop5">
                                <asp:Label ID="Label6" runat="server" Text="Item Wise" 
                                    meta:resourcekey="Label6Resource1"></asp:Label>
                            </div>
                            <div class="fLeft pLeft10">
                                <asp:RadioButton ID="GroupRadioButton" runat="server" OnCheckedChanged="GroupRadioButton_OnCheckedChanged"
                                    AutoPostBack="True" GroupName="ItemRadio" 
                                    meta:resourcekey="GroupRadioButtonResource1" />
                            </div>
                            <div class="fLeft pLeft5 pTop5">
                                <asp:Label ID="Label5" runat="server" Text="Group Wise" 
                                    meta:resourcekey="Label5Resource1"></asp:Label>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="LocationLabel" runat="server" SkinID="mandatoryLabel" 
                                    Text="Location" meta:resourcekey="LocationLabelResource1"></asp:Label>
                            </div>
                            <div class="fLeft">
                                <asp:DropDownList ID="LocationDropDownList" runat="server" OnSelectedIndexChanged="LocationDropDownList_SelectedIndexChanged"
                                    Width="104px" SkinID="CustomWidthDropDownList" AutoPostBack="True" onmouseenter="showHideTooltip()"
                                    onmouseleave="showHideTooltip()" 
                                    meta:resourcekey="LocationDropDownListResource1">
                                </asp:DropDownList>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="Label1" Width="110px" SkinID="mandatoryLabel" 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"
                                    Width="104px" SkinID="CustomWidthDropDownList" 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" Width="110px" runat="server" 
                                    Text="Select Item Sub Group" meta:resourcekey="Label2Resource1"></asp:Label>
                            </div>
                            <div class="fLeft">
                                <asp:DropDownList ID="ItemSubGroupDropDownList" runat="server" OnSelectedIndexChanged="ItemSubGroupDropDownList_SelectedIndexChanged"
                                    Width="104px" SkinID="CustomWidthDropDownList" 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="ItemNameLabel" runat="server" Text="Item Code" 
                                    meta:resourcekey="ItemNameLabelResource1"></asp:Label>
                            </div>
                            <div class="fLeft pRight5">
                                       <acc:AutoCompleteControl ID="ItemCodeAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                          IsCacheEnabled="false"  Width="100px" ContextKey="Ip.StockItemMasterCode" 
                                            AutoPostBack="true" DisplayLoadingStatus="true"
                                            FirstRowSelected="true" MaxLength="20" ValidateOnTextChanged="false" 
                                            OnTextChanged="ItemCodeAutoCompleteControl_TextChanged" />
                                        <asp:ImageButton ID="ItemCodeSearchImageButton" ToolTip="Item Code Search" SkinID="FindImage"
                                            OnClick="ItemCodeSearchImageButton_Click" runat="server" 
                                            meta:resourcekey="ItemCodeSearchImageButtonResource1" />
                                    </div>
                                    </div>
                                    <div class="outerBox pTop5">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label3" 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="146px" 
                                                ContextKey="InventoryPlanning.ItemTitleAll" AutoPostBack="true"
                                                DisplayLoadingStatus="true" FirstRowSelected="true" MaxLength="20" ValidateOnTextChanged="false"
                                                OnTextChanged="ItemNameAutoCompleteControl_TextChanged" />
                                            <asp:ImageButton ID="ItemNameSearchImageButton" ToolTip="Item Name Search" SkinID="FindImage"
                                                OnClick="ItemNameSearchImageButton_Click" runat="server" 
                                                meta:resourcekey="ItemNameSearchImageButtonResource1" />
                                        </div>
                                    </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>
                </div>
            </div>
            </div>
             
        </ContentTemplate>
    </asp:UpdatePanel>
      <script data-main="../../../JavaScript/rjs/encrypt/stockvaluation-criteria-encrypt" src="../../../JavaScript/rjs/require.js"></script> 
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/stockvaluation-criteria")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>
