<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_CCEMarkEntry, App_Web_qklg1dro" 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" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<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="Mark Entry"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="himsBoxContent">
                        <asp:Panel ID="DetailPanel" runat="Server">
                            <div class="contentHolder">
                                <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <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="150px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            AutoPostBack="true" OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <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="150px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            AutoPostBack="True" OnSelectedIndexChanged="DivisionDropDownList_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ExamLabel" Text="Exam" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="ExamDropDownList" SkinID="CustomWidthDropDownList"
                                            Width="150px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            AutoPostBack="False" >
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="spacer">
                                    <asp:Image ID="Image9" runat="server" ImageUrl="~/Images/spacer.gif" />
                                </div>
                                <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="SubjectLabel" Text="Subject" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="SubjectDropDownList" SkinID="CustomWidthDropDownList"
                                            Width="150px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            AutoPostBack="True" OnSelectedIndexChanged="SubjectDropDownList_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="Image5" 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="Student List For CCE Mark Entry" runat="server" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <%-- <div id="DivHeader" style="vertical-align: top; width: 100%;">
                                                            <asp:Table ID="ExamDetailTable" 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="CCEMarkEntryGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                            EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" DataKeyNames="AcademicId,CCEResultId,CCEResultDetailId">
                                            <Columns>
                                              <%--  <asp:BoundField DataField="ResultId" HeaderText="ResultId" Visible="false"></asp:BoundField>
                                                <asp:BoundField DataField="ResultDetailId" HeaderText="ResultDetailId" Visible="false">--%>
                                              <%--  </asp:BoundField>--%>
                                                <asp:BoundField DataField="AcademicId" HeaderText="AcademicId" Visible="false"></asp:BoundField>
                                               <%-- <asp:BoundField DataField="ExamDetailId" HeaderText="ExamDetailId" Visible="false">--%>
                                                <%--</asp:BoundField>--%>
                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="11%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:Label ID="StudentNameLabel" runat="server" Width="130px" Text='<%# Bind("StudentName") %>'>' </asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="GRNo" ItemStyle-Width="11%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:Label ID="GRNoLabel" runat="server" Width="130px" Text='<%# Bind("Code") %>'>' </asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="RollNo" ItemStyle-Width="11%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:Label ID="RollNoLabel" runat="server" Width="130px" Text='<%# Bind("RollNo") %>'>' </asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                             <%--   <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%">
                                                    <HeaderTemplate>
                                                        <itemstyle horizontalalign="Left" />
                                                        <itemtemplate>
                                        <asp:CheckBox ID="HeaderPresentCheckBox" Text="Present"  SkinID="CustomWidthCheckBox"  Width="25px" OnCheckedChanged = "HeaderPresentCheckBox_OnCheckedChanged"   runat="server"  AutoPostBack="True"/>
                                    </itemtemplate>
                                                    </HeaderTemplate>
                                                    <ItemStyle HorizontalAlign="Center" />
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="PresentCheckBox" runat="server" SkinID="CustomWidthCheckBox" Width="25px"
                                                            OnCheckedChanged="PresentCheckBox_Checked" Checked='<%# Eval("IsPresent") %>'
                                                            AutoPostBack="True" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>--%>
                                                <asp:TemplateField HeaderText="Obtained" ItemStyle-Width="7%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="GradePointTextBox" SkinID="CustomWidthTextBox" runat="server" Width="80px"
                                                            MaxLength="100" onblur="javascript:return fnValidateDecimal(this,10,2)" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                            Text='<%# DataBinder.Eval(Container.DataItem,"GradePoint").ToString()=="0"? "":Eval("GradePoint") %>'></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                                 <asp:TemplateField HeaderText="Maximum Mark" ItemStyle-Width="8%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:Label ID="MaximumMarkLabel" runat="server" Width="50px" Text='<%# Bind("MaxMark") %>'>' </asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <PagerSettings Visible="False" />
                                        </asp:GridView>
                                        <%--   </div>--%>
                                    </div>
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                </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/ccemark-entry-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/ccemark-entry")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>