<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_CSClassGroupActivity, App_Web_kphyvkas" maintainscrollpositiononpostback="true" 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-wrench"></i>
                                                     <asp:Label ID="Label1" runat="server" Text="Co-Scholastic Exam Mark Setup"></asp:Label>
                                                </header>
                                               
                                            </div>
                                        </div>
                                    </div>


                                    <div class="himsBoxContent card-body">
                                        
                                            <div class="contentHolder">

                                                <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  col-md-3">
                                                    <div class="controLabelWidth">
                                                        <asp:Label ID="DivisionLabel" Text="Division" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="DivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                            Width="200px" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                            OnSelectedIndexChanged="DivisionDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>--%>

                                                <div class="outerBox pTop5  col-md-3">
                                                    <div class="controLabelWidth">
                                                        <asp:Label ID="ExamLabel" Text="Exam" runat="server" SkinID="MandatoryLabel" Visible="false"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="ExamDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="form-control" onmouseleave="showHideTooltip()" Visible="false"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                            OnSelectedIndexChanged="ExamDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                               

                                               <%-- <div class="outerBox pTop5  col-md-3">
                                                    <div class="controLabelWidth">
                                                        <asp:Label ID="StudentLabel" Text="Student" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="StudentDropDownList" SkinID="CustomWidthDropDownList"
                                                            Width="300px" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                            OnSelectedIndexChanged="StudentDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                        <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                                    </div>
                                                </div>--%>
                                                 <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                               

                                                <div class="alignCenter pTop5">
                                                    <asp:Button ID="ExportToExcelButton" Text="&#xf093; Export To Excel" runat="Server" SkinID="CustomWidthButton"
                                                        OnClick="ExportToExcelButton_OnClick" Visible="false" CssClass="btn-upload btn fas"/>
                                                </div>

                                             
                                                <div id="Div1" class="himssuHeader6WireBox pTop5 col-md-12 pb5 mt2" runat="server" visible="true">
                                                    <div class="himsBoxHeader" id="GridViewPagerDiv" runat="server" visible="True">
                                                        <div class="headerText">
                                                      <%--  <header>
                                                            <asp:Label ID="GridViewLabel" Text="Student Indicator Mark List"
                                                                    runat="server" />
                                                        </header>--%>
                                                            </div>
                                                        <div class="leftdiv"></div>

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

                                                                
                                                            </div>
                                                       
                                                    </div>
                                                   
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle ">
                                                           
                                                        
                                                        <div class="fRight mt-27  display-flex">
                                                           <asp:DropDownList ID="ApplyDropDownList" runat="server" class="form-control"
                                                                SkinID="CustomWidthButton" Visible="false">
                                                            </asp:DropDownList> &nbsp; &nbsp;
                                                            <asp:TextBox ID="ApplyAllTextBox" runat="server" ClientIDMode="Static" MaxLength="100"
                                                                SkinID="CustomWidthTextBox" Visible="false"  ></asp:TextBox>&nbsp; &nbsp;
                                                            <asp:Button ID="ApplyAllButton" runat="server"  OnClick="ApplyAllButton_click"
                                                                Text="Apply" SkinID="0" Visible="false"  Class="btn-apply btn fas"/>
                                                            </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%;">      --%>
                                                        <div class="table-responsive">
                                                        <asp:GridView ID="CSExamScoreGridView" runat="server" AutoGenerateColumns="False"
                                                            EmptyDataText="No Records Found !!"
                                                            AllowPaging="false" ShowHeader="True"
                                                            DataKeyNames=" CMID"  
                                                            CssClass="table table-striped table-bordered table-hover col-md-12">
                                                            <Columns>

                                                                 <asp:TemplateField  ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                  <HeaderStyle HorizontalAlign ="Center" />
                                                                     <HeaderTemplate>
                                                                         	<label class="rt-chkbox rt-chkbox-outline">
                                                                         <asp:CheckBox ID="HeaderCheckBox" runat="server"  OnCheckedChanged="HeaderCheckBox_OnCheckedChanged" AutoPostBack="true"/>
                                                                                     <span></span>
                                                                         	</label>
                                                                     </HeaderTemplate>
                                                                     <ItemStyle HorizontalAlign="Center" />
                                                                       <ItemTemplate>
                                                                           	<label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="ItemCheckBox" runat="server" Checked='<%# Convert.ToBoolean(Eval("Checked"))%>'/>
                                                                                           <span></span>
                                                                         	</label
                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="5%" Wrap="True" />
                                                                </asp:TemplateField>

                                                               <%-- <asp:BoundField DataField="Index" HeaderText="Index" Visible="false"></asp:BoundField>--%>
                                                                <asp:BoundField DataField="CMID" HeaderText="CMID" Visible="false"></asp:BoundField>

                                                                <asp:BoundField DataField="CSGroup" HeaderText="CSGroup" Visible="true" HeaderStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Width="25%">
                                                                    <ItemStyle Width="25%" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="CS" HeaderText="CS" Visible="true" HeaderStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Width="25%">
                                                                    <ItemStyle Width="25%" />
                                                                </asp:BoundField>

                                                                <asp:TemplateField HeaderText="Total Marks" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                          <asp:TextBox runat="server" ID="TotalMarksTextBox" SkinID="CustomWidthTextBox"  Text='<%#Eval("TotalMark") %>'
                                                                            Width="100px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                        </asp:TextBox>
                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="5%" Wrap="True" />
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Convert To" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                          <asp:TextBox runat="server" ID="ConvertTextBox" SkinID="CustomWidthTextBox" Text='<%#Eval("ConvertToMark") %>'
                                                                            Width="100px" >
                                                                        </asp:TextBox>
                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="5%" Wrap="True" />
                                                                </asp:TemplateField>
                                                                 <asp:TemplateField HeaderText="IsOptional" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        	<label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="IsOptionalCheckBox" runat="server" Checked='<%# Convert.ToBoolean(Eval("IsOptional"))%>' />
                                                                                    <span></span>
                                                                        	</label>

                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="5%" Wrap="True" />
                                                                </asp:TemplateField>
                                                                <%--<asp:TemplateField HeaderText="Grade Indicator" ItemStyle-Width="15%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                         <asp:TextBox runat="server" ID="IndicatorTextBox" SkinID="CustomWidthTextBox" Text='<%# Bind("DescriptiveIndicator") %>'
                                                                            Width="350px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                        </asp:TextBox>
                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="15%" Wrap="True" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                    <HeaderTemplate>
                                                                        <table cellpadding="0" cellspacing="0" align="center">
                                                                            <tr>
                                                                                <td>&nbsp;
                                                                                <asp:CheckBox ID="IndicatorsIdCheckBox" runat="server" OnCheckedChanged="IndicatorsIdCheckBox_CheckedChanged"
                                                                                    AutoPostBack="True" TabIndex="8" meta:resourcekey="ReadAllCheckBoxResource1" />
                                                                                </td>
                                                                                <td>&nbsp;&nbsp;</td>
                                                                                <td>Indicator Code</td>
                                                                            </tr>
                                                                        </table>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:TextBox runat="server" ID="IndicatorIdsTextBox" SkinID="CustomWidthTextBox" Text='<%# Bind("IndicatorIds") %>'
                                                                            Width="150px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                        </asp:TextBox>
                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="15%" Wrap="True" />
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Indicator" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox runat="server" ID="IndicatorTextBox" SkinID="CustomWidthTextBox" Text='<%# Bind("DescriptiveIndicator") %>'
                                                                            Width="350px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                        </asp:TextBox>
                                                                    </ItemTemplate>
                                                                    <ItemStyle Width="45%" Wrap="True" />
                                                                </asp:TemplateField>--%>


                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                            </div>
                                                    </div>
                                                </div>
                                            </div>
                                    </div>
                                
                                </div>
                </div>
   <%--HEDP History Ends Here--%>
            </div>
            </div>
             
        </ContentTemplate>
    </asp:UpdatePanel>
  <%--  <script data-main="../../../JavaScript/rjs/encrypt/csexam-marksetup-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/csexam-marksetup")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>