<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_TimeTable_ClassRoom, App_Web_gfuvrgrk" title="Untitled Page" uiculture="auto" meta:resourcekey="PageResource1" 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" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="MainUpdatePanel" 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="155"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                                    <div class="himsBoxHeader card-head">
                                        <asp:Panel ID="TopPanel" runat="server" meta:resourcekey="TopPanelResource1">
                                            
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <i class="fas fa-search"></i>
                                                    <asp:Label ID="headerTextLabel" runat="server" Text="Search"></asp:Label>
                                                        </header>
                                                </div>
                                                <div class="fRight mt-27" style="float:right">
                                                    <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0" class="btn btn-add fas" Text="&#xf067; Add" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <asp:Panel ID="DetailPanel" runat="server"
                                        meta:resourcekey="DetailPanelResource1">
                                        <div class="himsBoxContent card-body">
                                            <div class="contentHolder">
                                                <asp:Panel ID="PanelSearch" runat="server" meta:resourcekey="PanelSearchResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="CodeLabel" Text="Code" runat="server" meta:resourcekey="CodeLabelResource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="CodeSearchTextbox" onkeypress="return fnKeyPressForDescriptionField(event)"
                                                                onblur="return fnonTextChangeDescriptionField(this)" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" MaxLength="100"
                                                                meta:resourcekey="CodeSearchTextboxResource1"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="TitleLabel" Text="Title" runat="server"
                                                                meta:resourcekey="TitleLabelResource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="TitleSearchTextBox" onkeypress="return fnKeyPressForDescriptionField(event)"
                                                                onblur="return fnonTextChangeDescriptionField(this)" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" MaxLength="100"
                                                                meta:resourcekey="TitleSearchTextboxResource1"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBoxPreBtn pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SchoolBuildingLabel" Text="SchoolBuilding" runat="server"
                                                                meta:resourcekey="SchoolBuildingLabelResource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="SchoolBuildingDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" CssClass="form-control"
                                                                meta:resourcekey="SchoolBuildingSearchDropDownListResource1">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                  
                                                    <div class="alignCenter pTop5 col-md-12 center">
                                                        <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" meta:resourcekey="ResetButtonResource1" class="btn-reset btn fas"/>
                                                    </div>
                                                   
                                                    <br />
                                                </asp:Panel>
                                                <div id="AllergyGridDiv" runat="server" visible="False">
                                                    
                                                    <div class="himssuHeader7WireBox col-md-12" id="PatientRelationDiv" runat="server" style="width: 100%">
                                                        <div class="himsBoxHeader" id="ListDiv" runat="server" visible="False">
                                                            
                                                            <div class="himsBoxTitle" style="width: 99%">
                                                                <div align="right" class="fRight" style="margin-top: 0px;">
                                                                    <uc1:GridViewPager ID="ClassRoomGridView_GridViewPager" runat="server" OnFirstRecordClick="ClassRoomGridView_GridViewPager_FirstRecordClick"
                                                                        OnLastRecordClick="ClassRoomGridView_GridViewPager_LastRecordClick" OnNextRecordClick="ClassRoomGridView_GridViewPager_NextRecordClick"
                                                                        OnPrevRecordClick="ClassRoomGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="ClassRoomGridView_GridViewPager_TextBoxValueChange"
                                                                        ParentGridView="ClassRoomGridView" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent card-body table-responsive">
                                                            <asp:GridView ID="ClassRoomGridView" runat="server" AutoGenerateColumns="False"
                                                                DataKeyNames="Id" CssClass="table table-striped table-bordered table-hover"
                                                                OnPageIndexChanging="ClassRoomGridView_PageIndexChanging" ShowHeader="True" EmptyDataText="No Data Available"
                                                                meta:resourcekey="ClassRoomGridViewResource1">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                        HeaderText="">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="LinkButton" runat="server" CommandName="Select" Text="Select"
                                                                                CausesValidation="false" OnClick="LinkButton_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Code" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="CodeLabel" runat="server" CssClass="boxEllips" ToolTip='<%# Bind("Code") %>'
                                                                                Text='<%# Bind("Code") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Title" meta:resourcekey="TemplateFieldResource2" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="TitleLabel" runat="server" CssClass="boxEllips" ToolTip='<%# Bind("Title") %>'
                                                                                Text='<%# Bind("Title") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                    </asp:TemplateField>
                                                                    <asp:BoundField DataField="Remark" HeaderText="Remark"
                                                                        meta:resourcekey="BoundFieldResource3" HeaderStyle-HorizontalAlign="Center">
                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                    </asp:BoundField>
                                                                    <asp:BoundField HeaderText="InActive" DataField="IsObsolete"
                                                                        meta:resourcekey="BoundFieldResource1" HeaderStyle-HorizontalAlign="Center">
                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                    </asp:BoundField>

                                                                    <asp:BoundField DataField="Id" Visible="False" meta:resourcekey="BoundFieldResource2">
                                                                        <ItemStyle />
                                                                    </asp:BoundField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </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">
                                                <asp:Label ID="Label1" runat="server" Text="Class Room" meta:resourcekey="Label1Resource1" />
                                            </div>
                                        </div>
                                        <div class="fRight mt-27 pagination display-flex" style="float:right">
                                         
                                                        <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>
                                                            
                                                            <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                         &nbsp;    <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                          &nbsp;   <asp:Label ID="ofLabel" Text="of" runat="server" />
                                                          &nbsp;   <asp:Label ID="TotalRecord" runat="server" />
                                                            &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>
                                                 
                                                       &nbsp; &nbsp; <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" class="btn btn-back fas" Text="&#xf30a; Back" />
                                                  
                                        </div>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="CodeAddLabel" runat="server" Text="Code" SkinID="MandatoryLabel"
                                                        meta:resourcekey="CodeAddLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="CodeTextbox" onkeypress="return fnKeyPressForDescriptionField(event)"
                                                        onblur="return fnonTextChangeDescriptionField(this)" runat="server" MaxLength="100"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        meta:resourcekey="CodeTextboxResource1"></asp:TextBox>
                                                    <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                </div>
                                            </div>
                                           
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SchoolBuildingADDLabel" runat="server" Text="SchoolBuilding"
                                                        SkinID="MandatoryLabel" meta:resourcekey="SchoolBuildingLabelResource1"></asp:Label>
                                                </div>
                                                <div class="pRight5">
                                                    <asp:DropDownList ID="SchoolBuildingAddDropDownList" runat="server" CssClass="form-control"
                                                        onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()"
                                                        meta:resourcekey="CountryDropDownListResource1">
                                                    </asp:DropDownList>

                                                </div>
                                            </div>
                                           
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="TitleAddLabel" runat="server" Text="Title"
                                                        meta:resourcekey="TitleAddLabelResource" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="TitleAddTextBox" onkeypress="return fnKeyPressForDescriptionField(event)"
                                                        onblur="return fnonTextChangeDescriptionField(this)" runat="server" MaxLength="100"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></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" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="MultiLineTextBox" TextMode="MultiLine" runat="server"
                                                        MaxLength="100"> </asp:TextBox>
                                                </div>
                                            </div>
                                         
                                            <div class="outerBox pTop15 col-md-3">
                                                <div class="fLeft">
                                                    <asp:CheckBox ID="IsSharedCheckBox" runat="server"
                                                        meta:resourcekey="IsSharedCheckBoxResource1" Text="IsShared" />                                                
                                                </div>
                                            </div>
                                            
                                            <div class="outerBox pTop15 col-md-3">
                                                <div class="fLeft">
                                                    <asp:CheckBox ID="ObsoleteCheckBox" runat="server"
                                                        meta:resourcekey="ObsoleteCheckBoxResource1"  Text="InActive"/>                                                
                                                </div>
                                            </div>
                                           
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </tr>
                    </table>
                </div>
            </div>
          
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../JavaScript/rjs/encrypt/class-room-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main="../../JavaScript/rjs/class-room" src="../../JavaScript/rjs/require.js"></script>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/class-room")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
