<%@ page language="C#" autoeventwireup="true" inherits="Pages_MaterialManagement_Procurement_ReportCriteria_StockUtilization, App_Web_d21dmpa3" 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="StockUtilizationUpdatePanel" runat="server">
        <ContentTemplate>
        <Common:CommonSearchUserControl ID="CommonSearchControl" runat ="server" Visible="false"/>
            <div class="contentHolder">
                <!-- 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="StockUtilizationLabel" runat="server" 
                                    Text="Criteria" meta:resourcekey="StockUtilizationLabelResource1"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="himsBoxContent">
                        <div class="contentHolder">
                           <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                        <asp:Label ID="StartLabel" SkinID="mandatoryLabel" runat="server" Text="Start" 
                                            meta:resourcekey="StartLabelResource1"></asp:Label>
                                    </div>
                            <div class="fLeft">
                                        <HIMS:DataPickerControl ID="FromDatePicker" OnTextChanged="FromDateTextBox_TextChanged"
                                            DisplayDatePicker="true" runat="server" />
                                    </div>
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                        <asp:Label ID="Endabel" SkinID="mandatoryLabel" runat="server" Text="End" 
                                            meta:resourcekey="EndabelResource1"></asp:Label>
                                    </div>
                            <div class="fLeft pRight5">
                                        <HIMS:DataPickerControl ID="ToDatePicker" DisplayDatePicker="true" runat="server" />
                                   </div>
                        </div>
                        
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                        <asp:Label ID="LocationLabel" SkinID="mandatoryLabel" runat="server" 
                                            Text="Location" meta:resourcekey="LocationLabelResource1"></asp:Label>
                                  </div>
                            <div class="fLeft pRight5">
                                        <asp:DropDownList ID="LocationDropDownList" SkinID="CustomWidthDropDownList" Width="104px"
                                            AutoPostBack="True" runat="server" onmouseleave="showHideTooltip()" 
                                            onmouseenter="showHideTooltip()" 
                                            meta:resourcekey="LocationDropDownListResource1">
                                        </asp:DropDownList>
                                    </div>
                        </div>
                         <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                        <asp:Label ID="MainCategoryLabel" runat="server" Text="Main Category" 
                                            meta:resourcekey="MainCategoryLabelResource1"></asp:Label>
                                   </div>
                            <div class="fLeft">
                                        <asp:DropDownList ID="MainCategoryDropDownList" SkinID="CustomWidthDropDownList"
                                            Width="104px" AutoPostBack="True" runat="server" onmouseleave="showHideTooltip()"
                                            onmouseenter="showHideTooltip()" 
                                            OnSelectedIndexChanged="MainCategoryDropDownList_SelectedIndexChanged" 
                                            meta:resourcekey="MainCategoryDropDownListResource1">
                                        </asp:DropDownList>
                                    </div>
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                        <asp:Label ID="SubCategoryLabel" runat="server" Text="Sub Category" 
                                            meta:resourcekey="SubCategoryLabelResource1"></asp:Label>
                                  </div>
                            <div class="fLeft pRight5">
                                        <asp:DropDownList ID="SubCategoryDropDownList" SkinID="CustomWidthDropDownList" Width="104px"
                                            AutoPostBack="True" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            OnSelectedIndexChanged="SubCategoryDropDownList_SelectedIndexChanged" 
                                            meta:resourcekey="SubCategoryDropDownListResource1">
                                        </asp:DropDownList>
                                   </div>
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                        <asp:Label ID="ItemNameLabel" runat="server" Text="Item" 
                                            meta:resourcekey="ItemNameLabelResource1"></asp:Label>
                                     </div>
                            <div class="fLeft pRight5">
                                        <acc:AutoCompleteControl ID="ItemNameAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                          IsCacheEnabled="false"  Width="100px" ContextKey="InventoryPlanning.AllTitle" 
                                            AutoPostBack="true" DisplayLoadingStatus="true"
                                            FirstRowSelected="false" MaxLength="20" ValidateOnTextChanged="false" />
                                        <asp:ImageButton ID="ItemNameSearchImageButton" ToolTip="Item Search" SkinID="FindImage"
                                            OnClick="ItemNameSearchImageButton_Click" runat="server" 
                                            meta:resourcekey="ItemNameSearchImageButtonResource1" />
                                   </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                        <asp:Label ID="Label3" runat="server" Text="Report Type" 
                                            meta:resourcekey="Label3Resource1"></asp:Label>
                                    </div>
                            <div class="fLeft">
                                        <asp:DropDownList ID="ReportTypeDropDownList" SkinID="CustomWidthDropDownList" Width="104px"
                                            AutoPostBack="True" runat="server" onmouseleave="showHideTooltip()" 
                                            onmouseenter="showHideTooltip()" 
                                            meta:resourcekey="ReportTypeDropDownListResource1">
                                            <asp:ListItem Selected="True" Value="0" Text="Summary" 
                                                meta:resourcekey="ListItemResource1" />
                                            <asp:ListItem Value="1" Text="Details" meta:resourcekey="ListItemResource2" />
                                        </asp:DropDownList>
                                   </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="alignCenter pTop5">
                                <asp:Button ID="CriteriaPrintButton" Text="Print" runat="server" 
                                    OnClick="PrintButton_Click" meta:resourcekey="CriteriaPrintButtonResource1" />
                                <asp:Button ID="CriteriaClearButton" Text="Clear" runat="server" 
                                    OnClick="ClearButton_Click" meta:resourcekey="CriteriaClearButtonResource1" />
                            </div>
                        </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>