<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_MaterialManagement_Procurement_FSNCriteria, App_Web_tvvzwpls" 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="FSNUpdatePanel" runat="server">
        <ContentTemplate>
        <Common:CommonSearchUserControl ID="CommonSearchControl" runat ="server" Visible="false"/>
            <div class="himssuHeader1WireBox">
                <div class="himsBoxHeader">
                    <div class="leftdiv">
                    </div>
                    <div class="himsBoxTitle">
                        <div class="headerText">
                            <asp:Label Width="100%" ID="FSNHeaderLabel" runat="server" Text="Criteria" 
                                meta:resourcekey="FSNHeaderLabelResource1"></asp:Label>
                        </div>
                    </div>
                </div>
                <div class="himsBoxContent">
                    <div class="contentHolder">
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="ItemNoLabel" runat="server" Text="Item" 
                                    meta:resourcekey="ItemNoLabelResource1"></asp:Label>
                            </div>
                            <div class="fLeft">
                                <acc:AutoCompleteControl ID="ItemAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                    FirstRowSelected="true" ContextKey="Ip.StockItemMasterCode" AutoPostBack="true"
                                    DisplayLoadingStatus="true" Width="100px" IsCacheEnabled="false" />
                                <asp:ImageButton ID="ItemSearchImageButton" SkinID="FindImage" OnClick="ItemSearchImageButton_Click"
                                    runat="server" ToolTip="Item Search" 
                                    meta:resourcekey="ItemSearchImageButtonResource1" />
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="Label1" runat="server" Text="FSN" 
                                    meta:resourcekey="Label1Resource1"></asp:Label>
                            </div>
                            <div class="fLeft">
                                <asp:DropDownList ID="FSNDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" 
                                    meta:resourcekey="FSNDropDownListResource1">
                                </asp:DropDownList>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="Label2" runat="server" Text="Location" 
                                    meta:resourcekey="Label2Resource1"></asp:Label>
                            </div>
                            <div class="fLeft">
                                <asp:DropDownList ID="LocationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" 
                                    meta:resourcekey="LocationDropDownListResource1">
                                </asp:DropDownList>
                            </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>