<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_FinancialManagement_AssetManagement_AssetCheckLog, App_Web_o4xqcgfo" 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/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>--%>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DataPickerControl" TagPrefix="HIMS" %>

<%--<%@ 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="AssetMasterUpdatePanel" runat="server">
        <ContentTemplate>

            <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="himssuHeader1WireBox card card-box">
                                    <div class="himsBoxHeader card-head">
                                        
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                <i class="far fa-check-circle"></i>
                                                <asp:Label ID="Label1" runat="server" Text="Asset check"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="CheckedDateLabel" Text="Checked Date" runat="server"
                                                        meta:resourcekey="CheckedDateLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                       <HIMS:DataPickerControl DisplayDatePicker="true" ID="CheckedLastDateDataPickerControl" Visible="true"
                                                        runat="server" OnTextChanged="CheckedLastDateDataPickerControl_TextChanged" Autopostback="true" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3" style="display: none;">
                                                <div class="fLeft pRight5">
                                                    <asp:Button ID="SearchButton" Text="Search" runat="server" SkinID="CustomWidthButton"
                                                        OnClick="SearchButton_Click" meta:resourcekey="SearchButtonResource1" />
                                                </div>
                                            </div>
                                          
                                            <br />
                                            <div id="Div1" class="himssuHeader6WireBox col-md-12" runat="server" visible="false">
                                                <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server" style="display:none">
                                                    
                                                    <%--<div class="himsBoxTitle">
                                                        <div class="gridHeaderText">
                                                            <header>
                                                            <asp:Label ID="GridViewLabel" Text="List" runat="server" />
                                                            </header>
                                                        </div>
                                                    </div>--%>
                                                </div>
                                                <div class="himsBoxContent table-responsive">
                                                    <asp:GridView ID="AssetCheckGridView" runat="server" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" AllowPaging="false" OnRowDataBound="AssetCheckGridView_RowDataBound" CssClass="table table-striped table-bordered table-hover"
                                                        ShowHeader="True" DataKeyNames="AssetId,CheckStatusId,StoreLocationId">
                                                        <Columns>
                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="2%" ItemStyle-Width="5%"
                                                                ItemStyle-HorizontalAlign="Center">
                                                                <HeaderTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                    <asp:CheckBox ID="AllCheckBox" runat="server" onclick="selectAll(this);" /><br />
                                                                        <span></span>
                                                                    </label>
                                                                </HeaderTemplate>
                                                                <ItemTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                    <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                        <span></span>
                                                                    </label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText=" Asset Location" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left"
                                                                ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="LocationLabel" runat="server" SkinID="CustomWidthLabel" Text='<%#Eval("Location") %>'>
                                                                    </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Asset" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left"
                                                                ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="AssetTextBox" runat="server" SkinID="CustomWidthLabel" Text='<%#Eval("AssetName") %>'>
                                                                    </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                           <%-- <asp:TemplateField HeaderText="Sub Location" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left"
                                                                ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="SubLocationLabel" runat="server" SkinID="CustomWidthLabel" Width="154px" Text='<%#Eval("SubLocation") %>'>
                                                                    </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>--%>
                                                            <asp:BoundField DataField="CheckedLastDate" DataFormatString="{0:dd/MM/yyyy}" HeaderText=" Checked Last Date"  ItemStyle-Width="10%" />
                                                            <asp:TemplateField HeaderText="Check List" ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Left"
                                                                ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="CheckListLabel" runat="server" SkinID="CustomWidthLabel" Text='<%#Eval("CheckList") %>'>
                                                                    </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Check Status" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left"
                                                                ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:DropDownList ID="CheckStatusDropDownList" runat="server" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                    </asp:DropDownList>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Remark" ItemStyle-Width="30%" ItemStyle-HorizontalAlign="Left"
                                                                ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:TextBox ID="RemarkTextBox" runat="server" MaxLength="300" TextMode="MultiLine" SkinID="MultiLineTextBox"> 
                                                                    </asp:TextBox>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>                               
                            </div>                       
                </div>
            </div>

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