<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_CSGradeWiseIndicator, App_Web_kphyvkas" 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">
                <!-- ContentPlaceHolder Box Starts -->
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px; border-collapse: collapse; background-color: White" cellpadding="0"
                        cellspacing="0">
                        <tr>
                            <td class="dashBoardLeftCont" valign="top">
                                <div class="himssuHeader3WireBox">
                                    <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                    <table width="200px" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="111"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                            <td style="vertical-align: top; padding-left: 10px" width="99%">


                                <div class="himssuHeader1WireBox">
                                    <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label ID="Label1" runat="server" Text="Co-Scholastic Indicator Master"></asp:Label>
                                            </div>
                                        </div>
                                    </div>


                                    <div class="himsBoxContent">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">
                                                <div class="cBoth">
                                                </div>
                                                <div class="outerBox pTop5">
                                                    <div class="controLabelWidth">
                                                        <asp:Label ID="CSGroupLabel" Text="Co-Scholastic Group" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="CSGroupMasterDropDownList" SkinID="CustomWidthDropDownList"
                                                            Width="200px" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                            OnSelectedIndexChanged="CSGroupMasterDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5">
                                                    <div class="controLabelWidth">
                                                        <asp:Label ID="CALabel" Text="Co-Scholastic" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="CSMasterDropDownList" SkinID="CustomWidthDropDownList"
                                                            Width="200px" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                            OnSelectedIndexChanged="CSMasterDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5">
                                                    <div class="fLeft pRight5">
                                                        <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                                    </div>
                                                </div>

                                                <div class="spacer">
                                                    <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif" />
                                                </div>



                                                <div id="Div1" class="himssuHeader6WireBox" runat="server" visible="true" style="width: 99%; height: 100%">
                                                    <div class="himsBoxHeader" id="GridViewPagerDiv" runat="server" visible="True">
                                                        <div class="leftdiv"></div>

                                                        <div class="himsBoxTitle">
                                                            <div class="headerText fLeft">

                                                                <asp:Label ID="GridViewLabel" Text="Indicator List"
                                                                    runat="server" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent">
                                                        <%--<div id="DivHeader" style="vertical-align: top; width: 100%;">
                        <asp:Table ID="GradeSetDetailTable" runat="server" CellPadding="0" CellSpacing="0"
                            BackColor="#E8E8E8" ForeColor="Black" Width="100%" GridLines="Both" CssClass="GridViewTableRow">
                        </asp:Table>
                    </div>  --%>
                                                        <%-- <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" 
                            visible="False"></div>  --%>
                                                        <%--<div id="DivData" class="Container" style="vertical-align: top; height: 250px; width: 99.6%;">          --%>
                                                        <asp:GridView ID="CSMasterGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            EmptyDataText="No Records Found !!"
                                                            AllowPaging="false" ShowHeader="True"
                                                            DataKeyNames="CCECSId,GradeSetDetailId">
                                                            <Columns>

                                                                <asp:BoundField DataField="CCECSId" HeaderText="CCECSId" Visible="false"></asp:BoundField>
                                                                <asp:BoundField DataField="GradeSetDetailId" HeaderText="GradeSetDetailId" Visible="false"></asp:BoundField>

                                                                <asp:TemplateField HeaderText="Grade Set" ItemStyle-Width="12%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label runat="server" ID="GradeSetDetailLabel" SkinID="CustomWidthLabel" Width="80px" Text='<%# Bind("Code") %>'>
                                                                        </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Indicator" ItemStyle-Width="25%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="TitleTextBox" runat="server" SkinID="CustomWidthTextBox" Width="550px" MaxLength="200" Text='<%# Bind("Title") %>'></asp:TextBox>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

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

                                <div class="spacer">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                                </div>

                            </td>
                        </tr>
                    </table>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
<%--    <script data-main="../../../JavaScript/rjs/encrypt/csgradewise-indicator-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/csgradewise-indicator")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>