<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hostel_SelectHostel, App_Web_qgbsguup" 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="SelectHostelUpdatePanel" 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="107"
                                                            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="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                               <i class="fas fa-mouse-pointer"></i> <asp:Label ID="SelectHostelLabel" runat="server" Text="Select Hostel"></asp:Label>
                                         </header>
                                                    </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <div class="contentHolder">
                                            <div class="outerBox col-md-4 pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="HostelLabel" runat="server" Text="Hostel"
                                                        SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft">
                                                    <asp:DropDownList ID="HostelDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        
                                            <div class="outerBox pTop15 col-md-12 ">
                                                <div class="fLeft">
                                                    <asp:Button ID="SelectButton" runat="server"   Text="&#Xf245; Select" SkinID="0" CssClass="btn btn-select fas" OnClick="SelectHostel_OnClick" />
                                                    <asp:Button ID="ResetButton" runat="server" Text="&#xf12d; Clear" SkinID="0" CssClass="btn btn-clear fas" OnClick="ResetButton_OnClick" />
                                                </div>
                                            </div>
                                           
                                        </div>
                                    </div>
                                </div>
                            </div>
                       
                </div>
            </div>
            
        </ContentTemplate>
    </asp:UpdatePanel>
   <%--<script data-main="../../JavaScript/rjs/encrypt/select-hostel-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/select-hostel")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
     <script>
         //Added by dhananajay for mantis Start - 0035063
          function RedirectToHostel(HostelURL) {
              var newTab = window.open(HostelURL, '_blank');
            // Redirect the current page with an absolute path
            window.location.href = '../../Pages/BaseFramework/MyDashBoard.aspx';
          }
         //Added by dhananajay for mantis End - 0035063
         </script>
</asp:Content>