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

<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ Register Src="~/UserControls/MaterialManagement/PurchaseUom/MultiplePurchaseUom.ascx"
    TagPrefix="cc1" TagName="UomUserControl" %>
<%@ Register Src="~/UserControls/MaterialManagement/MultiPleBin/MultiPleBin.ascx"
    TagPrefix="cc2" TagName="MultiPleBinUserControl" %>
<%@ 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/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"
    TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/AlphabetSearchCommonControl.ascx" TagName="AlphabetSearchCommonControl"
    TagPrefix="ACS" %>
<%@ Register Src="~/UserControls/Common/Stock/StockDetailBoxControl.ascx" TagName="StockControl" TagPrefix="Stock" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ServiceItemUpdatePanel" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <ACS:AlphabetSearchCommonControl ID="AlphabetCommonSearch" runat="server" Visible="false" />
            <cc1:UomUserControl ID="UomUpdationCtrl" runat="server" Visible="false" />
            <cc2:MultiPleBinUserControl ID="BinUserControl" runat="server" Visible="false" />
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont" valign="top">
                    <div class="himssuHeader3WireBox">
                        <%-- <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                               <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>    
                                            </div>
                                        </div>
                                    </div>--%>
                        <table width="0px" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="160"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <Stock:StockControl ID="StockUserControl" runat="server" Visible="true" />
                    <div class="card card-box">
                        <!-- Sub Container2 Box Start -->
                        <div class="himssuHeader2WireBox" id="SearchDiv" runat="server">


                            <div class="card card-box">
                                <div class="himssuHeader2WireBox">
                                    <div class="himsBoxHeader card-head">
                                        <asp:Panel ID="Panel1" runat="server" meta:resourcekey="Panel1Resource1">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <i class="fas fa-asterisk"></i>
                                                        <asp:Label ID="Label3" runat="server" Text="Criteria"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="DetailPanel" runat="server" meta:resourcekey="DetailPanelResource1">
                                            <div class="contentHolder">
                                                <asp:Panel ID="SearchCriteriaPanel" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ItemNamelikeLAbel" runat="server" Text="Item Name"
                                                                meta:resourcekey="lblcodelike1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="ItemNamelikeTextBox" runat="server"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="lblcodelike" runat="server" Text="Code"
                                                                meta:resourcekey="lblcodelike1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="txtcodelike" runat="server"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                                        <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" AutoPostBack="true" DisplayLoadingStatus="true"
                                                                FirstRowSelected="false" ContextKey="Common.ItemTitleAll" MaxLength="20" ValidateOnTextChanged="false" />
                                                            <asp:ImageButton ID="ItemCodeSearchImageButton" ToolTip="Item Code Search" SkinID="FindImage"
                                                                OnClick="ItemCodeSearchImageButton_Click" runat="server" meta:resourcekey="ItemCodeSearchImageButtonResource1" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                                        <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" AutoPostBack="true" DisplayLoadingStatus="true"
                                                                FirstRowSelected="false" ContextKey="InventoryPlanning.ItemTitleAll" MaxLength="50"
                                                                ValidateOnTextChanged="false" />
                                                            <asp:ImageButton ID="ItemNameSearchImageButton" ToolTip="Item Name Search" SkinID="FindImage"
                                                                OnClick="ItemNameSearchImageButton_Click" runat="server" meta:resourcekey="ItemNameSearchImageButtonResource1" />
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="MainGroupLabel" runat="server" Text="Main Group" meta:resourcekey="DepartmentLabelResource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft">
                                                            <asp:DropDownList ID="MainGroupDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList" OnSelectedIndexChanged="MainGroupDropDownList_SelectedIndexChanged" AutoPostBack="true"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="DepartmentDropDownListResource1">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SubGroupLabel" runat="server" Text="Sub Group" meta:resourcekey="DepartmentLabelResource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft">
                                                            <asp:DropDownList ID="SubGroupDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="DepartmentDropDownListResource1">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <%--   <div class="outerBox11">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="MultiLabel" runat="server" Text="Filter" meta:resourcekey="DepartmentLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft">
                                                <asp:DropDownList ID="MultiDropDownList" runat="server" Width="150px" SkinID="CustomWidthDropDownList" OnSelectedIndexChanged="MultiDropDownList_OnSelectedIndexChanged" AutoPostBack="true"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="DepartmentDropDownListResource1">
                                                </asp:DropDownList>
                                            </div>
                                        </div>--%>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="CatagoryLabel" runat="server" Text="Item Category" meta:resourcekey="DepartmentLabelResource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft">
                                                            <asp:DropDownList ID="StockItemCategoryDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="DepartmentDropDownListResource1">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="outerBoxPreBtn" runat="server" visible="false" id="emergencydiv">
                                                        <div class="controlLabelWidth">
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <br />
                                                            <asp:CheckBox ID="IsCriticalCheckBox" runat="server" Text="Emergency" Visible="false" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBoxPreBtn" runat="server" visible="false" id="firstaiddiv">
                                                        <div class="controlLabelWidth">
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <br />
                                                            <asp:CheckBox ID="IsFirstAddCheckBox" runat="server" Text="First Add" Visible="false" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox11">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="NearLabel" runat="server" Text="No. Of Days" meta:resourcekey="DepartmentLabelResource1" Visible="false"></asp:Label>
                                                        </div>
                                                        <div class="fLeft">
                                                            <asp:TextBox ID="NearTextBox" runat="server" Text="30" Visible="false"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="alignCenter">
                                                        <asp:Button ID="SearchButton" runat="server" SkinID="0" CssClass="fas btn btn-search" Text="&#xf002; Search"
                                                            OnClick="SearchButton_Click" meta:resourcekey="SearchButtonResource1" />
                                                        <asp:Button ID="ClearButton" Text="&#xf12d; Reset" CssClass="btn btn-reset fas" SkinID="0" onblur="fnClearTabIndexChange()" runat="server"
                                                            OnClick="ClearButton_Click" meta:resourcekey="ClearButtonResource1" />
                                                        <asp:Button ID="ExportButton1" Text="&#xf093; Export" onblur="fnClearTabIndexChange()" runat="server" CssClass="btn btn-examcommon fas"
                                                            SkinID="0" OnClick="ExportButton1_Click" meta:resourcekey="ExportButtonResource1" />



                                                        <%--       <asp:Button ID="GenerateRequestButton" Text="Generate Request" onblur="fnClearTabIndexChange()" runat="server"
                                                SkinID="CustomWidthButton" OnClick="GenerateRequestButton_Click" meta:resourcekey="ClearButtonResource1" />
                                            <asp:Button ID="ExportButton" Text="Export" onblur="fnClearTabIndexChange()" runat="server"
                                                SkinID="CustomWidthButton" OnClick="ExportButton_Click" meta:resourcekey="ClearButtonResource1" />--%>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </asp:Panel>

                                        <div id="StockEnquirySearchListDiv" class="himssuHeader1WireBox col-md-12 padd-0" runat="server">
                                            <div id="StockEnquiryDiv" runat="server">

                                                <div class="himsBoxHeader card-head inner" id="PatientRelationDiv" runat="server">

                                                    <div class="himsBoxTitle">
                                                        <div class="headerText pLeft10">

                                                            <%--<div class="fLeft">
                                                        <header>
                                                            <asp:Label ID="StockEnquirySearchListGridViewLabel" Text="List" runat="server" Font-Bold="True"
                                                                meta:resourcekey="StockEnquirySearchListGridViewLabelResource1" />
                                                        </header>
                                                    </div>--%>
                                                            <div class="fRight display-flex">
                                                                 <asp:DropDownList ID="ApplyAllDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="DepartmentDropDownListResource1">
                                                                    <asp:ListItem Value="--Select--">Select</asp:ListItem>
                                                                    <asp:ListItem Value="StandardPrice">Standard Price</asp:ListItem>
                                                                    <asp:ListItem Value="MaximumInventory">Maximum Inventory</asp:ListItem>
                                                                    <asp:ListItem Value="ReOrderPoint">Re Order Point</asp:ListItem>
                                                                    <asp:ListItem Value="ReOrderQuantity">Re Order Quantity</asp:ListItem>
                                                                    <asp:ListItem Value="SafetyStock">Safety Stock</asp:ListItem>
                                                                </asp:DropDownList>
                                                                &nbsp;&nbsp;
                                                                <asp:TextBox ID="ApplyAllTextBox" SkinID="0" runat="server" ondrag="return false" onPaste="return false" autocomplete="off" ondrop="return false"
                                                                    onKeypress="javascript:return MaskDecimal(event,12,2)" CssClass="top8" meta:resourcekey="SearchCodeTextBoxResource1" MaxLength="100"></asp:TextBox>
                                                                &nbsp;&nbsp;
                                                                <asp:Button ID="ApplyAllButton" Text="Apply All" runat="server" CssClass="btn btn-apply fas" SkinID="0" Height="100%"
                                                                    OnClick="ApplyAllButton_Click" meta:resourcekey="ExportButtonResource1" />
                                                            </div>
                                                        </div>
                                                        <div class="fRight">
                                                            <uc1:GridViewPager ID="StockEnquirySearchListGridView_GridViewPager" runat="server"
                                                                OnFirstRecordClick="StockEnquirySearchListGridView_GridViewPager_FirstRecordClick"
                                                                OnLastRecordClick="StockEnquirySearchListGridView_GridViewPager_LastRecordClick"
                                                                OnNextRecordClick="StockEnquirySearchListGridView_GridViewPager_NextRecordClick"
                                                                OnPrevRecordClick="StockEnquirySearchListGridView_GridViewPager_PrevRecordClick"
                                                                OnTextBoxValueChange="StockEnquirySearchListGridView_GridViewPager_TextBoxValueChange"
                                                                ParentGridView="StockEnquirySearchListGridView" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent col-md-12 pTop15" id="DivMainGridview" runat="server">
                                                    <div id="Div3" runat="server" class="table-responsive">
                                                        <asp:GridView ID="StockEnquirySearchListGridView" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-bordered table-hover"
                                                            ShowHeader="true" AllowPaging="True" PageSize="500" OnRowDataBound="grd_RowDataBound"
                                                            meta:resourcekey="StockEnquirySearchListGridViewResource1">
                                                            <Columns>

                                                                <asp:TemplateField HeaderText="StockItemId" SortExpression="Id" Visible="false" meta:resourcekey="TemplateFieldResource1">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StockItemIdLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "StockItemId") %>'
                                                                            meta:resourcekey="IdLabelResource1"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Id" SortExpression="Id" Visible="false" meta:resourcekey="TemplateFieldResource1">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="IdLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Id") %>'
                                                                            meta:resourcekey="IdLabelResource1"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
                                                                    <HeaderTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="SelectCheckBoxHeader" runat="server" AutoPostBack="true" OnCheckedChanged="SelectCheckBoxHeader_OnCheckedChanged" />
                                                                            <span></span>
                                                                        </label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                            <span></span>
                                                                        </label>
                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="1%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Store Location" ItemStyle-Width="10%" Visible="false" meta:resourcekey="TemplateFieldResource2" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StoreLocationLabel" runat="server" Text='<%#Eval("StoreLocationName") %>'
                                                                            meta:resourcekey="DepartmentNameLabelResource1"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Code" ItemStyle-Width="10%" SortExpression="Code"
                                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="CodeLabel" CssClass="boxEllips" ToolTip='<%# Bind("StockItemCode") %>' runat="server"
                                                                            Text='<%# Bind("StockItemCode") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="10%" SortExpression="Name"
                                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="NameLabel" CssClass="boxEllips" ToolTip='<%# Bind("StockItemName") %>' runat="server"
                                                                            Text='<%# Bind("StockItemName") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Last Purchase Price" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource4">
                                                                    <ItemTemplate>
                                                                        <%--<asp:TextBox ID="LastPurchasePriceTextBox" runat="server" Text='<%#Eval("LastPurchasePrice","{0:n}") %>'
                                                                            meta:resourcekey="ItemNameLabelResource2" onKeypress="javascript:return MaskDecimal(event,12,2)" Enabled="false"></asp:TextBox>--%>

                                                                        <asp:Label ID="LastPurchasePriceTextBox" runat="server" Text='<%#Eval("LastPurchasePrice","{0:n}") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Weighted Average Cost" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource4">
                                                                    <ItemTemplate>
                                                                        <%--<asp:TextBox ID="WeightedAverageCostTextBox" runat="server" Text='<%#Eval("WeightedAverageCost","{0:n}") %>'
                                                                            meta:resourcekey="ItemNameLabelResource2" onKeypress="javascript:return MaskDecimal(event,12,2)" Enabled="false"></asp:TextBox>--%>
                                                                        <asp:Label ID="WeightedAverageCostTextBox" runat="server" Text='<%#Eval("WeightedAverageCost","{0:n}") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Standard Price" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource3" HeaderStyle-HorizontalAlign="Left" Visible="true">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="StandardPriceTextBox" style="text-align:right" runat="server" Text='<%#Eval("StandardPrice","{0:n}") %>' ondrag="return false" onPaste="return false" autocomplete="off" ondrop="return false"
                                                                            meta:resourcekey="ItemNameLabelResource2" onKeypress="javascript:return MaskDecimal(event,12,2)"></asp:TextBox>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Maximum Inventory" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource3" HeaderStyle-HorizontalAlign="Left" Visible="true">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="MaximumInventoryTextBox" style="text-align:right" runat="server" Text='<%#Eval("MaximumInventory") %>' ondrag="return false" onPaste="return false" autocomplete="off" ondrop="return false"
                                                                            meta:resourcekey="ItemNameLabelResource2" onKeypress="javascript:return MaskDecimal(event,12,2)"></asp:TextBox>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Re-Order Point" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource3" HeaderStyle-HorizontalAlign="Left" Visible="true">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="ReOrderPointTextBox" style="text-align:right" runat="server" Text='<%#Eval("ReOrderPoint") %>' ondrag="return false" onPaste="return false" autocomplete="off" ondrop="return false"
                                                                            meta:resourcekey="ItemNameLabelResource2" onKeypress="javascript:return MaskDecimal(event,12,2)"></asp:TextBox>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <%--<asp:TemplateField HeaderText="ReOrder Quantity" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource4">
                                                                            <ItemTemplate>
                                                                                <asp:TextBox ID="ReOrderQuantityTextBox" runat="server" Text='<%#Eval("ReOrderQuantity") %>' ondrag="return false" onPaste="return false" autocomplete="off" ondrop="return false"
                                                                                    meta:resourcekey="ItemNameLabelResource2" onKeypress="javascript:return MaskDecimal(event,12,2)"></asp:TextBox>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>--%>
                                                                <asp:TemplateField HeaderText="Safety Stock" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource3" HeaderStyle-HorizontalAlign="Left" Visible="true">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="SafetyStockTextBox" style="text-align:right" runat="server" Text='<%#Eval("SafetyStock") %>' ondrag="return false" onPaste="return false" autocomplete="off" ondrop="return false"
                                                                            meta:resourcekey="ItemNameLabelResource2" onKeypress="javascript:return MaskDecimal(event,12,2)"></asp:TextBox>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Re-Order Quantity" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource3" HeaderStyle-HorizontalAlign="Left" Visible="true">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="ReOrderQuantityTextBox" style="text-align:right" runat="server" Text='<%#Eval("ReOrderQuantity") %>' ondrag="return false" onPaste="return false" autocomplete="off" ondrop="return false"
                                                                            meta:resourcekey="ItemNameLabelResource2" onKeypress="javascript:return MaskDecimal(event,12,2)"></asp:TextBox>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <asp:HiddenField ID="TaxGroupIdHiddenField" runat="server" />
                                        <%--   <div class="spacer">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif"
                                        meta:resourcekey="Image4Resource1" />
                                </div>--%>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/stock-item-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/stock-item-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
