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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DataPickerControl" TagPrefix="HIMS" %>
<%@ Register Src="~/UserControls/Common/FinancialDocumentSearch/FinancialDocumentSearch.ascx" TagName="FinancialDocumentSearch" TagPrefix="ds" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="AssetManagementCategoryMasterUpdatePanel" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="159"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel2" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight mt-27">
                                        <asp:Button ID="AddNewButtonID" runat="server" SkinID="0" OnClick="AddNewButton_Click"
                                            class="btn btn-add fas" Text="&#xf067; Add" />
                                    </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="SearchAssetMovementLabel" runat="server" Text="Asset Movement No"
                                                    meta:resourcekey="AssetMovementNoLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft display-flex">
                                                <acc:AutoCompleteControl ID="SearchMovementNoAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                    FirstRowSelected="false" ContextKey="AssetManagement.MovementNumber" DisplayLoadingStatus="true" MaxLength="20" ValidateOnTextChanged="false" />
                                                <asp:ImageButton ID="SearchAssetImageButton" SkinID="FindImage" ToolTip="Asset Movement No Search"
                                                    runat="server" OnClick="SearchAssetImageButton_Click"
                                                    meta:resourcekey="AssetMovementNoSearchImageButtonResource1" />
                                            </div>
                                        </div>
                                        <asp:HiddenField ID="IsEditHiddenField" runat="server" />
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label2" runat="server" Text="Movement Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <HIMS:DataPickerControl autocompletetype="Disabled" ID="SearchMovementDataPickerControl" runat="server"
                                                    autopostback="true" DisplayDatePicker="true" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label4" runat="server" Text="From Department"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchFromDepartmentDropDownList" DataTextField="Title" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" DataValueField="ID" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server"
                                                    AutoPostBack="False" meta:resourcekey="FromDepartmentDropDownResource1">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label5" runat="server" Text="From Location"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchFromLocationDropDownList" DataTextField="Title" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" DataValueField="ID" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server" AutoPostBack="True"
                                                    meta:resourcekey="MovementFromDropDownListResource1">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label6" runat="server" Text="To Department"></asp:Label>
                                            </div>
                                            <div class="fLeft">
                                                <asp:DropDownList ID="SearchToDepartmentDropDownList" DataTextField="Title" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" DataValueField="ID" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server" AutoPostBack="False"
                                                    meta:resourcekey="ToDeptDropDownListResource1">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label7" runat="server" Text="To Location"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchToLocationDropDownList" DataTextField="Title" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" DataValueField="ID" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server" meta:resourcekey="MovementtoDropDownListResource1">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label8" Text="Owner Name" runat="server"
                                                    meta:resourcekey="OwnerNameLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft display-flex">
                                                <acc:AutoCompleteControl ID="SearchOwnerNameAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                    IsCacheEnabled="false" FirstRowSelected="true" ContextKey="Common.EmployeeMaster" AutoPostBack="true"
                                                    DisplayLoadingStatus="true" ValidateOnTextChanged="true" />
                                                <asp:ImageButton ID="SearchOwnerNameImageButton" SkinID="FindImage" ToolTip="Owner Name Search"
                                                    runat="server" OnClick="SearchOwnerNameImageButton_Click"
                                                    meta:resourcekey="OwnerNameImageButtonResource1" />
                                            </div>
                                        </div>

                                        <div class="alignCenter pTop5 col-md-12 center">
                                            <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="server" OnClick="SearchButton_Click"
                                                SkinID="0" class="btn-search btn fas" />
                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" onblur="fnClearTabIndexChange()"
                                                OnClick="ResetButton_Click" SkinID="0" meta:resourcekey="ResetButtonResource1" class="btn-reset btn fas" />
                                        </div>
                                        <div id="AssetMovementGridViewDiv" runat="server">
                                            <div id="Div1" class="himssuHeader7WireBox col-md-12 pTop15" runat="server">
                                                <div class="himsBoxContent width-100 col-md-12">
                                                    
                                                    <div class="table-responsive">
                                                        <asp:GridView ID="AssetMovementSearchGridView" runat="server" AutoGenerateColumns="False"
                                                            ShowHeader="True" AllowPaging="True" DataKeyNames="Id" meta:resourcekey="AssetMasterGridViewResource1"
                                                            CssClass="table table-bordered table-striped table-hover" EmptyDataText="No records available for the search criteria.">
                                                            <Columns>
                                                                <asp:TemplateField>
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="EditLinkButton" runat="server" Text="Select" OnClick="EditLinkButton_Click"
                                                                            CausesValidation="False" CommandArgument='<%# Eval("Id") %>'
                                                                            meta:resourcekey="EditLinkButtonResource1"></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="5%" />
                                                                    <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Movement No" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="MovementNoLabel" runat="server" Text='<%# Bind("Number") %>'
                                                                            meta:resourcekey="NameLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="7%" />
                                                                    <ItemStyle Width="7%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Asset Tag" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="AssetTagLabel" runat="server" Text='<%# Bind("AssetTag") %>'
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="7%" />
                                                                    <ItemStyle Width="7%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Asset Code" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="AssetCodeLabel" runat="server" Text='<%# Bind("AssetCode") %>'
                                                                            meta:resourcekey="LocationLabelResource3"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="7%" />
                                                                    <ItemStyle Width="7%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Asset Name" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="AssetNameLabel" runat="server" Text='<%# Bind("AssetTitle") %>'
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Movement Date" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="MovementDateLabel" runat="server" Text='<%# Bind("MovementDate") %>'
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="From Department" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="FromDepartmentLabel" runat="server" Text='<%# Bind("FromDepartment") %>'
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="From Location" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="FromLocationLabel" runat="server" Text='<%# Bind("FromLocation") %>'
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="To Department" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="ToDepartmentLabel" runat="server" Text='<%# Bind("ToDepartment") %>'
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="To Location" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="ToLocationLabel" runat="server" Text='<%# Bind("ToLocation") %>'
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                 
                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>

                                </div>
                            </asp:Panel>

                        </div>
                    </div>
                    <div id="DetailDiv" class="himssuHeader1WireBox card card-box" runat="server" visible="false">
                        <div class="himsBoxHeader card-head">

                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-list-ul"></i>
                                        <asp:Label ID="AssetManagementMovementDetailLabel" runat="server" Text="Asset Movement"></asp:Label>
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27">
                                <table>
                                    <tr>
                                        <td class="formLabel"></td>
                                        <td>
                                            <asp:Button ID="BackButton" class="btn btn-back fas" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                Text="&#xf30a; Back" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="AssetMovementNoLabel" runat="server" Text="Asset Movement No"
                                            meta:resourcekey="AssetMovementNoLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft display-flex">
                                        <acc:AutoCompleteControl ID="AMMovementNoAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                            FirstRowSelected="false" ContextKey="AssetManagement.MovementNumber"
                                            AutoPostBack="true" DisplayLoadingStatus="true" MaxLength="20" ValidateOnTextChanged="false"
                                            OnTextChanged="AMMovementNoAutoCompleteControl_TextChanged" />
                                        <asp:ImageButton ID="AssetMovementNoSearchImageButton" SkinID="FindImage" ToolTip="Asset Movement No Search"
                                            runat="server" OnClick="AssetMovementNoSearchImageButton_Click"
                                            meta:resourcekey="AssetMovementNoSearchImageButtonResource1" />
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="PostingDateLabel" runat="server" Text="Movement Date"
                                            SkinID="MandatoryLabel" meta:resourcekey="PostingDateLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <HIMS:DataPickerControl autocompletetype="Disabled" ID="PostingDateTextBox" runat="server"
                                            OnTextChanged="PostingDateTextBox_TextChanged" autopostback="true" DisplayDatePicker="true" />
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="FromDeptLabel" runat="server" SkinID="MandatoryLabel"
                                            Text="From Department" meta:resourcekey="FromDeptLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="FromDepartmentDropDown" DataTextField="Title" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" DataValueField="ID" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server"
                                            AutoPostBack="False" meta:resourcekey="FromDepartmentDropDownResource1">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MovementFromLabel" runat="server" SkinID="MandatoryLabel"
                                            Text="From Location" meta:resourcekey="MovementFromLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="MovementFromDropDownList" DataTextField="Title" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" DataValueField="ID" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" AutoPostBack="True"
                                            OnSelectedIndexChanged="MovementFromDropDownList_SelectedIndexChanged"
                                            meta:resourcekey="MovementFromDropDownListResource1">
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ToDeptLabel" runat="server" SkinID="MandatoryLabel"
                                            Text="To Department" meta:resourcekey="ToDeptLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft">
                                        <asp:DropDownList ID="ToDeptDropDownList" DataTextField="Title" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" DataValueField="ID" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" AutoPostBack="False"
                                            meta:resourcekey="ToDeptDropDownListResource1">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MovementToLabel" runat="server" SkinID="MandatoryLabel"
                                            Text="To Location" meta:resourcekey="MovementToLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="MovementtoDropDownList" DataTextField="Title" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" DataValueField="ID" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" meta:resourcekey="MovementtoDropDownListResource1">
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="OwnerNameLabel" Text="Owner Name" runat="server"
                                            meta:resourcekey="OwnerNameLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft display-flex">
                                        <acc:AutoCompleteControl ID="OwnerNameControl" runat="server" MinimumPrefixLength="2"
                                            IsCacheEnabled="false" FirstRowSelected="true" ContextKey="Common.EmployeeMaster" AutoPostBack="true"
                                            DisplayLoadingStatus="true" ValidateOnTextChanged="true" />
                                        <asp:ImageButton ID="OwnerNameImageButton" SkinID="FindImage" ToolTip="Owner Name Search"
                                            runat="server" OnClick="OwnerNameImageButton_Click"
                                            meta:resourcekey="OwnerNameImageButtonResource1" />
                                    </div>
                                </div>

                                <div class="outerBoxRemark col-md-3 pTop5 divcontentpagemargin">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="RemarksLabel" Text="Remarks" runat="server"
                                            meta:resourcekey="RemarksLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft">
                                        <asp:TextBox ID="RemarksTextBox" runat="server"
                                            TextMode="MultiLine"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="300"
                                            onKeypress="javascript:return fnMaxLength(this, 300)"
                                            onblur="javascript:return CheckLength(this, 300)"
                                            meta:resourcekey="RemarksTextBoxResource1"></asp:TextBox>
                                    </div>
                                </div>

                            </div>

                            <div class="himssuHeader1WireBox col-md-12">
                                <div class="himsBoxHeader card-head inner">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <asp:Label ID="AssetManagementLabel" Text="List" runat="server"
                                                    meta:resourcekey="AssetManagementLabelResource1"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent ">
                                    <div class="contentHolder">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="AssetNoLabel" runat="server" SkinID="MandatoryLabel"
                                                    Text="Asset Code" meta:resourcekey="AssetCodeLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft display-flex">
                                                <acc:AutoCompleteControl ID="AMNumberAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                    FirstRowSelected="true" ContextKey="AssetManagement.AssetManagementMasterCodeWO"
                                                    AutoComplete="On" AutoPostBack="true" DisplayLoadingStatus="true"
                                                    ValidateOnTextChanged="false" OnTextChanged="AMNumberAutoCompleteControl_TextChanged1" />
                                                <asp:ImageButton ID="AssetNoImageButton" SkinID="FindImage" ToolTip="Asset Tag Search"
                                                    runat="server" OnClick="AssetNoImageButton_Click"
                                                    meta:resourcekey="AssetNoImageButtonResource1" />
                                            </div>
                                        </div>
                                        <div class="searchBoxBtn outerBox pTop5 col-md-2 fRight pTop5">
                                            <asp:Button ID="AddToListButton" Text="&#xf067; Add" runat="server" SkinID="0"
                                                OnClick="AddToListButton_Click" class="btn btn-add fas" />
                                        </div>

                                        <div class="himssuHeader6WireBox col-md-12">
                                            <div id="AssetManagementMovementDetailDiv" runat="server">
                                                <div class="himsBoxHeader" id="PatientRelationDiv" runat="server">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle">
                                                        <div class="headerText">
                                                            <div class="fLeft">
                                                                <asp:Label ID="GridViewLabel" Text="" runat="server" Font-Bold="True" />
                                                            </div>
                                                        </div>
                                                        <div class="fRight pagination mt-27">
                                                            <uc1:GridViewPager ID="AssetManagementMovementDetailGridView_GridViewPager" runat="server"
                                                                ParentGridView="AssetManagementMovementDetailGridView" OnFirstRecordClick="AssetManagementMovementDetailGridView_GridViewPager_FirstRecordClick"
                                                                OnLastRecordClick="AssetManagementMovementDetailGridView_GridViewPager_LastRecordClick"
                                                                OnNextRecordClick="AssetManagementMovementDetailGridView_GridViewPager_NextRecordClick"
                                                                OnPrevRecordClick="AssetManagementMovementDetailGridView_GridViewPager_PrevRecordClick"
                                                                OnTextBoxValueChange="AssetManagementMovementDetailGridView_GridViewPager_TextBoxValueChange" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent table-responsive">
                                                    <asp:GridView ID="AssetManagementMovementDetailGridView" runat="server"
                                                        AutoGenerateColumns="False" AllowPaging="True" PageSize="5" DataKeyNames="Id"
                                                        ShowHeader="True" EmptyDataText="No Records Found"
                                                        OnDataBinding="AssetManagementMovementDetailGridView_DataBinding"
                                                        meta:resourcekey="AssetManagementMovementDetailGridViewResource1"
                                                        CssClass="table table-bordered table-striped table-hover">
                                                        <Columns>
                                                            <asp:TemplateField HeaderText="Asset Tag" HeaderStyle-HorizontalAlign="Left"
                                                                meta:resourcekey="TemplateFieldResource1">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="AssetManagementNumberLabel" runat="server" ToolTip='<%# Bind("AssetMaster.Code") %>'
                                                                        Text='<%# Bind("AssetMaster.Code") %>' CausesValidation="false"></asp:Label>
                                                                </ItemTemplate>
                                                                <HeaderStyle HorizontalAlign="Left" Width="20%" />
                                                                <ItemStyle HorizontalAlign="Left" Width="20%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Asset Code" HeaderStyle-HorizontalAlign="Left"
                                                                meta:resourcekey="TemplateFieldResource12">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="AssetCodeLabel" runat="server" ToolTip='<%# Bind("AssetMaster.AssetCode") %>'
                                                                        Text='<%# Bind("AssetMaster.AssetCode") %>' CausesValidation="false"></asp:Label>
                                                                </ItemTemplate>
                                                                <HeaderStyle HorizontalAlign="Left" Width="20%" />
                                                                <ItemStyle HorizontalAlign="Left" Width="20%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Asset Name" HeaderStyle-HorizontalAlign="Left"
                                                                meta:resourcekey="TemplateFieldResource2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="AssetManagementNameLabel" runat="server" ToolTip='<%# Bind("AssetMaster.Title") %>'
                                                                        Text='<%# Bind("AssetMaster.Title") %>' CausesValidation="false"></asp:Label>
                                                                </ItemTemplate>
                                                                <HeaderStyle HorizontalAlign="Left" Width="30%" />
                                                                <ItemStyle HorizontalAlign="Left" Width="30%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Model Number" HeaderStyle-HorizontalAlign="Left"
                                                                meta:resourcekey="TemplateFieldResource3">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="AssetManagementModelNumberLabel" runat="server" ToolTip='<%# Bind("AssetMaster.ModalNumber") %>'
                                                                        Text='<%# Bind("AssetMaster.ModalNumber") %>' CausesValidation="false"></asp:Label>
                                                                </ItemTemplate>
                                                                <HeaderStyle HorizontalAlign="Left" Width="30%" />
                                                                <ItemStyle HorizontalAlign="Left" Width="30%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Delete"
                                                                meta:resourcekey="TemplateFieldResource4">
                                                                <ItemTemplate>
                                                                    <asp:ImageButton ID="DeleteImageButton" runat="server" CommandName="Delete" CommandArgument='<%# Eval("Id") %>'
                                                                        OnClick="DeleteImageButton_Click" SkinID="DeleteImage" ToolTip="Delete"
                                                                        Enabled='<%# GetDeleteImageGridBehavior(Eval("Id")) %>'
                                                                        meta:resourcekey="DeleteImageButtonResource1" />
                                                                </ItemTemplate>
                                                                <HeaderStyle HorizontalAlign="Center" Width="15%" />
                                                                <ItemStyle HorizontalAlign="Center" Width="15%" />
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

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