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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"  TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">               
              
                            <div class="dashBoardLeftCont" valign="top">
                                <div class="himssuHeader3WireBox">                                    
                                    <table width="0px" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="120"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div  class="whiteboxpaddingleft row">                               
                                <div class="himssuHeader5WireBox card card-box">
                                    <div class="himsBoxHeader card-head">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <i class="fas fa-star"></i>
                                                <asp:Label ID="SelectLibraryLabel" runat="server" Text="Select Library"></asp:Label>
                                            </div>
                                        </div>
                                    </div>                                   
                                        <div class="himsBoxContent card-body">
                                            <div class="contentHolder">
                                                <div class="outerBox col-md-3 pTop5">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="LibraryLabel" runat="server" Text="Library" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft">
                                                        <asp:DropDownList ID="LibraryDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                           cssclass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                               
                                                <div class="outerBox col-md-12 pb5 pTop5">
                                                    <div class="fLeft">
                                                        <asp:Button ID="SelectButton" runat="server" OnClick="SelectLibrary_OnClick"
                                                         Text="&#Xf245; Select" SkinID="0" CssClass="btn btn-select fas" />
                                                        <asp:Button ID="ResetButton" runat="server" Text="&#xf12d; Clear" SkinID="0" CssClass="btn btn-clear fas" OnClick="ResetButton_OnClick" />      
                                                    </div>
                                                </div>                                           
                                                <div class="spacer">
                                                    <img src="../../Images/spacer.gif" />
                                                </div>                                         
                                            </div>
                                        </div>        
                                </div>    
                            </div>
                        </tr>
                    </table>                    
                </div>                
            </div>     
            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
   <%--<script data-main="../../JavaScript/rjs/encrypt/select-library-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/select-library")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
    <script>
        //Added by dhananajay for mantis Start- 35605
        function RedirectToLibrary(LibraryURL) {
            var newTab = window.open(LibraryURL, '_blank');
            window.location.href = '../../Pages/BaseFramework/MyDashBoard.aspx';
        }
        //Added by dhananajay for mantis End - 35605
    </script>
</asp:Content>