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

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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
<style type="text/css">
input:disabled + input[type=image], input:read-only + a {
pointer-events: visible;
cursor: pointer !important;
}
</style>
    <link href="../../../App_Themes/responsiv-popup.css" rel="stylesheet" />
    <script type="text/javascript">
        $(document).ready(function onpage() {
            var chk1 = document.getElementById("ctl00_CP_CheckBoxList1_0");
            var chk2 = document.getElementById("ctl00_CP_CheckBoxList1_1");

            if (chk1.checked == true) {
                ctl00_CP_Imglink.style.display = "inline";
                ctl00_CP_RefreshButton.style.display = "inline";
                ctl00_CP_Label2.style.display = "inline";
                ctl00_CP_BookImageSearchButton.style.display = "none";
            }
        });


        function ChkList(chk) {
            debugger;
            var chkList = chk.parentNode.parentNode.parentNode;
            var chks = chkList.getElementsByTagName("input");
            var chk1 = document.getElementById("ctl00_CP_CheckBoxList1_0");
            var chk2 = document.getElementById("ctl00_CP_CheckBoxList1_1");
            for (var i = 0; i < chks.length; i++) {
                if (chks[i] != chk && chk.checked) {
                    chks[i].checked = false;

                    if (chk1.checked == true) {
                        ctl00_CP_Imglink.style.display = "inline";
                        ctl00_CP_RefreshButton.style.display = "inline";
                        ctl00_CP_Label2.style.display = "inline";
                        ctl00_CP_BookImageSearchButton.style.display = "none";
                    }

                    else {
                        ctl00_CP_Imglink.style.display = "none";
                        ctl00_CP_RefreshButton.style.display = "none";
                        ctl00_CP_Label2.style.display = "none";
                        ctl00_CP_BookImageSearchButton.style.display = "inline";
                    }
                }
            }
        }
     
    </script>
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div class="hls-bg"></div>
            <div id="dvMainLoadingmsg" class="hls-wrap">
                <div class="hls-container">
                    <div class="hls-content">
                        <div class="dsh-syndicate white-popup" style="display: inline-block; width: 119%; height: 150px">
                            <div class="shippingcard" style="text-align: center; vertical-align: middle; width: 100%;">
                                <span id="spnmain1msg">Loading Details</span><br>
                                <span style="line-height: 2;" id="spnmain2msg"><b>Please Wait ...</b></span><br>
                                <span id="spnloadingimgmain">
                                    <img src="../../../Images/Loading1.gif" /></span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <uc1:CommonSearchUserControl ID="CommonSearchControl" Visible="false" runat="server" />
            <BookImgSearch:BookImgSearchControl ID="BookImgSearchId" runat="server" Visible="false" />
            <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="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-book"></i>
                                        <asp:Label ID="BoookMasterDetailLabel" runat="server" Text="Book Master"></asp:Label>
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27">
                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                    class="btn btn-back fas" Text="&#xf30a;  Back" />
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="outerBox pTop5 col-md-3" id="MultipleCheckboxDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:CheckBox ID="MultipleBookCheckBox" runat="server" Text="Add Same Book Multiple Time"
                                            SkinID="CustomWidthCheckBox"
                                            AutoPostBack="true" OnCheckedChanged="MultipleBookCheckBox_CheckedChange"></asp:CheckBox>
                                        <asp:HiddenField ID="HiddenField3" runat="server" />
                                    </div>
                                </div>
                                <div class="himsBoxHeader card-head inner">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle ">
                                        <div class="gridHeaderText">
                                            <header>
                                                <asp:Label ID="Label1" runat="server" Text="Book Information" Font-Bold="true" ForeColor="#3c8dbc"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="CodePrefix" runat="server" visible="false">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CodePrefixLabel" runat="server" Text="CodePrefix" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="CodePrefixTextBox"
                                            runat="server" MaxLength="25" SkinID="CustomWidthTextbox" Visible="false"></asp:TextBox>
                                        <asp:HiddenField ID="HiddenField2" runat="server" />
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="NoBooks" runat="server" visible="false">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="NoOfBookLabel" runat="server" Text="No of Book" SkinID="MandatoryLabel" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="NoOfBookTextBox"
                                            runat="server" MaxLength="25" SkinID="CustomWidthTextbox" Visible="false"
                                            onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                        <asp:HiddenField ID="HiddenField1" runat="server" />
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CodeLabel" runat="server" Text="Code" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="CodeTextBox"
                                            runat="server" MaxLength="25" SkinID="CustomWidthTextbox" AutoPostBack="true" OnTextChanged="CodeTextBox_TextChanged"></asp:TextBox>
                                        <asp:HiddenField ID="BookIdHiddenField" runat="server" />
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="TitleLabel" runat="server" Text="Name" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="TitleTextBox"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="OrderIndexLabel" runat="server" Text="Order Index" ></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="OrderIndexTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" AutoPostBack="false"
                                             SkinID="CustomWidthTextbox" onkeypress="javascript:return isNumberKey(event)"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="NoOfCopiesLabel" runat="server" Text="No Of Copies"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="NoOfCopiesTextBox" runat="server" MaxLength="5" SkinID="CustomWidthTextbox"
                                            onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="PublisherLabel" runat="server" Text="Publisher"></asp:Label>
                                        <asp:Label ID="PublisherLabelM" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5 display-flex">
                                        <acc:AutoCompleteControl ID="PublisherTextBox" runat="server" MinimumPrefixLength="2"
                                            TabIndex="1" ValidateOnTextChanged="false" ContextKey="sLibrary.BookPublisher"
                                            DisplayLoadingStatus="true" FirstRowSelected="false" MaxLength="200" AutoPostBack="true" />
                                        <asp:ImageButton ID="PublisherSearchButton" runat="server" SkinID="FindImage" ToolTip="Publisher Search"
                                            ImageUrl="~/Images/icons/icon_find.gif" TabIndex="2" OnClick="PublisherSearchButton_OnClick" meta:resourcekey="PublisherSearchButtonResource1" />
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="AuthorLabel" runat="server" Text="Author"></asp:Label>
                                        <asp:Label ID="AuthorLabelM" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5 display-flex">
                                        <acc:AutoCompleteControl ID="AuthorTextBox" runat="server" MinimumPrefixLength="2"
                                            TabIndex="1" ValidateOnTextChanged="false" ContextKey="sLibrary.BookAuthor"
                                            DisplayLoadingStatus="true" FirstRowSelected="false" MaxLength="200" AutoPostBack="true" />
                                        <asp:ImageButton ID="AuthorSearchButton" runat="server" SkinID="FindImage" ToolTip="Author Search"
                                            ImageUrl="~/Images/icons/icon_find.gif" TabIndex="2" OnClick="AuthorSearchButton_OnClick" meta:resourcekey="AuthorSearchButtonResource1" />
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="SupplierLabel" runat="server" Text="Supplier"></asp:Label>
                                        <asp:Label ID="SupplierLabelM" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <div class="fLeft pRight5 display-flex">
                                            <acc:AutoCompleteControl ID="SupplierTextBox" runat="server" MinimumPrefixLength="2"
                                                TabIndex="1" Width="150px" ValidateOnTextChanged="false" ContextKey="sLibrary.BookSupplier"
                                                DisplayLoadingStatus="true" FirstRowSelected="false" MaxLength="200" AutoPostBack="true" />
                                            <asp:ImageButton ID="SupplierSearchButton" runat="server" SkinID="FindImage" ToolTip="Supplier Search"
                                                ImageUrl="~/images/icons/icon_find.gif" TabIndex="2" OnClick="SupplierSearchButton_OnClick" meta:resourcekey="SupplierSearchButtonResource1" />
                                        </div>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="SubjectLabel" runat="server" Text="Subject"></asp:Label>
                                        <asp:Label ID="SubjectLabelM" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5 ">
                                        <div class="fLeft pRight5 display-flex">
                                            <acc:AutoCompleteControl ID="SubjectTextBox" runat="server" MinimumPrefixLength="2"
                                                TabIndex="1" ValidateOnTextChanged="false" ContextKey="sLibrary.BookSubject"
                                                DisplayLoadingStatus="true" FirstRowSelected="false" MaxLength="200" AutoPostBack="true" />
                                            <asp:ImageButton ID="SubjectSearchButton" runat="server" SkinID="FindImage" ToolTip="Subject Search"
                                                ImageUrl="~/Images/icons/icon_find.gif" TabIndex="2" OnClick="SubjectSearchButton_OnClick" meta:resourcekey="SubjectSearchButtonResource1" />
                                        </div>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="LanguageLabel" runat="server" Text="Language"></asp:Label>
                                        <asp:Label ID="LanguageLabelM" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5 ">
                                        <div class="fLeft pRight5 display-flex">
                                            <acc:AutoCompleteControl ID="LanguageTextBox" runat="server" MinimumPrefixLength="2"
                                                TabIndex="1" ValidateOnTextChanged="false" ContextKey="sLibrary.BookLanguage"
                                                DisplayLoadingStatus="true" FirstRowSelected="false" MaxLength="200" AutoPostBack="true" />
                                            <asp:ImageButton ID="LanguageSearchButton" runat="server" SkinID="FindImage" ToolTip="Language Search"
                                                ImageUrl="~/Images/icons/icon_find.gif" TabIndex="2" OnClick="LanguageSearchButton_OnClick" meta:resourcekey="LanguageSearchButtonResource1" />
                                        </div>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="LocationLabel" runat="server" Text="Location"></asp:Label>
                                        <asp:Label ID="LocationLabelM" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5 ">
                                        <div class="fLeft pRight5 display-flex">
                                            <acc:AutoCompleteControl ID="LocationTextBox" runat="server" MinimumPrefixLength="2"
                                                TabIndex="1" ValidateOnTextChanged="false" ContextKey="sLibrary.BookLocation"
                                                DisplayLoadingStatus="true" FirstRowSelected="false" MaxLength="200" AutoPostBack="true" />
                                            <asp:ImageButton ID="LocationSearchButton" runat="server" SkinID="FindImage" ToolTip="Location Search"
                                                ImageUrl="~/Images/icons/icon_find.gif" TabIndex="2" OnClick="LocationSearchButton_OnClick" meta:resourcekey="LocationSearchButtonResource1" />
                                        </div>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="EditionLabel" runat="server" Text="Edition"></asp:Label>
                                        <asp:Label ID="EditionLabelM" runat="server" SkinID="MandatoryLabel"></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>
                                        <asp:Label ID="ISBNNumberLabelM" runat="server" SkinID="MandatoryLabel"></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="YearOfPublicationLabel" runat="server" Text="Year Of Publication"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="YearOfPublicationTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" CssClass="inputbox" MaxLength="50"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>

                                <div class="himsBoxHeader card-head inner">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="gridHeaderText">
                                            <header>
                                                <asp:Label ID="OtheRinfoLabel" runat="server" Text="Other Information" Font-Bold="true" ForeColor="#3c8dbc"></asp:Label>
                                            </header>
                                        </div>
                                    </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="outerBox11 pTop5 col-md-3">
                                    <div class="select">
                                        <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>
                                        <asp:CheckBoxList ID="BookTagCheckBoxList" runat="server" AutoPostBack="true" RepeatColumns="3"
                                            RepeatDirection="Vertical" OnSelectedIndexChanged="BookTagCheckBox_OnSelectedIndexChanged"
                                            class="pTop10">
                                        </asp:CheckBoxList>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="AgeGroupLabel" runat="server" Text="Book Age Group"></asp:Label>
                                        <asp:Label ID="AgeGroupLabelM" runat="server" SkinID="MandatoryLabel"></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" SkinID="MandatoryLabel"></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:TextBox ID="BookStatusTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" AutoPostBack="false" SkinID="CustomWidthTextbox"
                                            Text="Availabel"></asp:TextBox>
                                    </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:TextBox ID="BookDepartmentTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="150" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ClassNumberLabel" runat="server" Text="Class Number"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="ClassNumberTextBox" 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="BookVolumeLabel" runat="server" Text="Book Volume"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="BookVolumeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="5" SkinID="CustomWidthTextbox"
                                            onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                    </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 ID="ClassificationNoTextBox" 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="AccessionNoLabel" runat="server" Text="Accession No"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="AccessionNoTextBox" 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="NoOfPagesLabel" runat="server" Text="No Of Pages"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="NoOfPagesTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" SkinID="CustomWidthTextbox"
                                            onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="BookRemarkLabel" runat="server" Text="Book Remark"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="BookRemarkTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" CssClass="inputbox" MaxLength="300" TextMode="MultiLine"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="Label3" runat="server" Text="Book Group 1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="BookGroup1DropDownList" 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="Label4" runat="server" Text="Book Group 2"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="BookGroup2DropDownList" SkinID="CustomWidthDropDownList"
                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="himsBoxHeader card-head inner">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="gridHeaderText">
                                            <header>
                                                <asp:Label ID="PurchaseLabel" runat="server" Text="Purchase Information" Font-Bold="true" ForeColor="#3c8dbc"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="PriceLabel" runat="server" Text="Price"></asp:Label>
                                        <asp:Label ID="PriceLabelM" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="PriceTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" SkinID="CustomWidthTextbox" MaxLength="13" onblur="javascript:return fnValidateDecimal(this,10,2)"
                                            onKeypress="javascript:return MaskDecimal(event,10,2)"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CurrencyLabel" runat="server" Text="Currency"></asp:Label>
                                        <asp:Label ID="CurrencyLabelM" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5 display-flex">
                                        <acc:AutoCompleteControl ID="CurrencyTextBox" runat="server" MinimumPrefixLength="2"
                                            TabIndex="1" ValidateOnTextChanged="false" ContextKey="sFinanceCommon.tCurrencyMaster"
                                            DisplayLoadingStatus="true" FirstRowSelected="false" MaxLength="200" AutoPostBack="true" />
                                        <asp:ImageButton ID="CurrencySearchButton" runat="server" SkinID="FindImage" ToolTip="Currency Search"
                                            ImageUrl="~/Images/icons/icon_find.gif" TabIndex="2" OnClick="CurrencySearchButton_OnClick" meta:resourcekey="CurrencySearchButtonResource1" />
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="DateOfPurchaseLabel" runat="server" Text="Date Of Purchase"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl DisplayDatePicker="true" ID="PurchaseDatePickerControl" Visible="true"
                                                runat="server" />
                                        </div>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="BillNumberLabel" runat="server" Text="Bill Number"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="BillNumberTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" CssClass="inputbox" MaxLength="100"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="BookEntryDateLabel" runat="server" Text="Book Entry Date"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl ID="BookEntryDateDatePicker" runat="server" Visible="true" DisplayDatePicker="true"></Date:DatePickerControl>
                                        </div>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="Label5" runat="server" Text="Book Image By"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="3"
                                            RepeatDirection="Horizontal" class="pTop10">
                                            <asp:ListItem Text="Offline" Value="1" onclick="ChkList(this);" Selected="True"></asp:ListItem>
                                            <asp:ListItem Text="Online" Value="2" onclick="ChkList(this);"></asp:ListItem>
                                        </asp:CheckBoxList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <asp:Image ID="Bookimage" runat="server" Height="60px" Width="60px" AlternateText="" Visible="false" />
                                    <%--  <div class="fLeft pRight5" id="UploadDiv" runat="server"> 
                                    </div>--%>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="Label2" runat="server" Text="" Font-Bold="true" ForeColor="Red"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5" id="Div3" runat="server">
                                        <asp:HiddenField ID="AttachmentSizeHiddenField" runat="server" />
                                        <a href="javascript:;" id="Imglink" onclick="OpenFileUpload();" class="btn btn-browser" runat="server" style="display: none;">
                                            <i class="fa fa-arrow-down"></i>Browse</a>
                                        <asp:Button runat="server" ID="RefreshButton" Text="Refresh" OnClick="RefreshButton_OnClick" Style="display: none;"
                                            SkinID="0" CssClass="btn-assign btn fas" />
                                        <asp:Button ID="BookImageSearchButton" runat="Server" Text="&#xf002; Book Image Search" SkinID="0" CssClass="fas btn fa-search m-b-10" OnClick="BookImageSearchButton_Click" Style="display: none;" />
                                        <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" AllowMultiple="true" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            </div>
            </div>
        </ContentTemplate>
        <Triggers>
            <asp:PostBackTrigger ControlID="Imglink" />
        </Triggers>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/book-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/book-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
