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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DataPickerControl"
    TagPrefix="HIMS" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"
    TagPrefix="Common" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">

    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <!-- Sub Container Box1 Start -->
            <div class="himssuHeader1WireBox">
                <div class="himsBoxHeader">
                    <asp:Panel ID="Panel1" runat="server" meta:resourcekey="Panel1Resource1">
                        <div class="leftdiv">
                        </div>
                        <div class="himsBoxTitle">
                            <div class="headerText">
                                <asp:Label ID="Label3" runat="server" Text="Criteria"
                                    meta:resourcekey="Label3Resource1"></asp:Label>
                            </div>
                        </div>
                    </asp:Panel>
                </div>
                <div class="himsBoxContent">
                    <asp:Panel ID="DetailPanel" runat="server"
                        meta:resourcekey="DetailPanelResource1">
                        <div class="contentHolder">
                            <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="FromDateLabel" runat="server" SkinID="MandatoryLabel"
                                        Text="From Date" meta:resourcekey="FromDateLabelResource1"></asp:Label>
                                </div>
                                <div class="fLeft">
                                    <HIMS:DataPickerControl ID="FromDateTextBox" DisplayDatePicker="true" runat="server"
                                        Width="100" />
                                </div>
                            </div>
                            <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="Label1" runat="server" Text="To Date" SkinID="MandatoryLabel"
                                        meta:resourcekey="Label1Resource1"></asp:Label>
                                </div>
                                <div class="fLeft pRight5">
                                    <HIMS:DataPickerControl ID="ToDateTextBox" DisplayDatePicker="true" runat="server" />
                                </div>
                            </div>
                            <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="LocationLabel" runat="server" Text="Location"
                                        SkinID="MandatoryLabel" meta:resourcekey="LocationLabelResource1"></asp:Label>
                                </div>
                                <div class="fLeft pRight5">
                                    <asp:DropDownList ID="LocationDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                        AutoPostBack="True" Width="150px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                        OnSelectedIndexChanged="LocationDropDownList_SelectedIndexChanged"
                                        meta:resourcekey="LocationDropDownListResource1">
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="cBoth">
                            </div>
                            <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="ItemMainCategoryLabel" runat="server" Text="Item Main Category"
                                        meta:resourcekey="ItemMainCategoryLabelResource1"></asp:Label>
                                </div>
                                <div class="fLeft pRight5">
                                    <asp:DropDownList ID="ItemMainCategoryDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                        Width="104px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                        OnSelectedIndexChanged="ItemMainCategoryDropDownList_SelectedIndexChanged"
                                        meta:resourcekey="ItemMainCategoryDropDownListResource1">
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="ItemCodeLabel" runat="server" Text="Item Code"
                                        meta:resourcekey="ItemCodeLabelResource1"></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="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="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 class="cBoth">
                            </div>
                        </div>
                    </asp:Panel>
                    <div class=" alignCenter pTop5">
                        <asp:Button ID="PrintButton" Text="View Report" Width="120px" 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="spacer">
                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif"
                            meta:resourcekey="Image1Resource1" />
                    </div>
                </div>
                <!-- Sub Container Box1 Ends -->
                <!-- Sub Container Box2 Start -->
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/stock-movement-encrypt" src="../../../JavaScript/rjs/require.js"></script> --%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/stock-movement")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
