<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_StudentManagement_SelectEnrollmentStatus, App_Web_rmwkgjb4" 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="AssignOrganizationSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <div class="himssuHeader3WireBox">
                            <table>
                                <tr>
                                    <td>
                                        <div class="himsBoxContent">
                                            <div class="leftUlMenu">
                                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="102"
                                                    Visible="true" runat="server" />
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div class="row whiteboxpaddingleft">
                            <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                                <div class="himsBoxHeader card-head">
                                    <asp:Panel ID="SearchHeaderPanel" runat="server" meta:resourcekey="SearchHeaderPanelResource1">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                    <i class="fas fa-search"></i>
                                                    <asp:Label ID="SearchHeaderLabel" runat="server" Text="Search"></asp:Label>
                                                </header>
                                            </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" runat="server">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="OrganizationLabel" runat="server" Text="Organization"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="OrganizationDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="OrganizationDropDownList_OnSelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>

                                            <div class="himssuHeader1WireBox col-md-12 pTop5">
                                                <div id="AssignOrganizationListGridDiv" runat="server" visible="false">
                                                    <div id="EnrollmentStatusOrgGridViewPagerDiv" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent table-responsive">
                                                        <asp:GridView runat="server" ID="EnrollmentStatusGridView" AutoGenerateColumns="False"
                                                            EmptyDataText="No records available for the seacrh criteria!"
                                                            AllowPaging="false" PageSize="10" CssClass="table table-striped table-bordered table-hover"
                                                            ShowHeader="True" meta:resourcekey="EnrollmentStatusGridViewResource1" DataKeyNames="EnrollmentStatusId">
                                                            <Columns>
                                                                <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%">
                                                                    <HeaderTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" onclick="CheckAll(this);" />
                                                                            <span></span>
                                                                        </label>
                                                                    </HeaderTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                    <ItemTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="SelectCheckBox" runat="server" Checked='<%# Eval("IsObsolete") %>' />
                                                                            <span></span>
                                                                        </label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="EnrollmentStatus" ItemStyle-Width="50%" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="EnrollmentStatusLabel" runat="server" Text='<%#Eval("EnrollmentStatus") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Student Status" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentStatusLabel" runat="server" Text='<%#Eval("StudentStatus") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>

                            </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>
