<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_CSExamMarkSetup, App_Web_h5l2h3ow" 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">
                <!-- ContentPlaceHolder Box Starts -->
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" 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="0px" 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" width="100%" class="whiteboxpaddingleft">
                                <div class="himssuHeader1WireBox whitebox">
                                    <div class="himsBoxHeader note note1 box box-danger">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label ID="Label1" runat="server" Text="Co-Scholastic Exam Mark Setup"></asp:Label>
                                            </div>
                                        </div>
                                    </div>


                                    <div class="himsBoxContent">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">

                                                <div class="outerBox pTop5">
                                                    <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"
                                                            Width="200px" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                            OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                              <%--  <div class="outerBox pTop5">
                                                    <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">
                                                    <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"
                                                            Width="200px" onmouseleave="showHideTooltip()" Visible="false"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                            OnSelectedIndexChanged="ExamDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="cBoth">
                                                </div>

                                               <%-- <div class="outerBox pTop5">
                                                    <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="cBoth">
                                                </div>

                                                <div class="alignCenter pTop5">
                                                    <asp:Button ID="ExportToExcelButton" Text="Export To Excel" runat="Server" SkinID="CustomWidthButton"
                                                        Width="100px" OnClick="ExportToExcelButton_OnClick" Visible="false"/>
                                                </div>

                                                <div class="cBoth">
                                                </div>

                                                <div id="Div1" class="himssuHeader6WireBox pTop5 box-body box-solid gridviewfont" runat="server" visible="true" style="width: 100%; height: 100%">
                                                    <div class="himsBoxHeader" id="GridViewPagerDiv" runat="server" visible="True">
                                                        <div class="leftdiv"></div>

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

                                                                <asp:Label ID="GridViewLabel" Text="Student Indicator Mark List"
                                                                    runat="server" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="Div2" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText fLeft">
                                                                <asp:Label ID="Label2" Text="" runat="server" />
                                                            </div>
                                                        </div>
                                                        <div class="fRight" style="margin-top: -25px;">
                                                           <%-- <asp:DropDownList ID="ApplyDropDownList" runat="server" Width="80px"
                                                                SkinID="CustomWidthButton">
                                                            </asp:DropDownList>--%>
                                                            <asp:TextBox ID="ApplyAllTextBox" runat="server" ClientIDMode="Static" MaxLength="100"
                                                                SkinID="CustomWidthTextBox" Width="100px"  Visible="false"></asp:TextBox>
                                                            <asp:Button ID="ApplyAllButton" runat="server" Width="80px" OnClick="ApplyAllButton_click"
                                                                Text="Apply All" SkinID="CustomWidthButton" Visible="false"/>

                                                        </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="CSExamScoreGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            EmptyDataText="No Records Found !!"
                                                            AllowPaging="false" ShowHeader="True"
                                                            DataKeyNames="Index,CMID"  
                                                            CssClass="table table-striped table-bordered">
                                                            <Columns>

                                                                 <asp:TemplateField  ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                  <HeaderStyle HorizontalAlign ="Center" />
                                                                     <HeaderTemplate>
                                                                         <asp:CheckBox ID="HeaderCheckBox" runat="server"  OnCheckedChanged="HeaderCheckBox_OnCheckedChanged" AutoPostBack="true"/>
                                                                     </HeaderTemplate>
                                                                     <ItemStyle HorizontalAlign="Center" />
                                                                       <ItemTemplate>
                                                                        <asp:CheckBox ID="ItemCheckBox" runat="server" Checked='<%#Eval("Checked")%>'/>
                                                                    </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="CSGroupName" HeaderText="CSGroup" Visible="true" HeaderStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Width="25%">
                                                                    <ItemStyle Width="25%" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="CSName" 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="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>
                                    </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/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>