<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_MaterialManagement_InventoryPlanning_DrugExpiryCriteria, 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">
    <asp:UpdatePanel ID="DrugExpiryUpdatePanel" 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="DrugExpiryHeaderLabel" runat="server"
                                Text="Criteria" meta:resourcekey="DrugExpiryHeaderLabelResource1"></asp:Label>
                        </div>
                    </div>
                </div>
                <div class="himsBoxContent">
                    <div class="contentHolder">
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="FromDateLabel" runat="server" Text="From Date"
                                    meta:resourcekey="FromDateLabelResource1"></asp:Label>
                            </div>
                            <div class="fLeft">
                                <HIMS:DataPickerControl ID="FromDateTextBox" DisplayDatePicker="true" runat="server" />
                            </div>
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="ToDateLabel" runat="server" Text="To Date"
                                    meta:resourcekey="ToDateLabelResource1"></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="DrugNameLabel" runat="server" Text="Drug"
                                    meta:resourcekey="DrugNameLabelResource1"></asp:Label>
                            </div>
                            <div class="fLeft pRight5">
                                <acc:AutoCompleteControl ID="DrugNameAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                    IsCacheEnabled="false" FirstRowSelected="true" ContextKey="Ip.StockItemMasterCode" AutoPostBack="false"
                                    DisplayLoadingStatus="true" />

                                <asp:ImageButton ID="DrugNameSearchImageButton" SkinID="FindImage" OnClick="DrugNameSearchImageButton_Click"
                                    ToolTip="Drug Name Search" runat="server"
                                    meta:resourcekey="DrugNameSearchImageButtonResource1" />
                            </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/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>