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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <div class="himsBoxContent">
                            <div class="leftUlMenu">
                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="111"
                                    Visible="true" runat="server" />
                            </div>
                        </div>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fa fa-users"></i>
                                        <asp:Label ID="Label1" runat="server" Text="Assign Co-Scholastic Group"></asp:Label>
                                    </header>

                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <div class="cBoth">
                                    </div>
                                    <div class="outerBox pTop5  col-md-3">
                                        <div class="controLabelWidth">
                                            <asp:Label ID="ClassLabel" Text="Class" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                class="form-control" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 ">
                                        <div class="fLeft pRight5">
                                            <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                        </div>
                                    </div>
                                    <div id="Div1" class="himssuHeader6WireBox pTop5 col-md-12 pb5 mt2" runat="server" visible="true" >
                                        <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server" visible="True">
                                            <div class="headerText">
                                            <header>
                                                <asp:Label ID="GridViewLabel" Text="Co-Scholastic Group List"
                                                    runat="server" />
                                            </header>
                                                </div>
                                            <div class="leftdiv"></div>

                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent">

                                            <div id="GridViewMessageDiv" runat="server"
                                                visible="true">
                                            </div>
                                            <div class="table-responsive">
                                                <asp:GridView ID="ScholasticSubjectGridView" runat="server" AutoGenerateColumns="False"
                                                    EmptyDataText="No Records Found !!"
                                                    AllowPaging="false" ShowHeader="true"
                                                    DataKeyNames="Id,Index,CCECSGroupId"
                                                    CssClass="table table-striped table-bordered table-hover col-md-12">
                                                    <Columns>
                                                        <asp:BoundField DataField="Id" HeaderText="Id" Visible="false"></asp:BoundField>
                                                        <asp:BoundField DataField="Index" HeaderText="Index" Visible="false"></asp:BoundField>
                                                        <asp:BoundField DataField="CCECSGroupId" HeaderText="CCECSGroupId" Visible="false"></asp:BoundField>
                                                        <asp:TemplateField HeaderStyle-HorizontalAlign="Center">
                                                            <HeaderTemplate>
                                                                <itemstyle horizontalalign="Center" />
                                                                <itemtemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                      <asp:CheckBox ID="HeaderSelectCheckBox" OnCheckedChanged = "HeaderSelectCheckBox_OnCheckedChanged"   runat="server"  AutoPostBack="True"/>
                                                                        <span></span>
                                                                    </label>
                                                                </itemtemplate>
                                                            </HeaderTemplate>
                                                            <ItemStyle HorizontalAlign="Center" />
                                                            <ItemTemplate>
                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                    <asp:CheckBox ID="SelectCheckBox" runat="server"
                                                                        Checked='<%# Eval("Selected") %>' AutoPostBack="True" />
                                                                    <span></span>
                                                                </label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="CCECSGroupName" HeaderText="Co-Scholastic Group" Visible="True" ItemStyle-Width="50%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:TemplateField HeaderText="OrderIndex" ItemStyle-Width="40%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:TextBox ID="OrderIndexTextBox" SkinID="CustomWidthTextBox" runat="server" Width="80px"
                                                                    MaxLength="100" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                    Text='<%# DataBinder.Eval(Container.DataItem,"OrderIndex").ToString()=="0"? "":Eval("OrderIndex") %>'></asp:TextBox>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <PagerSettings Visible="False" />
                                                </asp:GridView>
                                            </div>
                                            <%--</div>--%>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
                <%--HEDP History Ends Here--%>
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--    <script data-main="../../../JavaScript/rjs/encrypt/coclass-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/coclass")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
