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

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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" 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="175"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <Hostel:HostelControl ID="HostelUserControl" runat="server" Visible="true" />
                                <div class="himssuHeader2WireBox">
                                    <div class="contentHolder" style="padding-top: 0px; padding-left: 0px; padding-right: 0px">
                                        <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-list-ul"></i>
                                                        <asp:Label ID="Label1" runat="server" Text="Assign Room Asset Bulk"></asp:Label>
                                                        </header>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent card-body">
                                                <asp:Panel ID="DetailPanel" runat="Server">
                                                    <div class="contentHolder">
                                                        <div class="outerBox pTop5 col-md-3" style="margin-bottom: 15px">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="RoomCategoryLabel" Text="Room Category" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="RoomCategoryDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()"
                                                                    SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                </asp:DropDownList>
                                                            </div>
                                                            <asp:HiddenField ID="StudentIdHiddenField" runat="server" />
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="BuildingLabel" runat="server" Text="Building"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="BuildingDropDownList" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="RoomLabe" runat="server" Text="Room"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="RoomDropDownList" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                       
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label2" runat="server" Text="Asset Type"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="AssettypeDropDownList" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        
                                                        <div class="alignCenter pTop5 col-md-12">
                                                            <asp:Button ID="SearchButton" runat="server" OnClick="SearchButton_Click" class="btn-search btn fas" SkinID="0" Text="&#xf002; Search" />
                                                            <asp:Button ID="ResetButton" runat="server" OnClick="ResetButton_Click" Text="&#xf0e2; Reset" SkinID="0" class="btn-reset btn fas" />
                                                            <asp:Button ID="ExportButton" runat="server" OnClick="ExportButton_Click" Text="&#xf093; Export" SkinID="0" class="btn-examcommon btn fas" />
                                                        </div>
                                                    </div>
                                                   
                                                    <div id="Div1" class="himssuHeader1WireBox col-md-12" runat="server" style="width: 100%; height: 100%" visible="false">
                                                        <div id="GridViewPagerDiv" runat="server" visible="True">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="fRight">
                                                                </div>
                                                                <div class="himsBoxHeader card-head inner" id="PatientRelationDiv" runat="server" style ="display:none">
                                                                <%--<div class="gridHeaderText">
                                                                <header>
                                                                <asp:Label ID="AssignRouteLabel" runat="server" Text="Assign Room Asset Bulk"></asp:Label>
                                                                </header>
                                                                </div>--%>
                                                                </div>
                                                            </div>

                                                            <div class="himsBoxContent table-responsive">
                                                                <asp:GridView ID="RoomListGridView" runat="server" AutoGenerateColumns="False"
                                                                    EmptyDataText="No Records Found !!" AllowPaging="false"
                                                                    ShowHeader="true" DataKeyNames="RoomId,SourceId"
                                                                    CssClass="table table-striped table-bordered table-hover">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="RoomCategory" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="RoomCategory" SkinID="CustomWidthTextBox" runat="server" Text='<%#((System.Data.DataRowView)Container.DataItem)["RoomCategory"] %>' Width="60px">
                                                                                </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Building" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Building" SkinID="CustomWidthTextBox" runat="server" Text='<%#((System.Data.DataRowView)Container.DataItem)["Building"] %>' Width="60px">
                                                                                </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Room" ItemStyle-Width="6%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Room" SkinID="CustomWidthTextBox" runat="server" Text='<%#((System.Data.DataRowView)Container.DataItem)["Room"] %>'>
                                                                                </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="10%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Name" SkinID="CustomWidthTextBox" runat="server" Text='<%#((System.Data.DataRowView)Container.DataItem)["Name"] %>'>
                                                                                </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Code" ItemStyle-Width="6%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Code" SkinID="CustomWidthTextBox" runat="server" Text='<%#((System.Data.DataRowView)Container.DataItem)["Code"] %>' Width="60px">
                                                                                </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="SUID" ItemStyle-Width="6%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="SUID" SkinID="CustomWidthTextBox" runat="server" Text='<%#((System.Data.DataRowView)Container.DataItem)["SUID"] %>' Width="60px">
                                                                                </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassDivisionName" SkinID="CustomWidthTextBox" runat="server" Text='<%#((System.Data.DataRowView)Container.DataItem)["ClassDivisionName"] %>' Width="60px">
                                                                                </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                         <asp:TemplateField HeaderText="Bed Number" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                               <asp:TextBox ID="BedNumberTextBox" runat="server" SkinID="CustomWidthTextBox"  Text='<%# Eval("BedNumber") %>'>
                                                                               </asp:TextBox>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="AssetType1" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <HeaderTemplate>
                                                                                <asp:Label ID="AssetType1Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                                <asp:Label ID="AssetType1HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            </HeaderTemplate>
                                                                            <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                            <ItemTemplate>
                                                                                <asp:DropDownList ID="AssetType1DropDownList" SkinID="CustomWidthTextBox" runat="server" CssClass="form-control">
                                                                                </asp:DropDownList>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="AssetType2" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <HeaderTemplate>
                                                                                <asp:Label ID="AssetType2Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                                <asp:Label ID="AssetType2HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            </HeaderTemplate>
                                                                            <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                            <ItemTemplate>
                                                                                <asp:DropDownList ID="AssetType2DropDownList" SkinID="CustomWidthTextBox" runat="server" CssClass="form-control">
                                                                                </asp:DropDownList>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="AssetType3" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <HeaderTemplate>
                                                                                <asp:Label ID="AssetType3Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                                <asp:Label ID="AssetType3HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            </HeaderTemplate>
                                                                            <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                            <ItemTemplate>
                                                                                <asp:DropDownList ID="AssetType3DropDownList" SkinID="CustomWidthTextBox" runat="server" CssClass="form-control">
                                                                                </asp:DropDownList>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="AssetType4" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <HeaderTemplate>
                                                                                <asp:Label ID="AssetType4Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                                <asp:Label ID="AssetType4HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            </HeaderTemplate>
                                                                            <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                            <ItemTemplate>
                                                                                <asp:DropDownList ID="AssetType4DropDownList" SkinID="CustomWidthTextBox" runat="server" CssClass="form-control">
                                                                                </asp:DropDownList>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="AssetType5" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <HeaderTemplate>
                                                                                <asp:Label ID="AssetType5Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                                <asp:Label ID="AssetType5HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            </HeaderTemplate>
                                                                            <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                            <ItemTemplate>
                                                                                <asp:DropDownList ID="AssetType5DropDownList" SkinID="CustomWidthTextBox" runat="server" CssClass="form-control">
                                                                                </asp:DropDownList>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                         <asp:TemplateField HeaderText="AssetType6" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <HeaderTemplate>
                                                                                <asp:Label ID="AssetType6Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                                <asp:Label ID="AssetType6HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            </HeaderTemplate>
                                                                            <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                            <ItemTemplate>
                                                                                <asp:DropDownList ID="AssetType6DropDownList" SkinID="CustomWidthTextBox" runat="server" CssClass="form-control">
                                                                                </asp:DropDownList>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="AssetType7" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <HeaderTemplate>
                                                                                <asp:Label ID="AssetType7Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                                <asp:Label ID="AssetType7HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            </HeaderTemplate>
                                                                            <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                            <ItemTemplate>
                                                                                <asp:DropDownList ID="AssetType7DropDownList" SkinID="CustomWidthTextBox" runat="server" CssClass="form-control">
                                                                                </asp:DropDownList>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="AssetType8" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <HeaderTemplate>
                                                                                <asp:Label ID="AssetType8Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                                <asp:Label ID="AssetType8HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            </HeaderTemplate>
                                                                            <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                            <ItemTemplate>
                                                                                <asp:DropDownList ID="AssetType8DropDownList" SkinID="CustomWidthTextBox" runat="server" CssClass="form-control">
                                                                                </asp:DropDownList>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="AssetType9" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <HeaderTemplate>
                                                                                <asp:Label ID="AssetType9Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                                <asp:Label ID="AssetType9HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            </HeaderTemplate>
                                                                            <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                            <ItemTemplate>
                                                                                <asp:DropDownList ID="AssetType9DropDownList" SkinID="CustomWidthTextBox" runat="server" CssClass="form-control">
                                                                                </asp:DropDownList>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="AssetType10" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <HeaderTemplate>
                                                                                <asp:Label ID="AssetType10Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                                <asp:Label ID="AssetType10HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            </HeaderTemplate>
                                                                            <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                            <ItemTemplate>
                                                                                <asp:DropDownList ID="AssetType10DropDownList" SkinID="CustomWidthTextBox" runat="server" CssClass="form-control">
                                                                                </asp:DropDownList>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </div>
                                </div>                                
                            </div>                       
                </div>
            </div>
            
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/room-list-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/room-list")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
