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

<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="BinMaintenanceUpdatePanel" runat="server">
        <ContentTemplate>
            <!-- Sub Container2 Box Start -->
            <div class="himssuHeader2WireBox">
                <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="Bin Transfer"
                                    meta:resourcekey="Label3Resource1"></asp:Label>
                            </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="FromStoreLocationLabel"
                                            Text="From Sub Location" runat="server"
                                            CssClass="mandatory" meta:resourcekey="FromStoreLocationLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft">
                                        <asp:DropDownList ID="FromStoreLocationDropDownList" runat="server" AutoPostBack="True"
                                            CssClass="form-control" SkinID="CustomWidthDropDownList" OnSelectedIndexChanged="FromStoreLocationDropDownList_SelectedIndexChanged"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            meta:resourcekey="FromStoreLocationDropDownListResource1">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="Label1" Text="From Bin" runat="server" CssClass="mandatory"
                                            meta:resourcekey="Label1Resource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="FromBinDropDownList" runat="server" AutoPostBack="True" OnSelectedIndexChanged="FromBinDropDownList_SelectedIndexChanged"
                                            CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                            onmouseenter="showHideTooltip()"
                                            meta:resourcekey="FromBinDropDownListResource1">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ToStoreLocationLabel" Text="To Sub Location" runat="server"
                                            CssClass="mandatory" meta:resourcekey="ToStoreLocationLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft">
                                        <asp:DropDownList ID="ToStoreLocationDropDownList" runat="server" AutoPostBack="True"
                                           CssClass="form-control" SkinID="CustomWidthDropDownList" OnSelectedIndexChanged="ToStoreLocationDropDownList_SelectedIndexChanged"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            meta:resourcekey="ToStoreLocationDropDownListResource1">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="Label2" Text="To Bin" runat="server" CssClass="mandatory"
                                            meta:resourcekey="Label2Resource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="ToBinDropDownList" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ToBinDropDownList_SelectedIndexChanged"
                                            CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                            onmouseenter="showHideTooltip()"
                                            meta:resourcekey="ToBinDropDownListResource1">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                
                            </asp:Panel>
                            <asp:HiddenField ID="IdHiddenField" runat="server" />
                            <asp:HiddenField ID="chkSelect" runat="server" />
                            <div id="BinMaintenanceDetailDiv" runat="server">
                                <div class="himssuHeader1WireBox">
                                    
                                    <div class="himsBoxHeader card-head inner" id="PatientRelationDiv" runat="server">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle" style="width: 99%">
                                            <div class="gridHeaderText">
                                                <div class="fLeft">
                                                    <header>
                                                    <asp:Label ID="GridViewLabel" Text="List" runat="server" Font-Bold="True"
                                                        meta:resourcekey="GridViewLabelResource1" />
                                                    </header>
                                                </div>
                                            </div>
                                            <div align="right" class="fRight" style="margin-top: -3px;">
                                                <uc1:GridViewPager ID="BinMaintenanceGridView_GridViewPager" runat="server" OnFirstRecordClick="BinMaintenanceGridView_GridViewPager_FirstRecordClick"
                                                    OnLastRecordClick="BinMaintenanceGridView_GridViewPager_LastRecordClick" OnNextRecordClick="BinMaintenanceGridView_GridViewPager_NextRecordClick"
                                                    OnPrevRecordClick="BinMaintenanceGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="BinMaintenanceGridView_GridViewPager_TextBoxValueChange"
                                                    ParentGridView="BinMaintenanceGridView" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <div class="himsBoxContentMsg" id="GridMessageDiv" runat="server">
                                        </div>
                                        <asp:GridView ID="BinMaintenanceGridView" runat="server" class="himssuHeader7WireBox col-md-12 table-responsive" AutoGenerateColumns="False"
                                            OnRowDataBound="BinMaintenanceGridView_RowDataBound" OnPageIndexChanging="BinMaintenanceGridView_PageIndexChanging"
                                            AllowPaging="True" PageSize="5" DataKeyNames="ItemId"
                                            OnDataBound="BinMaintenanceGridView_DataBound" EmptyDataText="No Records Found"
                                            meta:resourcekey="BinMaintenanceGridViewResource1">
                                            <Columns>
                                                <asp:TemplateField HeaderText="Id" SortExpression="Id" Visible="False"
                                                    meta:resourcekey="TemplateFieldResource1">
                                                    <ItemTemplate>
                                                        <asp:Label ID="IdLabel" runat="server" Text='<%# Bind("ItemId") %>'
                                                            meta:resourcekey="IdLabelResource1"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Select"
                                                    meta:resourcekey="TemplateFieldResource2">
                                                    <ItemTemplate>
                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                        <asp:CheckBox ID="IdCHeck" runat="server" meta:resourcekey="IdCHeckResource1" />
                                                            <span></span>
                                                        </label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Code" meta:resourcekey="TemplateFieldResource3">
                                                    <ItemTemplate>
                                                        <asp:Label ID="CodeLabel" runat="server" Text='<%# Bind("ItemCode") %>'
                                                            meta:resourcekey="CodeLabelResource1"></asp:Label>
                                                    </ItemTemplate>
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemStyle HorizontalAlign="Left" />
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Name" meta:resourcekey="TemplateFieldResource4">
                                                    <ItemTemplate>
                                                        <asp:Label ID="NameLabel" runat="server" Text='<%# Bind("ItemName") %>'
                                                            meta:resourcekey="NameLabelResource1"></asp:Label>
                                                    </ItemTemplate>
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemStyle HorizontalAlign="Left" />
                                                </asp:TemplateField>
                                            </Columns>
                                            <PagerSettings Visible="False" />
                                        </asp:GridView>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </asp:Panel>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/bin-maintenance-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/bin-maintenance")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>