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

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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="AssignHouseSearchUpdatePanel" runat="server">
        <ContentTemplate>
             <div id="divContentPage" class="divcontentpagemargin">
               
                            <td class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">
                                    
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="108" Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            
                                </div>
                            </td>
                            <div class="whiteboxpaddingleft row">
                                <div class="himssuHeader5WireBox card card-box">
                                    <div class="himsBoxHeader card-head">
                                        <asp:Panel ID="SearchHeaderPanel" runat="server" meta:resourcekey="SearchHeaderPanelResource1">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <asp:Label ID="SearchHeaderLabel" runat="server" Text="Search"></asp:Label>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                        <div class="himsBoxContent card-body">
                                            <div class="contentHolder">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchClassLabel" runat="server" Text="Class"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="SearchClassDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                            OnSelectedIndexChanged="SearchClassDropDownList_OnSelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchDivisionLabel" runat="server" Text="Division"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="SearchDivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchHouseGroupLabel" Text="House Group" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="SearchHouseGroupDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" class="form-control"
                                                            AutoPostBack="true" OnSelectedIndexChanged="SearchHouseGroupDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchHouseLabel" runat="server" Text="House"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="SearchHouseDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            OnSelectedIndexChanged="SearchHouseDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchStatusLabel" runat="server" Text="Status"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="SearchStatusDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                              
                                                <div class="alignCenter pTop5 col-md-12">
                                                    <asp:Button ID="SearchButton" runat="server" Text="&#xf002;  Search" OnClick="SearchButton_Click"
                                                        SkinID="0" CssClass="btn-search btn fas" />
                                                    <asp:Button ID="ClearButton" runat="server" Text="&#xf0e2; Reset" OnClick="ClearSearchControls_Click"
                                                        meta:resourcekey="ClearButtonResource1"  SkinID="0" CssClass="btn-reset btn fas"/>
                                                    <asp:Button ID="AutoGenerateButton" runat="server" Text="&#Xf079; Auto Generate" OnClick="AutoGenerateButton_Click"
                                                        meta:resourcekey="AutoGenerateButtonResource1"  SkinID="0" CssClass="btn-generate btn fas"/>
                                                </div>
                                                <div class="fRight mt-27 display-flex" id="HouseDropDownList_ApplyAllDiv" runat="server">
                                                    <asp:DropDownList runat="server" ID="HouseDropDownList_ApplyAll" SkinID="CustomWidthDropDownList"
                                                        class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                    <asp:Button ID="ApplyAllButton" runat="server"
                                                        Text="Apply All" CssClass="btn btn-apply" SkinID="0" OnClick="ApplyAllButton_Click" />
                                                </div>
                                                <div id="AssignHouseListGridDiv" runat="server" visible="false">
                                                   
                                                    <div class="himssuHeader1WireBox col-md-12 pb5 mt2">
                                                        <div id="AssignHouseListGridViewPagerDiv" runat="server" visible="false">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent ">
                                                            <div class="table-responsive">
                                                            <asp:GridView runat="server" ID="AssignHouseListGridView"  AutoGenerateColumns="False"
                                                                EmptyDataText="No records available for the seacrh criteria!" CssClass="table table-striped table-bordered table-hover"
                                                                AllowPaging="false" PageSize="10" DataKeyNames="StudentId,HouseId,DivisionId" OnRowDataBound="AssignHouseListGridView_RowDataBound"
                                                                ShowHeader="true" meta:resourcekey="AssignHouseListGridViewResource1">
                                                                <Columns>
                                                                    <asp:BoundField DataField="ClassName" HeaderText="Class" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="RollNo" HeaderText="Roll No" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Code" HeaderText="Id No" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left" />
                                                                    <asp:TemplateField HeaderText="House" ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:DropDownList runat="server" ID="HouseDropDownList" SkinID="CustomWidthDropDownList"
                                                                                class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                                </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                   
                                </div>
                            </div>
                       
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>
