<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hostel_RoomMaster, App_Web_lakyuscc" 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/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/Hostel/HostelDetailBoxControl.ascx" TagName="HostelControl" TagPrefix="Hostel" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <hims:EmployeeSearchControl ID="EmployeeSearch" Visible="false" runat="server" />
            <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="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                                    <div class="himsBoxHeader card-head">
                                        <asp:Panel ID="Panel1" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <i class="fas fa-search"></i>
                                                    <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                                    </header>
                                                </div>
                                                <div class="fRight mt-27">
                                                    <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0"
                                                        class="btn btn-add fas" Text="&#xf067; Add" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="DetailPanel" runat="Server">

                                            <div class="contentHolder">
                                                <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchTitleLabel" Text="Name" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="SearchTitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                SkinID="CustomWidthTextBox" runat="Server" MaxLength="100"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchRoomCategoryLabel" runat="server" Text="Room Category"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="SearchRoomCategoryDropDownList" 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="SearchBuildingLabel" runat="server" Text="Building"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="SearchBuildingDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    
                                                    <div class="alignCenter pTop5 pTop5 col-md-12">
                                                        <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click"
                                                            SkinID="0" class="btn-search btn fas" />
                                                        <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click" 
                                                            SkinID="0" class="btn-reset btn fas" />
                                                    </div>
                                                   
                                                </asp:Panel>
                                                <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server">
                                                    <div id="ReasonMasterDetailDiv" visible="false" runat="server">
                                                        
                                                        <div class="himsBoxHeader card-head inner" id="PatientRelationDiv" visible="false" runat="server">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div align="right" class="fRight" style="margin-top: 0px;" runat="server" visible="false">
                                                                    <uc1:GridViewPager ID="RoomMasterGridView_GridViewPager" runat="server" OnFirstRecordClick="RoomMasterGridView_GridViewPager_FirstRecordClick"
                                                                        OnLastRecordClick="RoomMasterGridView_GridViewPager_LastRecordClick" OnNextRecordClick="RoomMasterGridView_GridViewPager_NextRecordClick"
                                                                        OnPrevRecordClick="RoomMasterGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="RoomMasterGridView_GridViewPager_TextBoxValueChange"
                                                                        ParentGridView="RoomMasterGridView" />
                                                                </div>
                                                            </div>
                                                            <div class="gridHeaderText">
                                                            <header>
                                                            <asp:Label ID="AssignRouteLabel" runat="server" Text="Room Master"></asp:Label>
                                                            </header>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent pTop5">
                                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                <ContentTemplate>
                                                                    <div id="Div5" runat="server" visible="false" class="table-responsive">
                                                                        <asp:GridView ID="RoomMasterGridView" runat="server" AutoGenerateColumns="False"
                                                                            OnRowDataBound="RoomMasterGridView_RowDataBound" OnPageIndexChanging="RoomMasterGridView_PageIndexChanging"
                                                                            AllowPaging="false" SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                                            EmptyDataText="No records found" DataKeyNames="Id" CssClass="table table-striped table-bordered table-hover">
                                                                            <Columns>
                                                                                <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                            Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:BoundField DataField="Title" HeaderText="Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:BoundField DataField="Remark" HeaderText="Remark" ItemStyle-Width="35%" HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:BoundField DataField="RoomCategory" HeaderText="Room Category" ItemStyle-Width="10%"
                                                                                    HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:BoundField DataField="BuildingName" HeaderText="Building" ItemStyle-Width="10%"
                                                                                    HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:BoundField DataField="RoomCharge" HeaderText="Room Charge" ItemStyle-Width="10%"
                                                                                    HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:BoundField DataField="StudentsPerRoom" HeaderText="Students Per Room" ItemStyle-Width="10%"
                                                                                    HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:TemplateField HeaderText="InActive" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Center"
                                                                                    ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="ObsoleteLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsObsolete").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                                <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                                    <div class="himsBoxHeader card-head">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                    <i class="fas fa-cog"></i>
                                                <asp:Label ID="ReasonMasterDetailLabel" runat="server" Text="Maintenance"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                        <div class="fRight mt-27 pagination display-flex">
                                            <table>
                                                <tr>
                                                    <td class="formLabel">
                                                        <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                                            <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowLlast.gif" CommandName="Page" CommandArgument="First"
                                                                OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-backward"></i>
                                                            </asp:LinkButton>
                                                            <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                                                OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play fa-rotate-180"></i>
                                                            </asp:LinkButton>
                                                            &nbsp; &nbsp;
                                                            <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                            <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                            <asp:Label ID="ofLabel" Text="of" runat="server" />
                                                            <asp:Label ID="TotalRecord" runat="server" />
                                                             &nbsp; &nbsp;
                                                            <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                                runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                                OnClick="NextImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play"></i>
                                                            </asp:LinkButton>
                                                            <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                                                OnClick="LastRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-forward"></i>
                                                            </asp:LinkButton>
                                                        </div>
                                                    </td>
                                                    <td>
                                                        &nbsp; &nbsp; <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                            class="btn btn-back fas" Text="&#xf30a;  Back" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="RoomCategoryLabel" runat="server" Text="Room Category" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="RoomCategoryDropDownList" 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="BuildingLabel" runat="server" Text="Building" SkinID="MandatoryLabel"></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="TitleLabel" runat="server" Text="Name" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="TitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                    <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                </div>
                                            </div>
                                          
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StudentsPerRoomLabel" runat="server" Text="Students Per Room"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="StudentsPerRoomTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        runat="server" SkinID="CustomWidthTextbox" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="RemarkLabel" runat="server" Text="Remark"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="RemarkTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="MultiLineTextBox"
                                                       onmouseenter="showHideTooltip()" MaxLength="100" TextMode="MultiLine"
                                                       ></asp:TextBox>
                                                </div>
                                            </div>
                                           
                                            <div class="outerBox pTop15 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:CheckBox ID="InActiveCheckBox" runat="server" Text="InActive" />
                                                </div>
                                            </div>                                       
                                           <div class="cBoth"></div>
                                        <br />
                                        <br />
                                            <asp:Panel ID="Panel3" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxHeader card-head inner" id="Div2" runat="server">
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <header>
                                                        <asp:Label ID="roominchargeLabel" runat="server" Text="Room incharge" Font-Bold="true"></asp:Label>
                                                        </header>
                                                    </div>
                                                </div>
                                                </div>
                                            </asp:Panel>
                                            
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="OrganizationLabel" Text="Organization" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>
                                        <asp:Panel ID="EmployeeSearchPanel" runat="server">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="EmployeeIdNoLabel" runat="server" Text="Code"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 display-flex">
                                                    <asp:TextBox ID="EmployeeIdNoTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                        MaxLength="200" AutoPostBack="true" OnTextChanged="EmployeeIdNoTextBox_TextChanged">
                                                    </asp:TextBox>
                                                    <asp:ImageButton SkinID="FindImage" ToolTip="Employee Search" ID="EmployeeIdNoImageButton"
                                                        runat="server" />
                                                    <asp:HiddenField ID="AssignedEmployeeIdHiddenField" runat="server" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="EmployeeNameLabel" runat="server" Text="Name"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="EmployeeNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="DepartmentLabel" runat="server" Text="Department"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="DepartmentTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                      
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:CheckBox ID="IsBulkRoomCheckBox" runat="server" Text="Add Bulk Room" AutoPostBack="true" OnCheckedChanged="IsBulkRoomCheckBox_CheckedChanged" />                                               
                                            </div>
                                        </div>
                                      
                                        <div id="BulkRoomDiv" runat="server" visible="false">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth pTop5">
                                                    <asp:Label ID="PrefixLabel" runat="server" Text="Prefix"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="PrefixTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                                        onmouseenter="showHideTooltip()"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth pTop5">
                                                    <asp:Label ID="FromRoomNoLabel" runat="server" Text="From Room No" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="FromRoomNoTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth pTop5">
                                                    <asp:Label ID="ToRoomNoLabel" runat="server" Text="To Room No" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="ToRoomNoTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                </div>
                                            </div>
                                            
                                            <div class="alignCenter pTop5 col-md-12">
                                                <asp:Button ID="SaveBulkButton" Text="&#xf0c7; Save Bulk" runat="Server" OnClick="SaveBulkButton_Click" SkinID="0" class="btn btn-save fas" />
                                            </div>
                                            
                                        </div>
                                     
                                        <div id="AssestRoomDiv" runat="server" visible="false">


                                            <div class="contentHolder">
                                                <asp:Panel ID="Panel2" runat="server" class="himsBoxHeader note note1">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxHeader card-head inner" id="Div3" runat="server">
                                                    <div class="himsBoxTitle">
                                                        <div class="headerText">
                                                            <header>
                                                            <asp:Label ID="Label2" runat="server" Text="Room asset" Font-Bold="true"></asp:Label>
                                                            </header>
                                                        </div>

                                                    </div>
                                                    </div>
                                                </asp:Panel>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="AssetTypeLabel" runat="server" Text="Asset Type" SkinID="MandatoryLabel"></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="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="AssetNumberLabel" runat="server" Text="Asset Number" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="AssetNumberTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class=" alignCenter pTop5 col-md-12">
                                                    <asp:Button ID="AddButton" runat="server" Width="60px" Text="&#xf067; Add"
                                                        meta:resourcekey="AddButtonResource1" SkinID="0" class="btn btn-add fas" OnClick="AddButton_Click" />
                                                </div>
                                               
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:CheckBox ID="AssetBulkCheckBox" runat="server" Text="Add   Bulk Room Asset" AutoPostBack="true" OnCheckedChanged="AssetBulkCheckBox_CheckedChanged" ClientIDMode="Static" />                                                        
                                                    </div>
                                                </div>
                                               
                                                <div class="contentHolder" id="AssetBulkDiv" runat="server" visible="false">
                                                    <asp:Panel ID="Panel4" runat="server" class="himsBoxHeader note note1">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxHeader card-head inner" id="Div4" runat="server">
                                                        <div class="himsBoxTitle">
                                                            <div class="gridHeaderText">
                                                                <header>
                                                                <asp:Label ID="Label1" runat="server" Text="Add Room Asset Bulk" Font-Bold="true"></asp:Label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                        </div>
                                                    </asp:Panel>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="PrifixLabel" runat="server" Text="Prifix" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="PrifixTextBox" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                            </asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="LenghthLabel" runat="server" Text="Length" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="LengthTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                runat="server" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="StartFromLabel" runat="server" Text="Start Number" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="StartFromTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                runat="server" SkinID="CustomWidthTextbox" onblur="return  isNumberKey(event)" onkeypress="return  isNumberKey(event)"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                   
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="EndFormLabel" runat="server" Text="End Number" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="EndFormTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                runat="server" SkinID="CustomWidthTextbox" onblur="return  isNumberKey(event)" onkeypress="return  isNumberKey(event)"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                   
                                                    <div class=" alignCenter pTop5 col-md-12">
                                                        <asp:Button ID="AddAssetBulkButton" runat="server" Text="&#xf067; AddAsset Bulk"
                                                            meta:resourcekey="AddAssetBulkButtonResource1" SkinID="0" class="btn btn-add fas" OnClick="AddAssetBulkButton_Click" />
                                                    </div>
                                                </div>
                                                <div class="himssuHeader7WireBox col-md-12">
                                                    <div class="himsBoxContent table-responsive">
                                                        <asp:GridView ID="RoomAssetMasterGridView" runat="server"
                                                            CssClass="table table-striped table-bordered table-hover" AutoGenerateColumns="False" EmptyDataText="No Records Found !!" AllowPaging="false"
                                                            ShowHeader="true" DataKeyNames="RoomId,Id">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="Asset Type" ItemStyle-Width="20%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="AssetTypenameLabel" runat="server" Text='<%# Bind("AssetType") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Asset Number" ItemStyle-Width="10%" ItemStyle-Wrap="true"
                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="AssetNumberrLabel" runat="server" Text='<%# Bind("AssetNumber") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField ShowHeader="true" HeaderText="Delete" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server"
                                                                            ImageUrl="~/Images/icons/icon_delete.gif" ToolTip="Delete" OnClick="DeleteImageButton_Click" />
                                                                    </ItemTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" Width="7%" />
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>                       
                </div>
            </div>
        </ContentTemplate>

    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/room-master-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/room-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
