<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Library_AccessionRegisterSearch, App_Web_jv32n5u1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/Library/LibraryDetailBoxControl.ascx" TagName="LibraryControl" TagPrefix="Library" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="BookSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <style type="text/css">
                .alink {
                    display: inline-block;
                    padding: 4px 12px;
                    margin-bottom: 0;
                    font-size: 12px;
                    font-weight: normal;
                    line-height: 1.42857143;
                    text-align: center;
                    white-space: nowrap;
                    vertical-align: middle;
                    -ms-touch-action: manipulation;
                    touch-action: manipulation;
                    cursor: pointer;
                    -webkit-user-select: none;
                    -moz-user-select: none;
                    -ms-user-select: none;
                    user-select: none;
                    border: 1px solid transparent;
                    border-radius: 4px;
                }
            </style>
         <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="174"
                                                        Visible="true" runat="server" />
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="whiteboxpaddingleft row">
                            <Library:LibraryControl ID="LibraryUserControl" runat="server" Visible="true" />
                            <div class="himssuHeader5WireBox card card-box" style="overflow: scroll">
                                <div class="himsBoxHeader card-head">
                                    <asp:Panel ID="SearchHeaderPanel" runat="server" meta:resourcekey="SearchHeaderPanelResource1">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                    <i class="fas fa-search"></i>
                                                <asp:Label ID="SearchHeaderLabel" runat="server" Text="Search"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </div>
                                <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                    <div class="himsBoxContent card-body">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="CodeLabel" runat="server" Text="Code"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="CodeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        runat="server" MaxLength="25" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="TitleLabel" runat="server" Text="Title"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="TitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SupplierLabel" runat="server" Text="Supplier"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SupplierTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        runat="server" MaxLength="200" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                </div>
                                            </div>
                                           
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="PublisherLabel" runat="server" Text="Publisher"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="PublisherTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        runat="server" MaxLength="200" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="AuthorLabel" runat="server" Text="Author"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="AuthorTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                       runat="server" MaxLength="200" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Subject" runat="server" Text="Subject"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SubjectTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        runat="server" MaxLength="200" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                </div>
                                            </div>
                                           
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="LanguageLabel" runat="server" Text="Language"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="LanguageTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        runat="server" MaxLength="200" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="LocationLabel" runat="server" Text="Location"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="LocationTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        runat="server" MaxLength="200" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="EditionLabel" runat="server" Text="Edition"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="EditionTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                </div>
                                            </div>
                                            
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ISBNNumberLabel" runat="server" Text="ISBN Number"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="ISBNNumberTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="BookTagLabel" runat="server" Text="Book Tag"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="BookTagTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                       runat="server" MaxLength="200" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="BookCustomTagLabel" runat="server" Text="Book Custom Tag"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="BookCustomTagTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        runat="server" MaxLength="200" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                </div>
                                            </div>
                                           
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="AgeGroupLabel" runat="server" Text="Book Age Group"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="AgeGroupDropDownList" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ResourceTypeLabel" runat="server" Text="Resource Type"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="ResourceTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="BookStatusLabel" runat="server" Text="Status"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="BookStatusDropDownList" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                           
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="BookDepartmentLabel" runat="server" Text="Book Department"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="BookDepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ClassificationNoLabel" runat="server" Text="Classification No"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox runat="server" ID="ClassificationNoTextBox" SkinID="CustomWidthTextbox"
                                                        onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                    </asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="AccessionNoLabel" runat="server" Text="Accession No"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox runat="server" ID="AccessionNoTextBox" SkinID="CustomWidthTextbox"
                                                        onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                    </asp:TextBox>
                                                </div>
                                            </div>
                                          
                                            <div class="alignCenter pTop5 col-md-12 center">
                                                <input type="button" id="SearchButton" value="&#xf002; Search" class="btn-search btn fas" onclick="BindAccessionRegisterLIst();" />
                                                <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" class="btn-reset btn fas" SkinID="0" OnClick="ResetButton_Click" />
                                              <%--  <a id="ExportButton" style="background-color: #DCDFDD; color: black" class="alink">Export</a>--%>
                                                <asp:Button ID="ExportButton1" runat="server" Text="&#xf093; Export" SkinID="0" OnClick="ExportButton_Click" class="btn-examcommon btn fas"/>
                                            </div>
                                           
                                            <div id="AccessionGridDiv" class="himssuHeader7WireBox col-md-12" style="display: none;">
                                               
                                                <div id="GridViewPagerDiv" runat="server" visible="True">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle" style="width: 99%">
                                                        <div align="right" class="fRight" runat="server" visible="false" style="margin-top: -3px;">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent " style="overflow: auto;">
                                                    <ul id="pagging" class="pagination pagination-sm" style="float: right;">
                                                    </ul>
                                                    <div id="dvReports" class="table-responsive">
                                                        <table id="TABLEDIV" class="table table-striped table-bordered table-hover" >
                                                            <thead >
                                                                <tr id="trHeader"></tr>
                                                            </thead>
                                                            <tbody id="tblList">
                                                            </tbody>
                                                        </table>
                                                    </div>

                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                                <div id="dvExports_N" class="himssuHeader7WireBox col-md-12" style="display: none;">
                                    <table id="TABLEeXPORT_N" class="table table-striped table-bordered table-hover" style="border-collapse: collapse;">
                                        <tbody id="tblListExport_N">
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                            </div>
                        </td>                  
            </div>
         
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--   <script data-main="../../JavaScript/rjs/encrypt/accession-register-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <%--<script data-main="../../JavaScript/rjs/accession-register" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/accession-register")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>
