<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="MaterialManagement_InventoryPlanning_StockStatus, App_Web_skpkmd1y" title="Stock Status" 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/Stock/StockDetailBoxControl.ascx" TagName="StockControl" TagPrefix="Stock" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/AlphabetSearchCommonControl.ascx" TagName="AlphabetSearchCommonControl"
    TagPrefix="ACS" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ServiceItemUpdatePanel" runat="server">
        <Triggers>
            <asp:PostBackTrigger ControlID="btnexport" />
        </Triggers>
        <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">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont">
                    <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>
                            <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="">
                        <!-- Sub Container2 Box Start -->
                        <div class="himssuHeader2WireBox card card-box " id="SearchDiv" runat="server">
                            <div class="himsBoxHeader card-head">
                                <asp:Panel ID="Panel1" runat="server" meta:resourcekey="Panel1Resource1">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <%--  <asp:Image ID="Image2" runat="server" class="fLeft"
                                                        meta:resourcekey="Image2Resource1" />--%>
                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-search"></i>
                                                <asp:Label ID="Label3" runat="server" Text="Search"
                                                    meta:resourcekey="Label3Resource1">
                                                </asp:Label>
                                            </header>
                                            <%--   <cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" TargetControlID="DetailPanel"
                                                        ExpandControlID="Image2" CollapseControlID="Image2" TextLabelID="Label3" Collapsed="True"
                                                        ImageControlID="Image2" ExpandedImage="~/images/buttonCollapse.gif"
                                                        CollapsedImage="~/images/buttonExpand.gif" Enabled="True" />--%>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                            <div class="himsBoxContent card-body">
                                <asp:Panel ID="DetailPanel" runat="server"
                                    meta:resourcekey="DetailPanelResource1">
                                    <div class="himsBoxContent">
                                        <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" Text="Item Name" runat="server"
                                                            meta:resourcekey="Label1Resource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft">
                                                        <asp:TextBox ID="ItemNameLikeTextBox" SkinID="CustomWidthTextBox"
                                                            runat="server" meta:resourcekey="SearchCodeTextBoxResource1" MaxLength="100"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="Label1" Text="Item Code" runat="server"
                                                            meta:resourcekey="Label1Resource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft display-flex">
                                                        <acc:AutoCompleteControl ID="SearchCodeTextBox" runat="server" MinimumPrefixLength="2"
                                                            IsCacheEnabled="false" AutoPostBack="true" DisplayLoadingStatus="true"
                                                            FirstRowSelected="false" ContextKey="Ip.StockItemMasterCode" MaxLength="50" ValidateOnTextChanged="false" /><%--change  by dhananjay for mantis - 41831	--%>
                                                        <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">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="Label2" Text="Item Name" runat="server"
                                                            meta:resourcekey="Label2Resource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5 display-flex">
                                                        <acc:AutoCompleteControl ID="SearchNameTextBox" runat="server" MinimumPrefixLength="2"
                                                            IsCacheEnabled="false"
                                                            ContextKey="InventoryPlanning.ItemTitleAll" AutoPostBack="true"
                                                            DisplayLoadingStatus="true" FirstRowSelected="false" MaxLength="300"
                                                            ValidateOnTextChanged="false" Enabled="false" />
                                                        <asp:ImageButton ID="ItemNameSearchButton" ToolTip="Item Name Search" SkinID="FindImage"
                                                            OnClick="ItemNameSearchButton_Click" runat="server"
                                                            meta:resourcekey="ItemNameSearchButtonResource1" />


                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchMainGroupLabel" runat="server" Text="Main Group"
                                                            meta:resourcekey="Label11Resource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="SearchMainGroupDropDownList"
                                                            runat="server" onmouseleave="showHideTooltip()" AutoPostBack="true"
                                                            OnSelectedIndexChanged="Fill_Search_Item_Sub_Category" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseenter="showHideTooltip()"
                                                            meta:resourcekey="MainGroupDropDownListResource1">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchSubGroupLabel" runat="server" Text="Sub Group"
                                                            meta:resourcekey="Label11Resource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="SearchSubGroupDropDownList"
                                                            runat="server" onmouseleave="showHideTooltip()" AutoPostBack="false"
                                                            SkinID="CustomWidthDropDownList" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                            meta:resourcekey="MainGroupDropDownListResource1">
                                                        </asp:DropDownList>
                                                    </div>
                                                </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="outerBox pTop5 col-md-3">
                                                    <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" CssClass="form-control" SkinID="CustomWidthDropDownList" 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="VendorLabel" runat="server" Text="Vendor Code" meta:resourcekey="InwardNoLabelResource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft display-flex">
                                                        <acc:AutoCompleteControl ID="VendorCodeAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                            CssClass="form-control" ContextKey="Procurement.Code" AutoPostBack="true"
                                                            DisplayLoadingStatus="true" FirstRowSelected="false" MaxLength="20" ValidateOnTextChanged="false" OnTextChanged="VendorCodeAutoCompleteControl_TextChanged" />
                                                        <asp:ImageButton ID="Ven_ImageButton" ToolTip="Vendor Code" SkinID="FindImage"
                                                            OnClick="Ven_ImageButton_Click" runat="server" meta:resourcekey="InwardNoSearchImageButtonResource1" />
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="VendorNameLabel" runat="server" Text="Vendor Name" meta:resourcekey="InwardNoLabelResource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft">
                                                        <asp:TextBox ID="VendorTextBox" runat="server" Enabled="false"></asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ItemCodeLikeLabel" Text="Item Code Like" runat="server"
                                                            meta:resourcekey="Label1Resource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft">
                                                        <asp:TextBox ID="ItemCodeLikeTextBox" SkinID="CustomWidthTextBox"
                                                            runat="server" meta:resourcekey="SearchCodeTextBoxResource1" MaxLength="100"></asp:TextBox>
                                                    </div>
                                                </div>



                                                <div class="alignCenter col-md-12 pTop5">
                                                    <div class="searchBoxBtn">
                                                        <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="server"
                                                            OnClick="SearchButton_Click" SkinID="0" CssClass="btn btn-search fas" />
                                                        <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" onblur="fnClearTabIndexChange()"
                                                            OnClick="ResetButton_Click" CssClass="btn btn-reset fas" SkinID="0" meta:resourcekey="ResetButtonResource1" />
                                                        <asp:Button ID="GenerateRequestButton" Text="&#xf079; Generate Request" onblur="fnClearTabIndexChange()" runat="server"
                                                            SkinID="0" OnClick="GenerateRequestButton_Click" CssClass="btn btn-generate fas" meta:resourcekey="ClearButtonResource1" />
                                                        <asp:Button ID="Button1" Text="Generate Request" onblur="fnClearTabIndexChange()" CssClass="btn-btn-generate" runat="server" Visible="false"
                                                            SkinID="0" meta:resourcekey="ClearButtonResource1" />

                                                        <asp:Button ID="btnexport" Text="Export" runat="server" SkinID="0" OnClick="Export_Click" CssClass="btn btn-examcommon fas" meta:resourcekey="ClearButtonResource1" />
                                                    </div>
                                                </div>
                                            </asp:Panel>


                                            <div class="spacer">
                                                <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif"
                                                    meta:resourcekey="Image1Resource1" />
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div id="StockItemMasterDetailDiv" visible="False" runat="server">

                                                <div class="himssuHeader7WireBox box-body box-solid gridviewfont" id="PatientRelationDiv" runat="server" style="width: 100%">
                                                    <div class="himsBoxHeader" id="ListDiv" runat="server" visible="True">
                                                        <div class="col-md-12 padd-0">

                                                            <div class="col-md-5">
                                                                <asp:Label ID="RecordsPerPage" Text="Records per Page : " runat="server" />
                                                                <asp:DropDownList ID="AddRowsToGridDropDownList" SkinID="CustomWidthDropDownList" Width="60px" runat="server"
                                                                    AutoPostBack="true" OnSelectedIndexChanged="AddRowsToGridDropDownList_SelectedIndexChanged" >
                                                                    <asp:ListItem Text="10" Value="10" Selected="True"></asp:ListItem>
                                                                    <asp:ListItem Text="20" Value="20"></asp:ListItem>
                                                                    <asp:ListItem Text="50" Value="50"></asp:ListItem>
                                                                    <asp:ListItem Text="100" Value="100"></asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                            <div class="col-md-7" id="GridViewPager" runat="server" visible="false">
                                                                <uc1:GridViewPager ID="StockItemMasterGridView_GridViewPager" runat="server" OnFirstRecordClick="StockItemMasterGridView_GridViewPager_FirstRecordClick"
                                                                    OnLastRecordClick="StockItemMasterGridView_GridViewPager_LastRecordClick" OnNextRecordClick="StockItemMasterGridView_GridViewPager_NextRecordClick"
                                                                    OnPrevRecordClick="StockItemMasterGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="StockItemMasterGridView_GridViewPager_TextBoxValueChange"
                                                                    ParentGridView="StockItemMasterGridView" />
                                                            </div>

                                                        </div>

                                                    </div>
                                                    <asp:HiddenField ID="StockItemPlanningHiddenField" runat="server" />
                                                    <div class="himsBoxContent">
                                                        <%-- <div id="DivHeader" style="vertical-align: top; width: 100%; height: 21px;">
                                    <asp:Table ID="StockItemMasterGridViewTable" runat="server" CellPadding="0" CellSpacing="0"
                                        BackColor="#E8E8E8" ForeColor="Black" Width="100%" GridLines="Both" 
                                        CssClass="GridViewTableRow" 
                                        meta:resourcekey="StockItemMasterGridViewTableResource1">
                                    </asp:Table>
                                </div>--%>


                                                        <%-- <div id="DivData" class="Container" style="vertical-align: top; height: 109px; width: 99.6%;">--%>

                                                        <div id="Div4" runat="server" class="table-responsive">
                                                            <asp:GridView ID="StockItemMasterGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                OnRowDataBound="StockItemMasterGridView_RowDataBound" OnPageIndexChanging="StockItemMasterGridView_PageIndexChanging"
                                                                ShowHeader="True" AllowPaging="True" OnRowCreated="StockItemMasterGridView_RowCreated"
                                                                meta:resourcekey="StockItemMasterGridViewResource1" PagerSettings-Visible="false" 
                                                                CssClass="table table-striped table-bordered table-hover table-responsive"  DataKeyNames="IsBatchWiseTracking">

                                                                <Columns>

                                                                    <asp:TemplateField meta:resourcekey="TemplateFieldResource1">
                                                                        <HeaderTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-single rt-chkbox-outline">
                                                                                <asp:CheckBox ID="HeaderCheckBox" runat="server" OnCheckedChanged="HeaderCheckBox_CheckedChanged" AutoPostBack="true" />
                                                                                <span></span>
                                                                            </label>
                                                                        </HeaderTemplate>
                                                                        <ItemTemplate>
                                                                            <label class="rt-chkbox  rt-chkbox-outline">
                                                                                <asp:CheckBox ID="ItemCheckBox" runat="server" />
                                                                                <span></span>
                                                                            </label>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle Width="1%" HorizontalAlign="Center" />
                                                                        <ItemStyle Width="1%" HorizontalAlign="Center" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Batch Details" ItemStyle-HorizontalAlign="Right">
                                                                        <ItemTemplate>
                                                                            <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/icons/expand.png" CssClass="img-center" />
                                                                            <ajaxToolkit:PopupControlExtender ID="PopupControlExtender1" runat="server" PopupControlID="Panel12"
                                                                                TargetControlID="Image1" DynamicContextKey='<%# Eval("StockItemId") %>' DynamicControlID="Panel12"
                                                                                DynamicServiceMethod="GetDynamicContent">
                                                                            </ajaxToolkit:PopupControlExtender>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle Width="4%" HorizontalAlign="Center" />
                                                                        <ItemStyle Width="4%" HorizontalAlign="Center" />
                                                                    </asp:TemplateField>
                                                                    <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="Store Location"
                                                                        meta:resourcekey="TemplateFieldResource2" Visible="false">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="StoreLocationLabel" runat="server" Text='<%# Bind("StoreLocation") %>'
                                                                                meta:resourcekey="IdLabelResource1"></asp:Label>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle Width="0%" />
                                                                        <ItemStyle Width="0%" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Item Code" SortExpression="StockItemCode" HeaderStyle-HorizontalAlign="Left"
                                                                        meta:resourcekey="TemplateFieldResource3">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="CodeLabel" runat="server" Text='<%# Bind("StockItemCode") %>'
                                                                                meta:resourcekey="CodeLabelResource1"></asp:Label>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle Width="10%" />
                                                                        <ItemStyle Width="10" />
                                                                    </asp:TemplateField>

                                                                    <%--                                          <asp:TemplateField HeaderText="Type" SortExpression="StockItemTypeTitle" 
                                                                        meta:resourcekey="TemplateFieldResource5">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ServiceMainGroupLabel" runat="server" 
                                                                                Text='<%# Bind("StockItemTypeTitle") %>' 
                                                                                meta:resourcekey="ServiceMainGroupLabelResource1"></asp:Label>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle Width="10%" />
                                                                        <ItemStyle Width="20%" />
                                                                    </asp:TemplateField>--%>
                                                                    <asp:TemplateField HeaderText="Item Name" SortExpression="StockItemTitle" HeaderStyle-HorizontalAlign="Left"
                                                                        meta:resourcekey="TemplateFieldResource4">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="StockItemTitleLabel" runat="server" Text='<%# Bind("StockItemTitle") %>'
                                                                                meta:resourcekey="NameLabelResource1"></asp:Label>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle Width="15%" />
                                                                        <ItemStyle Width="15%" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="UOM" SortExpression="UOM" HeaderStyle-HorizontalAlign="Left"
                                                                        meta:resourcekey="TemplateFieldResource4">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="UOMLabel" runat="server" Text='<%# Bind("UOM") %>'
                                                                                meta:resourcekey="NameLabelResource1"></asp:Label>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle Width="5%" />
                                                                        <ItemStyle Width="5%" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Maximum Inventory" SortExpression="MaximumInventory" HeaderStyle-HorizontalAlign="Left"
                                                                        meta:resourcekey="TemplateFieldResource4">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="MaximumInventoryLabel" runat="server" Text='<%# Bind("MaximumInventory") %>'
                                                                                meta:resourcekey="NameLabelResource1"></asp:Label>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle Width="5%" />
                                                                        <ItemStyle Width="5%" HorizontalAlign="Right" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Avl Quantity" SortExpression="Quantity" HeaderStyle-HorizontalAlign="Left"
                                                                        meta:resourcekey="TemplateFieldResource4">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="QuantityLabel" runat="server" Text='<%# Bind("Quantity") %>'
                                                                                meta:resourcekey="NameLabelResource1"></asp:Label>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle Width="8%" />
                                                                        <ItemStyle Width="8%" HorizontalAlign="Right" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Re-Order Point" SortExpression="ReOrderPoint" HeaderStyle-HorizontalAlign="Left"
                                                                        meta:resourcekey="TemplateFieldResource4">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ReOrderPointLabel" runat="server" Text='<%# Bind("ReOrderPoint") %>'
                                                                                meta:resourcekey="NameLabelResource1"></asp:Label>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle Width="8%" />
                                                                        <ItemStyle Width="8%" HorizontalAlign="Right" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Re-Order Quantity" SortExpression="ReOrderQuantity" HeaderStyle-HorizontalAlign="Left"
                                                                        meta:resourcekey="TemplateFieldResource4">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ReOrderQuantityLabel" runat="server" Text='<%# Bind("ReOrderQuantity") %>'
                                                                                meta:resourcekey="NameLabelResource1"></asp:Label>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle Width="8%" />
                                                                        <ItemStyle Width="8%" HorizontalAlign="Right" />
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                        <%-- <div class="spacer">
                                                            <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" 
                                                                meta:resourcekey="Image3Resource1" />
                                                        </div>--%>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </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>


                <asp:Panel ID="Panel12" runat="server">
                </asp:Panel>
            </div>

            <%--    <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </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>
