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

<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DataPickerControl" TagPrefix="HIMS" %>
<%@ 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/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="AssetMaintenanceUpd" 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="Label9" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight mt-27">
                                        <asp:Button ID="AddNewButtonID" runat="server" SkinID="0" OnClick="AddNewButtonID_Click"
                                            class="btn btn-add fas" Text="&#xf067; Add" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>

                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="Panel3" runat="server" meta:resourcekey="DetailPanelResource1">
                                <div class="contentHolder">
                                    <asp:Panel ID="Panel4" runat="server"
                                        meta:resourcekey="SearchCriteriaPanelResource1">

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label10" runat="server" Text="Asset Maintainance No."></asp:Label>
                                            </div>
                                            <div class="fLeft display-flex">
                                                <acc:AutoCompleteControl ID="SearchAssetMaintainanceAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                    ContextKey="AssetMaintainace.Number" DisplayLoadingStatus="true"
                                                    FirstRowSelected="false" MaxLength="20" ValidateOnTextChanged="false" />
                                                <asp:ImageButton ID="SearchAssetMaintainanceNoImageButton" ToolTip="Asset Audit Number Search" OnClick="SearchAssetMaintainanceNoImageButton_Click"
                                                    SkinID="FindImage" runat="server" meta:resourcekey="StockAuditNoSearchImageButtonResource1" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label12" runat="server" Text="Asset Tag"></asp:Label>
                                            </div>
                                            <div class="fLeft display-flex">
                                                <acc:AutoCompleteControl ID="SearchAssetTagAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                    AutoPostBack="true" DisplayLoadingStatus="true" FirstRowSelected="true" OnTextChanged="SearchAssetTagAutoCompleteControl_TextChanged"
                                                    ContextKey="SAssetManagement.AllCode" MaxLength="20" ValidateOnTextChanged="false" />
                                                <asp:ImageButton ID="SearchAssetTagImageButton" ToolTip="Asset Tag Search" SkinID="FindImage" runat="server"
                                                    meta:resourcekey="ItemCodeSearchImageButtonResource1" OnClick="SearchAssetTagImageButton_Click" />
                                                <asp:HiddenField ID="SearchAssetIdHiddenField" runat="server" />
                                                <asp:HiddenField ID="IsEditHiddenField" runat="server" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label11" runat="server" Text="Asset Name"
                                                    meta:resourcekey="Label2Resource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox SkinID="CustomWidthDisabledTextbox" ReadOnly="True" ID="SearchAssetNameTextBox"
                                                    runat="server" meta:resourcekey="AssetDescriptionLabelResource1" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label14" runat="server" Text="From Maintenance Date"></asp:Label>
                                            </div>
                                            <div class="fLeft">
                                                <HIMS:DataPickerControl ID="SearchFromMaintenanceDataPickerControl"
                                                    TabIndex="1" DisplayDatePicker="true" runat="server" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label16" runat="server" Text="To Maintenance Date"></asp:Label>
                                            </div>
                                            <div class="fLeft">
                                                <HIMS:DataPickerControl ID="SearchToMaintenanceDataPickerControl" DisplayDatePicker="true" runat="server"
                                                    TabIndex="5" />
                                            </div>
                                        </div>
                                         <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="StatusLabel1" Text="Status" runat="server" ></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="StatusDropDownList" DataTextField="Title" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server" AutoPostBack="True"
                                                    meta:resourcekey="UsageStatusDropDownListResource1">
                                                    <asp:ListItem Selected="True" Value="0" Text="-ALL-"/>
                                                    <asp:ListItem  Value="121" Text="Spare"/>
                                                    <asp:ListItem Value="122" Text="Deployed"/>
                                                    <asp:ListItem Value="123" Text="Maintenance"/>
                                                    <asp:ListItem Value="124" Text="Retired"/>
                                                    <asp:ListItem Value="125" Text="Removed"/>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="alignCenter pTop5 col-md-12 center">
                                            <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="server"
                                                SkinID="0" class="btn-search btn fas" OnClick="SearchButton_Click" />
                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" onblur="fnClearTabIndexChange()"
                                                SkinID="0" meta:resourcekey="ResetButtonResource1" class="btn-reset btn fas" OnClick="ResetButton_Click" />
                                            <asp:Button ID="AssetMaintenancePrintButton" runat="server" Text="&#xf15b; View Report" OnClick="AssetMaintenancePrintButton_Click"
                                            SkinID="0" CssClass="fas btn btn-report " Style="width: auto!important" Font-Bold="true" CommandName="Print" />
                                        </div>
                                        <div id="SearchAssetMaintenanceGridViewDiv" 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="SearchAssetMaintenanceGridView" runat="server" AutoGenerateColumns="False"
                                                            ShowHeader="True" AllowPaging="False" 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="Maintenance No" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="MaintenanceNoLabel" 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("AssetCode") %>'
                                                                            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("NewAssetCode") %>'
                                                                            meta:resourcekey="NewAssetCodeLabelResource2"></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("AssetName") %>'
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Category" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="CategoryLabel" runat="server" Text='<%# Bind("CategoryName") %>'
                                                                            meta:resourcekey="CategoryLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Department" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="DepartmentLabel" runat="server" Text='<%# Bind("DepartmentName") %>'
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Location" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="LocationLabel" runat="server" Text='<%# Bind("LocationName") %>'
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                 <asp:TemplateField HeaderText="Maintenance Date" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="MaintenanceDateLabel" runat="server" Text='<%# Bind("MaintenenceDate","{0:dd/MM/yyyy}") %>' 
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                 <asp:TemplateField HeaderText="NextMaintenance Date" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="NextMaintenanceDateLabel" runat="server" Text='<%# Bind("NextMaintenenceDate","{0:dd/MM/yyyy}") %>'
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Cost" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="CostLabel" runat="server" Text='<%# Bind("MaintenenceCost","{0:0.00}") %>'
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Maintenance By" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="MaintenanceByLabel" runat="server" Text='<%# Bind("MaintenenceBy") %>'
                                                                            meta:resourcekey="LocationLabelResource2"></asp:Label>
                                                                    </ItemTemplate>
                                                                    <HeaderStyle Width="10%" />
                                                                    <ItemStyle Width="10%" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Status" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StatusLabel" runat="server" Text='<%# Bind("StatusName") %>'
                                                                            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">
                            <asp:Panel ID="Panel1" runat="server" meta:resourcekey="Panel1Resource1">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-list-ul"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Asset Maintenance"
                                                meta:resourcekey="Label3Resource1"></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>
                            </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="StockAuditNoLabel" runat="server" Text="Asset Maintainance No."
                                                    meta:resourcekey="StockAuditNoLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft display-flex">
                                                <acc:AutoCompleteControl ID="StockAuditNoAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                    ContextKey="AssetMaintainace.Number" AutoPostBack="true" DisplayLoadingStatus="true"
                                                    FirstRowSelected="false" MaxLength="20" ValidateOnTextChanged="false"
                                                    OnTextChanged="StockAuditNoAutoCompleteControl_TextChanged" />
                                                <asp:ImageButton ID="ImageButton1" ToolTip="Asset Audit Number Search"
                                                    SkinID="FindImage" OnClick="StockAuditNoSearchImageButton_Click"
                                                    runat="server" meta:resourcekey="StockAuditNoSearchImageButtonResource1" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label6" Text="Department" runat="server"
                                                    meta:resourcekey="Label6Resource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox SkinID="CustomWidthDisabledTextbox" ReadOnly="True" ID="DepartmentLabel"
                                                    runat="server" meta:resourcekey="DepartmentLabelResource1" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label1" runat="server" Text="Asset Tag" SkinID="MandatoryLabel"
                                                    meta:resourcekey="Label1Resource1"></asp:Label>
                                            </div>
                                            <div class="fLeft display-flex">
                                                <acc:AutoCompleteControl ID="ItemCodeAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                    AutoPostBack="true" DisplayLoadingStatus="true" FirstRowSelected="true"
                                                    ContextKey="SAssetManagement.AllCode" MaxLength="20" ValidateOnTextChanged="false"
                                                    OnTextChanged="ItemCodeAutoCompleteControl_TextChanged" />
                                                <asp:ImageButton ID="ItemCodeSearchImageButton" ToolTip="Asset Tag Search" SkinID="FindImage"
                                                    OnClick="ItemCodeSearchImageButton_Click" runat="server"
                                                    meta:resourcekey="ItemCodeSearchImageButtonResource1" />
                                                <asp:HiddenField ID="AssetIdHidden" runat="server" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label2" runat="server" Text="Asset Name"
                                                    meta:resourcekey="Label2Resource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox SkinID="CustomWidthDisabledTextbox" ReadOnly="True" ID="AssetDescriptionLabel"
                                                    runat="server" meta:resourcekey="AssetDescriptionLabelResource1" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ItemCodeLabel" runat="server"
                                                    Text="Maintenance Date" SkinID="MandatoryLabel"
                                                    meta:resourcekey="ItemCodeLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft">
                                                <HIMS:DataPickerControl ID="FromDatePicker" OnTextChanged="FromDateTextBox_TextChanged"
                                                    TabIndex="1" Width="100px" DisplayDatePicker="true" runat="server" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="LocationLabel1" runat="server" Text="Location"
                                                    meta:resourcekey="LocationLabel1Resource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox SkinID="CustomWidthDisabledTextbox" ReadOnly="True" ID="LocationLabel"
                                                    runat="server" meta:resourcekey="LocationLabelResource1" />
                                                <asp:HiddenField ID="IdHiddenField" runat="server" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="NextMaintenanceDateLabel" runat="server" Text="Next Maintenance Date"
                                                    SkinID="MandatoryLabel"
                                                    meta:resourcekey="NextMaintenanceDateLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <HIMS:DataPickerControl ID="ToDatePicker" DisplayDatePicker="true" runat="server"
                                                    TabIndex="5" OnTextChanged="ToDateTextBox_TextChanged" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label5" runat="server" Text="Status"
                                                    meta:resourcekey="Label5Resource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox SkinID="CustomWidthDisabledTextbox" ReadOnly="True" ID="StatusLabel"
                                                    runat="server" meta:resourcekey="StatusLabelResource1" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="MaintenanceCostLabel" Text="Maintenance Cost"
                                                    runat="server" SkinID="MandatoryLabel"
                                                    meta:resourcekey="MaintenanceCostLabelResource1" />
                                            </div>
                                            <div class="fLeft">
                                                <asp:TextBox ID="MaintenanceCostTextBox" runat="server" SkinID="CustomWidthTextbox"
                                                    MaxLength="13" onblur="javascript:return fnValidateDecimal(this,10,2)" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" ToolTip="Max value: 9999999999.99"
                                                    Style="text-align: right;"
                                                    meta:resourcekey="MaintenanceCostTextBoxResource1" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label4" runat="server" Text="Model No"
                                                    meta:resourcekey="Label4Resource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox SkinID="CustomWidthDisabledTextbox" ReadOnly="True" ID="ModelLabel"
                                                    runat="server" meta:resourcekey="ModelLabelResource1" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="MaintenanceByLabel" Text="Maintenance By" runat="server"
                                                    SkinID="MandatoryLabel" meta:resourcekey="MaintenanceByLabelResource1" />
                                            </div>
                                            <div class="fLeft">
                                                <asp:TextBox ID="MaintenanceByTextBox" runat="server" SkinID="CustomWidthTextbox"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    meta:resourcekey="MaintenanceByTextBoxResource1" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="DepartmentLabel1" runat="server" Text="Category"
                                                    meta:resourcekey="DepartmentLabel1Resource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox SkinID="CustomWidthDisabledTextbox" ReadOnly="True" ID="CategoryLabel"
                                                    runat="server" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label7" runat="server" Text="Document No"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="DocumentNoTextBox" runat="server" SkinID="CustomWidthTextbox" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label8" runat="server" Text="Document Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <HIMS:DataPickerControl ID="DocumentDateDataPicker" DisplayDatePicker="true" runat="server"
                                                    OnTextChanged="DocumentDateDataPickerTextBox_TextChanged" />
                                            </div>
                                        </div>

                                        <div class="outerBoxRemark pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="MaintenanceReasonLabel" runat="server"
                                                    Text="Maintenance Details" meta:resourcekey="MaintenanceReasonLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft">
                                                <asp:TextBox ID="MaintenanceReasonTextBox" runat="server" SkinID="MultiLineTextbox"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return textboxMultilineMaxNumber(this,300)"
                                                    onchange="return textboxmultilinetextchangeMaxNumber(this,300)" AutoPostBack="True"
                                                    MaxLength="300" TextMode="MultiLine"
                                                    meta:resourcekey="MaintenanceReasonTextBoxResource1"></asp:TextBox>
                                            </div>
                                        </div>


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