<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_ExamMaster, App_Web_jltk1yvh" 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" %>
<%@ 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" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">

                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="105"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader5WireBox card-box card" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight mt-27">
                                        <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0"
                                            CssClass="btn btn-add fas" Text="&#xf067; Add" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="SearchPanel" runat="Server">
                                <div class="contentHolder">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controLabelWidth">
                                            <asp:Label ID="ClassSearchLabel" Text="Class" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="ClassSearchDropDownList" SkinID="CustomWidthDropDownList" AutoPostBack="true"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="ClassSearchDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controLabelWidth">
                                            <asp:Label ID="ExamGroupSearchLabel" Text="Exam Group" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="ExamGroupSearchDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="alignCenter col-md-12 pTop15">
                                        <asp:Button ID="SearchButton" Text="&#xf002;  Search" runat="Server" OnClick="SearchButton_Click"
                                            SkinID="0" CssClass="btn-search btn fas" />
                                        <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" SkinID="0" CssClass="btn-reset btn fas" OnClick="ResetButton_Click" />
                                        <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" OnClick="ExportButton_Click" CssClass="btn-examcommon btn fas" SkinID="0" TabIndex="5" />
                                    </div>

                                    <div id="Div2" class="himssuHeader7WireBox col-md-12 pTop5" runat="server">
                                        <div id="ExamMasterListDetailDiv" runat="server" visible="false">

                                            <div class="himsBoxHeader" id="ExamMasterListDiv" visible="false" runat="server">

                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <uc1:GridViewPager ID="ExamSearchGridViewPager" runat="server" OnFirstRecordClick="ExamSearchGridViewPager_FirstRecordClick"
                                                            OnLastRecordClick="ExamSearchGridViewPager_LastRecordClick" OnNextRecordClick="ExamSearchGridViewPager_NextRecordClick"
                                                            OnPrevRecordClick="ExamSearchGridViewPager_PrevRecordClick" OnTextBoxValueChange="ExamSearchGridViewPager_TextBoxValueChange"
                                                            ParentGridView="ExamSearchGridView" />
                                                    </div>
                                                </div>
                                            </div>
                                            <br />
                                            <div class="himsBoxContent">
                                                <br />
                                                <div id="Div5" runat="server" visible="false" class="table-responsive">
                                                    <asp:GridView ID="ExamSearchGridView" runat="server" AutoGenerateColumns="False"
                                                        AllowPaging="true" SkinID="" PagerSettings-Visible="false" EmptyDataText="No Records Found !!"
                                                        DataKeyNames="Id,ClassID" OnRowDataBound="ExamSearchGridView_RowDataBound"
                                                        PageSize="100" CssClass="table table-striped table-bordered table-hover">
                                                        <Columns>
                                                            <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                HeaderText="">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="SelectLinkButton" runat="server" CommandName="Select" Text="Select"
                                                                        CausesValidation="false" OnClick="SelectLinkButton_Click"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="Id" HeaderText="Id" ItemStyle-Width="2%" Visible="false" />

                                                            <%-- <asp:BoundField DataField="ClassName" HeaderText="Class" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left" />--%>
                                                            <asp:TemplateField HeaderText="Class" ItemStyle-Width="5%"
                                                                ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Center">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ClassNameLabel" runat="server" Text='<%# Bind("ClassName") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <%--    <asp:BoundField DataField="ExamName" HeaderText="ExamName" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="Left" />--%>
                                                            <asp:TemplateField HeaderText="ExamName" ItemStyle-Width="10%"
                                                                ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Center">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ExamNameLabel" runat="server" Text='<%# Bind("ExamName") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Exam Group" ItemStyle-Width="10%"
                                                                ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Center">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ExamGroupNameLabel" runat="server" Text='<%# Bind("ExamGroupName") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <%-- <asp:BoundField DataField="ExamGroupName" HeaderText="Exam Group" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="Left" />--%>
                                                            <asp:TemplateField HeaderText="Combine Exam" ItemStyle-Width="15%"
                                                                HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="CombineExam" runat="server"></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Combine sub Exam" ItemStyle-Width="20%"
                                                                HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="CombinesubExam" runat="server"></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Result Process" ItemStyle-Width="6%" SortExpression="IsDisplayResultStatus"
                                                                HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ProcessRLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsDisplayResultStatus").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Include CoScholastic" ItemStyle-Width="6%" SortExpression="IsIncludeCoScholastic"
                                                                HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="IncludeCoScholasticl" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsIncludeCoScholastic").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="Result Publish" ItemStyle-Width="6%" SortExpression="IsPublished"
                                                                HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="IsPublish" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsPublished").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="Schedule Publish" ItemStyle-Width="6%" SortExpression="Status"
                                                                HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Status" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsPublishExamSchedule").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                        <div class="himsBoxHeader card-head" id="Div7" runat="server" visible="True">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText fLeft">
                                    <header>
                                        <i class="fas fa-chess-king"></i>
                                        <asp:Label ID="Label5" Text="Exam Master" runat="server" />
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex " id="NumberOfRecordDiv" runat="server" visible="true">
                                <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                    ID="FirstRecordImageButton" runat="server" OnClick="FirstRecordImageButton_Click">
                                                       <i class="fa fa-fast-backward"></i>
                                </asp:LinkButton>
                                <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                    ID="PreviousImageButton" runat="server" OnClick="PreviousImageButton_Click">
                                                       <i class="fa fa-play fa-rotate-180"></i>
                                </asp:LinkButton>
                                &nbsp;
                                 <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                &nbsp;
                                <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                &nbsp; 
                                <asp:Label ID="ofLabel" Text="of" runat="server" />
                                &nbsp;   
                                <asp:Label ID="TotalRecord" runat="server" />
                                &nbsp;
                                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                                        ID="NextImageButtom" runat="server" OnClick="NextImageButton_Click">
                                                       <i class="fa fa-play"></i>
                                                    </asp:LinkButton>
                                <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                    ID="LastRecordImageButton" runat="server" OnClick="LastRecordImageButton_Click">
                                                       <i class="fa fa-fast-forward"></i>
                                </asp:LinkButton>
                                &nbsp;&nbsp;&nbsp;       
                                                    <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                        CssClass="btn btn-back fas" Text="&#xf30a; Back" />
                                &nbsp; 
                            </div>
                        </div>
                        <div class="himsBoxContent card-body padd-0">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <cc1:TabContainer Width="100%" ID="ExamMasterTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                        AutoPostBack="true" meta:resourcekey="ExamCustomSearchTabContainerResource1"
                                        ActiveTabIndex="0" OnActiveTabChanged="ExamMasterTabContainer_ActiveTabChanged">
                                        <cc1:TabPanel Width="100%" ID="ExamMasterTabPanel" runat="server" HeaderText="Exam Master">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab">
                                                        <a href="#"><i class="fas fa-chess-king"></i>&nbsp;Exam Master 
                                                        </a>
                                                    </li>
                                                </ul>

                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ExamGroupLabel" Text="Exam Name" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="ExamGroupDropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="True" OnSelectedIndexChanged="ExamGroupDropDownList_SelectedIndexChanged">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <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"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                AutoPostBack="True" OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="ResultProcessCheckBox" runat="server" Text=" Result Process"
                                                                OnCheckedChanged="ResultProcessCheckBox_CheckedChanged" AutoPostBack="True" class="pLeft5" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsMarkInDecimalCheckBox" runat="server" Text=" Mark In Decimal"
                                                                class="pLeft5" OnCheckedChanged="IsMarkInDecimalCheckBox_CheckedChanged" AutoPostBack="True" />
                                                            <asp:DropDownList runat="server" ID="DecimalUptoDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Visible="False">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsNegativeMarkCheckBox" runat="server" Text=" Negative Mark"
                                                                class="pLeft5" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsLockForEditCheckBox" runat="server" Text=" Lock For Edit" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox  col-md-3 pTop5">
                                                        <asp:CheckBox ID="IsPublishedCheckBox" runat="server" Text="Published"
                                                            class="pLeft5" />
                                                    </div>
                                                    <div class="outerBox  col-md-3 pTop5">
                                                        <asp:CheckBox ID="IsPublishExamScheduleCheckBox" runat="server" Text="Publish Exam Schedule"
                                                            class="pLeft5" />
                                                    </div>
                                                    
                                                    <div class="outerBox  col-md-3 pTop5">
                                                        <asp:Button ID="SendAlertButton" runat="server" SkinID="0"
                                                            Text="Publish Exam Alert" OnClick="SendAlertButton_Click"
                                                            CssClass="btn btn-apply" />
                                                    </div>

                                                    <div class="outerBox  col-md-3 pTop5">
                                                        <asp:CheckBox ID="IsPublishMarkEntryCheckBox" runat="server" Text="Publish Mark Entry"
                                                            class="pLeft5" />
                                                    </div>

                                                    <div class="outerBox">
                                                        <div class="fLeft pRight5">
                                                            <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                                        </div>
                                                    </div>
                                                    <div id="Div1" class="himssuHeader6WireBox col-md-12" runat="server">
                                                        <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="headerText fRight display-flex">
                                                                    <asp:DropDownList ID="ApplyDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList">
                                                                    </asp:DropDownList>&nbsp;&nbsp;&nbsp;&nbsp;
                                                                                <asp:TextBox ID="ApplyTextBox" runat="server" SkinID="CustomWidthTextBox" Width="60px" CssClass="pTop10"></asp:TextBox>
                                                                    &nbsp;&nbsp;&nbsp;     
                                                                    <asp:Button ID="ApplyButton" runat="server" SkinID="0"
                                                                        Text="Apply All"
                                                                        CssClass="btn btn-apply" OnClick="ApplyButton_Click" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent">
                                                            <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="False">
                                                            </div>
                                                            <div class="table-responsive">
                                                                <asp:GridView ID="ExamGridView" runat="server" AutoGenerateColumns="False"
                                                                    EmptyDataText="No Records Found !!" DataKeyNames="ExamDetailId,Index,ExamId,ClassSubjectId,SubjectId"
                                                                    OnRowDataBound="ExamGridView_RowDataBound" CssClass="table table-striped table-bordered table-hover" OnSelectedIndexChanged="ExamGridView_SelectedIndexChanged">
                                                                    <Columns>
                                                                        <asp:BoundField DataField="ExamDetailId" HeaderText="Id" Visible="False"></asp:BoundField>
                                                                        <asp:BoundField DataField="Index" HeaderText="Index" Visible="False"></asp:BoundField>
                                                                        <asp:BoundField DataField="ClassSubjectId" HeaderText="ClassSubjectId" Visible="False"></asp:BoundField>
                                                                        <asp:TemplateField>
                                                                            <HeaderTemplate>

                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="HeaderSelectCheckBox" SkinID="CustomWidthCheckBox"
                                                                                        OnCheckedChanged="HeaderSelectCheckBox_OnCheckedChanged" runat="server" AutoPostBack="True" />

                                                                                    <span></span>
                                                                                </label>
                                                                            </HeaderTemplate>
                                                                            <HeaderStyle HorizontalAlign="Center" />

                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="SelectCheckBox" runat="server" SkinID="CustomWidthCheckBox"
                                                                                        OnCheckedChanged="SelectCheckBox_Checked" Checked='<%# Eval("Selected") %>' AutoPostBack="True" />
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Subject">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="SubjectLabel" runat="server" Width="100%" Text='<%# Bind("SubjectName") %>'> </asp:Label>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle Width="15%" Wrap="True" />
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Display Order">
                                                                            <ItemTemplate>
                                                                                <asp:TextBox ID="DisplayOrderTextBox" SkinID="CustomWidthCheckBox" runat="server"
                                                                                    Width="100%" MaxLength="100" onblur="javascript:return fnValidateDecimal(this,10,2)"
                                                                                    onKeypress="javascript:return MaskDecimal(event,10,2)" Text='<%# DataBinder.Eval(Container.DataItem,"DisplayOrder").ToString()=="0"? "":Eval("DisplayOrder") %>'></asp:TextBox>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle Width="10%" Wrap="True" />
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Maximum">
                                                                            <ItemTemplate>
                                                                                <asp:TextBox ID="MaximumTextBox" SkinID="CustomWidthTextBox" runat="server" Width="100%"
                                                                                    MaxLength="100" onblur="javascript:return fnValidateDecimal(this,10,2)" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                                    Text='<%# DataBinder.Eval(Container.DataItem,"Maximum").ToString()=="0"? "":Eval("Maximum") %>'></asp:TextBox>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle Width="5%" Wrap="True" />
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Minimum">
                                                                            <ItemTemplate>
                                                                                <asp:TextBox ID="MinimumTextBox" SkinID="CustomWidthTextBox" runat="server" Width="100%"
                                                                                    MaxLength="20" onblur="javascript:return fnValidateDecimal(this,10,2)" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                                    Text='<%# DataBinder.Eval(Container.DataItem,"Minimum").ToString()=="0"? "":Eval("Minimum") %>'></asp:TextBox>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle Width="5%" Wrap="True" />
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Include In Total">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Center" Wrap="True" />
                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="IsIncludeInTotalCheckBox" SkinID="CustomWidthCheckBox"
                                                                                        runat="server" Checked='<%# Bind("IsIncludeInTotal") %>' />
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Display In Result">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Center" Wrap="True" />
                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="IsDisplayInMarkSheetCheckBox" SkinID="CustomWidthCheckBox"
                                                                                        runat="server" Checked='<%# Bind("IsDisplayInMarkSheet") %>' />
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Show Mark">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Center" Wrap="True" />
                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="IsShowSubjectMarkCheckBox" SkinID="CustomWidthCheckBox"
                                                                                        runat="server"
                                                                                        Checked='<%# Bind("IsShowSubjectMark") %>' />
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Show Grade">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Center" Wrap="True" />
                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="IsShowSubjectGradeCheckBox" SkinID="CustomWidthCheckBox"
                                                                                        runat="server" Checked='<%# Bind("IsShowSubjectGrade") %>' />
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Grade Set">
                                                                            <ItemTemplate>
                                                                                <asp:DropDownList runat="server" ID="GradeSetDetailDropDownList" SkinID="CustomWidthDropDownList"
                                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                    AutoPostBack="false" Enabled="false">
                                                                                </asp:DropDownList>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle Width="10%" Wrap="True" />
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Exam Date">
                                                                            <ItemTemplate>
                                                                                <Date:DatePickerControl DisplayDatePicker="false" Width="100%" ID="ExamDatePickerControl"
                                                                                    Text='<%# DataBinder.Eval(Container.DataItem,"ExamDate").ToString()=="01/01/1800 00:00:00"? "":Eval("ExamDate") %>' Visible="True" runat="Server"></Date:DatePickerControl>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle Width="10%" Wrap="True" />
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Exam Time">
                                                                            <ItemTemplate>
                                                                                <asp:TextBox ID="ExamTimeTextBox" SkinID="CustomWidthTextBox" runat="server" Width="100%"
                                                                                    MaxLength="100" Text='<%# Bind("ExamTime") %>'></asp:TextBox>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle Width="10%" Wrap="True" />
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Exam Topic">
                                                                            <ItemTemplate>
                                                                                <asp:TextBox ID="ExamTopicTextBox" SkinID="CustomWidthTextBox" runat="server" Width="100%"
                                                                                    MaxLength="100" Text='<%# Bind("ExamTopic") %>'></asp:TextBox>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle Width="10%" Wrap="True" />
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Language">
                                                                            <ItemTemplate>
                                                                                <asp:TextBox ID="ExamLanguageTextBox" SkinID="CustomWidthTextBox" runat="server" Width="100%"
                                                                                    MaxLength="100" Text='<%# Bind("ExamLanguage") %>'></asp:TextBox>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                            <ItemStyle Width="10%" Wrap="True" />
                                                                        </asp:TemplateField>

                                                                    </Columns>
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-12 pb5">
                                                            <asp:Label ID="Label8" runat="server" Text="Total:"></asp:Label>
                                                            <asp:Label ID="Label9" runat="server"></asp:Label>
                                                        </div>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel Width="100%" ID="ExamSettingTabPanel" runat="server" HeaderText="Exam Setting"
                                            Enabled="false">
                                            <HeaderTemplate>

                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab">
                                                        <a href="#"><i class="fas fa-wrench"></i>&nbsp;Exam Setting
                                                        </a>

                                                    </li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">


                                                    <div class="outerBox11 col-md-3 pTop5">
                                                        Exam Name:
                                                                        <asp:Label ID="ExamNameLabel" runat="server" Font-Bold="True"></asp:Label>
                                                    </div>

                                                    <div class="outerBox11 col-md-3 pTop5">
                                                        Class:
                                                                        <asp:Label ID="TempClassLabel" runat="server" Font-Bold="True"></asp:Label>
                                                    </div>
                                                    <div class="himsBoxTitle himsBoxHeader card-head inner">
                                                        <div class="gridheaderText fLeft">
                                                            <header>
                                                                <asp:Label ID="Label6" Text="Generate Required" runat="server" />
                                                            </header>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:CheckBox ID="GradeCheckBox" runat="server" Text=" Grade" AutoPostBack="True"
                                                                OnCheckedChanged="GradeCheckBox_CheckedChanged" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controLabelWidth">
                                                            <asp:Label ID="Label4" Text="Over All Grade Scope" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="GradeSetDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Enabled="False">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="PercentileCheckBox" runat="server" Text=" Percentile" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controLabelWidth">
                                                            <asp:Label ID="Label7" Text="Percentile Scope" SkinID="MandatoryLabel" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="controlLabelWidth">
                                                            <asp:DropDownList runat="server" ID="PercentileScopeDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="RankNoCheckBox" runat="server" Text=" Display Rank" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="RankGenerateCheckBox" runat="server" Text=" Rank Generate" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="PercentageCheckBox" runat="server" Text=" Percentage" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="fLeft pRight5">
                                                            <asp:CheckBox ID="FailPercentageZeroCheckBox" runat="server" Text="Fail Percentage Zero" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="SubjectPercentileCheckBox" runat="server" Text=" Subject Percentile" />
                                                        </div>
                                                    </div>

                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsDisplayResultStatusCheckBox" runat="server" Text="Result Status" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsAllExamPassRequiredCheckBox" runat="server" Text="All Exam Pass Required"
                                                                class="pLeft5" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsExcludeAbsentTotalCheckBox" runat="server" Text=" Exclude Absent Total"
                                                                class="pLeft5" />
                                                        </div>
                                                    </div>

                                                    <div class="himsBoxTitle himsBoxHeader card-head inner">
                                                        <div class="gridheaderText fLeft">
                                                            <header>
                                                                <asp:Label ID="Label11" Text="Generate Not Required" runat="server" />
                                                            </header>
                                                        </div>
                                                    </div>

                                                    <div id="ResultheaderDiv" runat="server" visible="false">
                                                        <div class="outerBox col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:CheckBox ID="IsPrePrintedCheckBox" runat="server" Text="Display Blank Header" />
                                                            </div>
                                                        </div>


                                                        <div class="outerBox col-md-3 ">
                                                            <div class="controlLabelWidth">
                                                                <asp:CheckBox ID="ImageHeaderCheckBox" runat="server" Text="Display Image Header" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsDisplayPhotoCheckBox" runat="server" Text=" Display Student Photo" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsDisplaySchoolNameCheckBox" runat="server" Text=" Display SchoolName" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsDisplayBirthDateCheckBox" runat="server" Text=" Display BirthDate" />
                                                        </div>
                                                    </div>
                                                    <div id="DisplayAttendanceDiv" runat="server" visible="false">
                                                        <div class="outerBox col-md-3 ">
                                                            <asp:CheckBox ID="IsMonthlyAttendanceCheckBox" runat="server" Text="Display Monthly Attendance" Enabled="false"
                                                                class="pLeft5" />
                                                        </div>
                                                        <div class="outerBox col-md-3 ">
                                                            <div class="controlLabelWidth">
                                                                <asp:CheckBox ID="IsDisplayAttendanceCheckBox" runat="server" Text=" Display Attendance" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsDisplayParentsNameCheckBox" runat="server" Text=" Display ParentName" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsDisplayHeightWeightCheckBox" runat="server" Text=" Display HeightWeight" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsDisplayGradeStringCheckBox" runat="server" Text="Display Grade String" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <asp:CheckBox ID="DisplayTotalMarksCheckBox" runat="server" Text="Display Total Marks"
                                                            class="pLeft5" />
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <asp:CheckBox ID="DisplayResultIndicatorCheckBox" runat="server" Text="Display Result Indicator"
                                                            class="pLeft5" />
                                                    </div>

                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsDisplayHighestDivisionMarkCheckBox" runat="server" Text="Display Highest Division Mark" />
                                                        </div>
                                                    </div>

                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsDisplayHighestDivisionGradeCheckBox" runat="server" Text="Display Highest Division Grade" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsDisplayTeacherSignCheckBox" runat="server" Text="Teacher Digital Sign" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsDisplayPrincipalSignCheckBox" runat="server" Text="Principal Digital Sign" />
                                                        </div>
                                                    </div>

                                                    <div class="outerBox col-md-3 ">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsDisplayActivityGradeCheckBox" runat="server" Text="Display Activity Grade" />
                                                        </div>
                                                    </div>
                                                    <div id="AbsentCountDiv" runat="server" visible="false">
                                                        <div class="outerBox col-md-3 ">
                                                            <div class="controlLabelWidth">
                                                                <asp:CheckBox ID="IsDisplayAbsentCountCheckBox" runat="server" Text="Display Absent Count" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="DetailAdjustmentLabel" Text="Detail Adjustment" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="DetailAdjustmentTextBox" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Enabled="False"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="FooterAdjustmentLabel1" Text="Footer Adjustment" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="FooterAdjustmentTextBox" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Enabled="False"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="MaximumMarkLabel" Text="Exam Maximum" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="MaximumMarkTextBox" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Enabled="False"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth"></div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="DisplayTitleLabel" Text="ResultSheet ReportTitle" runat="server" Enabled="True"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="DisplayTitleTextBox" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Enabled="False" TextMode="MultiLine" MaxLength="100"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">

                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="TeacherSignLabel" Text="Teacher Signature" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="TeacherSignTextBox" SkinID="CustomWidthTextBox" TextMode="MultiLine"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Enabled="False" MaxLength="100"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">

                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ParentLabel" Text="Parent Signature" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="ParentTextBox" SkinID="CustomWidthTextBox" TextMode="MultiLine"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Enabled="False" MaxLength="100"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">

                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="PrincipalLabel" Text="Principal Signature" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="PrincipalTextBox" SkinID="CustomWidthTextBox" TextMode="MultiLine"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Enabled="False" MaxLength="100"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3" style="display: none;">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Remark1CaptionLabel" Text="Exam Remark1 Caption" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="Remark1CaptionTextBox" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Enabled="False" MaxLength="100"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3" style="display: none;">

                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Remark2CaptionLabel" Text="Exam Remark2 Caption" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="Remark2CaptionTextBox" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Enabled="False" MaxLength="100"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3" style="display: none;">

                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Remark3CaptionLabel" Text="Exam Remark3 Caption" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="Remark3CaptionTextBox" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Enabled="False" MaxLength="100"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox11  pTop5 col-md-3">
                                                        <div class="controlLabelWidth" style="margin-top: 14px">
                                                            <asp:Label ID="Remark1Label" Text="Exam Remark1" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="Remark1TextBox" SkinID="CustomWidthTextBox" TextMode="MultiLine"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Enabled="False"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth" style="margin-top: 14px">
                                                            <asp:Label ID="Remark2Label" Text="Exam Remark2" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="Remarks2TextBox" SkinID="CustomWidthTextBox" TextMode="MultiLine"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Enabled="False"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth" style="margin-top: 14px">
                                                            <asp:Label ID="Remark3Label" Text="Exam Remark3" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="Remark3TextBox" SkinID="CustomWidthTextBox" TextMode="MultiLine"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Enabled="False"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3" id="NoOfSubDiv" runat="server" visible="false">
                                                        <div class="controLabelWidth" style="margin-top: 14px">
                                                            <asp:Label ID="SubGroupLabel" Text="No. of Subject on first page" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="SubGroupTextBox" runat="server" Width="80px" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                        </div>
                                                    </div>
                                                    <%--<div class="cBoth"></div>--%>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth" style="margin-top: 14px">
                                                            <asp:Label ID="ResultSheetAdditionalTitleLabel" Text="ResultSheet Additional Title" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="ResultSheetAdditionalTitleTextBox" SkinID="CustomWidthTextBox" TextMode="MultiLine"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Enabled="False"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth"></div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="FieldNameLabel" Text="Field Name" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="FieldNameDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="FieldNameDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                                <asp:ListItem Value="select">-Select-</asp:ListItem>
                                                                <asp:ListItem>ResultSheet ReportTitle</asp:ListItem>
                                                                <asp:ListItem>Teacher Signature</asp:ListItem>
                                                                <asp:ListItem>Parent Signature</asp:ListItem>
                                                                <asp:ListItem>Principal Signature</asp:ListItem>
                                                                <asp:ListItem>Exam Remark1</asp:ListItem>
                                                                <asp:ListItem>Exam Remark2</asp:ListItem>
                                                                <asp:ListItem>Exam Remark3</asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="DispalyAttendenceLabel" Text="Display Attendence" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="DisplayAttendenceDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="DisplayAttendenceDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ExamHeaderDDLLabel" Text="Header" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="HeaderDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="HeaderDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-6 pTop15">
                                                        <asp:Button ID="UpdateButton" runat="server" SkinID="0" OnClick="UpdateButton_Click" Text="Update Field" CssClass="btn btn-apply" />
                                                    </div>
                                                    <div class="cBoth"></div>
                                                    <div id="ExamGraphHeaderTotalDiv" runat="server" visible="false">
                                                        <div class="outerBox col-md-3 ">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label17" Text="Exam Graph" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="ExamGraphDropDownList" SkinID="CustomWidthDropDownList"
                                                                    onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox col-md-3 ">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label18" Text="Exam Header" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="ExamHeaderDropDownList" SkinID="CustomWidthDropDownList"
                                                                    onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox col-md-3 ">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label19" Text="Exam Total" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="ExamTotalDropDownList" SkinID="CustomWidthDropDownList"
                                                                    onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="FieldNameDiv" class="pTop5 col-md-6" style="margin-bottom: 10px;">

                                                        <div id="FieldDiv" runat="server" class="fLeft pRight5" style="margin-bottom: 20px" visible="false">
                                                            <textarea id="FieldNameArea" runat="server" contenteditable="false"></textarea>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth"></div>
                                                    <div class="" style="visibility: hidden">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="TermScopLabel" Text="Term Scope" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="TermScopeDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Enabled="False">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>

                                                    <div class="himsBoxTitle himsBoxHeader card-head inner">
                                                        <div class="gridheaderText fLeft">
                                                            <header>
                                                                <asp:Label ID="Label12" Text="Apply Exam Setting to other Class" runat="server" />
                                                            </header>
                                                        </div>
                                                    </div>


                                                    <div class="outerBox11 pTop5 col-md-6">
                                                        <div class="col-md-6">
                                                            <div class="select">
                                                                <asp:CheckBox ID="ClassCheckBox" runat="server" Text="Class" AutoPostBack="True" OnCheckedChanged="ClassCheckBox_CheckedChanged" />
                                                            </div>

                                                            <div id="ClassDivisionDiv" runat="server" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                <asp:CheckBoxList ID="ClassDivisionCheckBoxList" runat="server">
                                                                </asp:CheckBoxList>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-6 pTop15">
                                                            <asp:Button ID="ApplyAllClassButton" runat="server" SkinID="0" OnClick="ApplyAllClassButton_Click"
                                                                Text="Apply For All Class" CssClass="btn btn-apply" />
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="himsBoxTitle himsBoxHeader card-head inner">
                                                    <div class="gridheaderText fLeft">
                                                        <header>
                                                            <asp:Label ID="Label16" Text="Apply Exam Copy of the Class" runat="server" />
                                                        </header>
                                                    </div>
                                                </div>

                                                <div class="outerBox11 pTop5 col-md-6">
                                                    <div class="col-md-6">
                                                        <div class="select">
                                                            <asp:CheckBox ID="ExamCopyCheckBox" runat="server" Text="Exam" AutoPostBack="True" OnCheckedChanged="ExamCopyCheckBox_CheckedChanged" />
                                                        </div>

                                                        <div id="Div9" runat="server" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                            <asp:CheckBoxList ID="ExamCopyCheckBoxList" runat="server">
                                                            </asp:CheckBoxList>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-6 pTop15">
                                                        <asp:Button ID="ApplyExamCopyClassButton" runat="server" SkinID="0" OnClick="ApplyExamCopyClassButton_Click"
                                                            Text="Apply Exam Copy For Class" CssClass="btn btn-apply" />
                                                    </div>
                                                </div>

                                                <div class="himsBoxTitle himsBoxHeader card-head inner">
                                                    <div class="gridheaderText fLeft">
                                                        <header>
                                                            <asp:Label ID="Label13" Text="View and Generate Results" runat="server" />
                                                        </header>
                                                    </div>
                                                </div>

                                                <div id="GenerateResultDiv" runat="server" visible="False">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label1" Text="Division" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="DivisionDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ReportIdLabel" Text="Report" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="ReportDropDownList" SkinID="CustomWidthDropDownList" DataTextField="Name" DataValueField="Id"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label2" Text="Roll No." runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" ID="RollNoTextBox" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>

                                                        </div>
                                                    </div>

                                                    <div class="alignCenter col-md-12 pb5 pTop5">

                                                        <asp:Button ID="ViewResultButton" runat="server" SkinID="0" CssClass="btn btn-edit fas" OnClick="ViewResultButton_Click" Text="&#xf06e; View Result" />
                                                        <asp:Button ID="GenerateButtonButton" runat="server" SkinID="0" CssClass="btn btn-generate fas" Text="&#xf079; Generate Result" OnClick="GenerateButton_Click" />
                                                        <asp:Button ID="SendNotificationButton" runat="server" SkinID="0" CssClass="btn btn-send fas" Text="&#xf1d8; Send Notification" OnClick="SendNotificationButton_Click" Visible="false" />
                                                        <asp:HiddenField runat="server" ID="ButtonIdHiddenField" />

                                                    </div>

                                                    <div class="himsBoxTitle himsBoxHeader card-head inner">
                                                        <div class="gridheaderText fLeft">
                                                            <header>
                                                                <asp:Label ID="Label14" Text="Apply Exam Master to other Class" runat="server" />
                                                            </header>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox11 pTop5 col-md-6">
                                                        <div class="col-md-6">
                                                            <div class="select">
                                                                <asp:CheckBox ID="ExamApplyForAllClassCheckBox" runat="server" Text="Class" AutoPostBack="True" OnCheckedChanged="ExamApplyForAllClassCheckBox_CheckedChanged" />
                                                            </div>
                                                            <div id="Div4" runat="server" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                <asp:CheckBoxList ID="ExamApplyForAllClassCheckBoxList" runat="server">
                                                                </asp:CheckBoxList>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-6 pTop15">
                                                            <asp:Button ID="ExamApplyforallclassButton" runat="server" CssClass="btn btn-apply" SkinID="0" OnClick="ExamApplyforallclassButton_Click"
                                                                Text="Apply For All Class" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop15 col-md-3">
                                                        <div class="controLabelWidth">
                                                            <asp:Label ID="Label10" Text="Linked Exam" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="LinkedExamDropDownList" runat="server" CssClass="form-control"></asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop15 col-md-3 ">
                                                        <div class="controLabelWidth">
                                                            <asp:Label ID="ExamCoOrdinatorSearchLabel" Text="Exam Co-Ordinator" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="ExamCoOrdinatorSearchDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="cBoth"></div>
                                                <div id="ApplySiddhiKrupaDiv" runat="server" visible="false" class="pTop10">
                                                    <div class="cBoth"></div>
                                                    <div class="himsBoxTitle himsBoxHeader card-head inner">
                                                        <div class="gridheaderText fLeft">
                                                            <header>
                                                                <asp:Label ID="Label15" Text="Apply Siddhi and Krupa Marks" runat="server" />
                                                            </header>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth"></div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="fLeft pRight5">
                                                            <asp:CheckBox ID="ApplySiddhiKrupaCheckBox" runat="server" Text="Apply Siddhi Krupa To This Exam" />
                                                        </div>
                                                    </div>
                                                    <div class="cBoth"></div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="OverallPercentageForGraceLabel" Text="Overall Percentage For Grace" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" TextMode="Number" ID="OverallPercentageForGraceTextBox" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="MinimumGracePercetageLabel" Text="Minimum Grace Percetage" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" TextMode="Number" ID="MinimumGracePercetageTextBox" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="GraceMaxMarkLabel" Text="Grace Max Mark" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" TextMode="Number" ID="GraceMaxMarkTextBox" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="KrupaMaxMarkLabel" Text="Krupa Max Mark" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox runat="server" TextMode="Number" ID="KrupaMaxMarkTextBox" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth"></div>
                                                </div>
                                                <div class="cBoth"></div>

                                                <div class="outerBox pTop5 col-md-12">
                                                    <div class="alert alert-info">
                                                        <i class="material-icons">info</i>
                                                        <b>Note :</b>
                                                        <br />
                                                        <br />
                                                        Overall Percentage For Grace - Overall Exam Percentage
                                                        <br />
                                                        Minimum Grace Percetage - Minimum Percentage Criteria
                                                        <br />
                                                        Grace Max Mark - Maximum Siddhi Marks (First Priority)
                                                        <br />
                                                        Krupa Max Mark - Maximum Krupa Marks
                                                        <br />
                                                        <br />
                                                        Sidhi and Krupa Marks Applied StudentWise
                                                        <br />
                                                        Eligible Students :- Students who score between "Minimum Grace Percetage" and "Overall Percentage For Grace"
                                                        <br />
                                                        Grace Max Mark - Applied FIrst
                                                        <br />
                                                        If Student still Fails, Then Krupa Max Mark Applied
                                                        <br />
                                                    </div>
                                                </div>
                                                <div class="cBoth"></div>

                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel Width="100%" ID="CoScholasticTabPanel" runat="server" HeaderText="Co Scholastic"
                                            Enabled="false" Visible="true">
                                            <HeaderTemplate>

                                                <ul class="nav nav-tabs tabs-style-iconboxinner ">
                                                    <li class="fancyTab">
                                                        <a class="ajaxtabpadding"><i class="fas  fa-graduation-cap"></i>&nbsp;Co Scholastic
                                                        </a>
                                                    </li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="outerBox col-md-3 pTop15">
                                                    <div class="controlLabelWidth">
                                                        Exam Name:
                                                                        <asp:Label ID="CoScholasticExamLabel" runat="server" Font-Bold="True"></asp:Label>
                                                    </div>
                                                </div>

                                                <div class="outerBox col-md-3 pTop15">
                                                    <div class="controlLabelWidth">
                                                        Class:
                                                                        <asp:Label ID="CoScholasticClassLabel" runat="server" Font-Bold="True"></asp:Label>
                                                    </div>
                                                </div>
                                                <div class="cBoth"></div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:CheckBox ID="IsIncludeCoScholasticCheckBox" runat="server" Text=" Include CoScholastic"
                                                            class="pLeft5" OnCheckedChanged="IsIncludeCoScholasticCheckBox_CheckedChanged" AutoPostBack="True" />
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:CheckBox ID="IsCoScholasticGradeIndicatorCheckBox" runat="server" Text="Display Grade Indicator"
                                                            class="pLeft5" Enabled="False" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-4">
                                                    <div class="controlLabelWidth">
                                                        <asp:CheckBox ID="IsCoScholasticGradeDesIndicatorCheckBox" runat="server"
                                                            Text="Display Descriptive Indicator"
                                                            class="pLeft5" Enabled="False" />
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-6">
                                                    <div class="controlLabelWidth display-flex">
                                                        <asp:CheckBox ID="IsCoScholasticGradeCheckBox" runat="server" Text=" Display Grade"
                                                            class="pLeft5" Enabled="False" AutoPostBack="True" OnCheckedChanged="IsCoScholasticGradeCheckBox_CheckedChanged" />

                                                        <asp:DropDownList runat="server" ID="CoScholasticGradeSetDropDownList" SkinID="CustomWidthDropDownList"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            Enabled="False" CssClass="form-control" Width="200px">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="cBoth"></div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controLabelWidth">
                                                        <asp:Label ID="CoScholasticScopeLabel" Text="Co Scholastic Scope" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="CoScolasticScopeDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="CoscholasticTitleLabel" Text="CoScholastic Title" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox runat="server" ID="CoScholasticTitleTextBox" SkinID="CustomWidthTextBox"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            Enabled="False"></asp:TextBox>
                                                    </div>
                                                </div>

                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel Width="100%" ID="ExamCombineTabPanel" runat="server" HeaderText="Exam Combine"
                                            Enabled="false">
                                            <HeaderTemplate>

                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab">
                                                        <a href="#"><i class="fas fa-book"></i>&nbsp;Exam Combine
                                                        </a>
                                                    </li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div id="Div3" class="himssuHeader6WireBox" runat="server" visible="true">

                                                        <div class="outerBox col-md-3 pTop15">
                                                            <div class="controlLabelWidth">
                                                                Exam Name:
                                                                          <asp:Label ID="CombineExamLabel" runat="server" Font-Bold="True"></asp:Label>

                                                            </div>
                                                        </div>

                                                        <div class="outerBox col-md-3 pTop15">
                                                            <div class="controlLabelWidth">
                                                                Class:
                                                                            <asp:Label ID="CombineClassLabel" runat="server" Font-Bold="True"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div class="cBoth"></div>
                                                        <div class="outerBox col-md-3 pTop5">
                                                            <div class="controlLabelWidth">
                                                                <asp:CheckBox ID="IsIncludeSubExamCheckBox" runat="server" Text=" Include SubExam" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox col-md-3 pTop5">
                                                            <div class="controlLabelWidth">
                                                                <asp:CheckBox ID="IsSubjectWeightageCheckBox" runat="server" Text="Subject Weightage" OnCheckedChanged="IsSubjectWeightageCheckBox_CheckedChanged" AutoPostBack="true" />
                                                            </div>
                                                        </div>

                                                        <div class="himsBoxContent col-md-12">
                                                            <div id="Div6" class="himsBoxContentMsg" runat="server" visible="False">
                                                            </div>
                                                            <div class="table-responsive">
                                                                <asp:GridView ID="ExamCombineGridView" runat="server" AutoGenerateColumns="False"
                                                                    EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" DataKeyNames="ExamCombineId,ExamId,SubExamId,ExamName"
                                                                    CssClass="table table-striped table-bordered table-hover">
                                                                    <Columns>
                                                                        <asp:BoundField DataField="ExamCombineId" HeaderText="Id" Visible="false"></asp:BoundField>
                                                                        <asp:BoundField DataField="ExamId" HeaderText="ExamId" Visible="false"></asp:BoundField>
                                                                        <asp:BoundField DataField="SubExamId" HeaderText="SubExamId" Visible="false"></asp:BoundField>
                                                                        <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="3%">
                                                                            <HeaderTemplate>
                                                                                <itemstyle />
                                                                                <itemtemplate>
                                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                             <asp:CheckBox ID="HeaderCombineSelectCheckBox" SkinID="CustomWidthCheckBox" OnCheckedChanged="HeaderCombineSelectCheckBox_OnCheckedChanged"
                                                                                                    runat="server" AutoPostBack="True"/>
                                                                                                <span></span></label>
                                                                                           </itemtemplate>
                                                                            </HeaderTemplate>
                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="SelectCombineCheckBox" runat="server" SkinID="CustomWidthCheckBox"
                                                                                        OnCheckedChanged="SelectCombineCheckBox_Checked" Checked='<%# Eval("CombineSelected") %>'
                                                                                        AutoPostBack="True" />
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Exam" ItemStyle-Width="11%" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ExamLabel" runat="server" Text='<%# Bind("ExamName") %>'> </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Exam Group" ItemStyle-Width="11%" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ExamGroupLabel" runat="server" Text='<%# Bind("ExamGroupName") %>'>' </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Weightage" ItemStyle-Width="6%" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:TextBox ID="WeightageTextBox" SkinID="CustomWidthTextBox" runat="server" Width="60px"
                                                                                    MaxLength="20" onblur="javascript:return fnValidateDecimal(this,10,2)" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                                    Text='<%# DataBinder.Eval(Container.DataItem,"Weightage").ToString()=="0"? "":Eval("Weightage") %>'></asp:TextBox>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ExamOrder" ItemStyle-Width="6%" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:TextBox ID="ExamOrderTextBox" SkinID="CustomWidthTextBox" runat="server" Width="60px"
                                                                                    MaxLength="20" onblur="javascript:return fnValidateDecimal(this,10,2)" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                                    Text='<%# DataBinder.Eval(Container.DataItem,"ExamOrder").ToString()=="0"? "":Eval("ExamOrder") %>'></asp:TextBox>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>

                                                            <div id="dialog" style="display: none">
                                                                Do you want to delete?
                                                            </div>



                                                            <div id="SubjectCombinbeDiv" runat="server" visible="false">
                                                                <div class="alignCenter col-md-12 pTop5 pb5">
                                                                    <asp:Button ID="CombineSaveButton" runat="server" Text="&#xf0c7; Save" OnClick="CombineSaveButton_Click" SkinID="0" CssClass="btn btn-save fas" />
                                                                    <asp:Button ID="DeleteSubjectButton" runat="server" Text="&#Xf2ed; Delete" OnClick="DeleteSubjectButton_Click" SkinID="0" CssClass="btn btn-delete fas" />
                                                                </div>
                                                                <div class="col-md-12">
                                                                    <div class="alert alert-info">
                                                                        <asp:Label ID="LabelId" runat="server" Text="For weightage calculation round off will apply on total avg not on individual exam / subject marks." SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                </div>
                                                                <asp:GridView ID="GridView1" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" DataKeyNames="ClassSubjectId,SubexamId,Weightage"
                                                                    CssClass="table table-striped table-bordered table-hover" OnRowDataBound="GridView1_RowDataBound">
                                                                    <Columns>



                                                                        <asp:TemplateField HeaderText="Subject Name" ItemStyle-Width="11%" ItemStyle-Wrap="true" Visible="false"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="SubExamIdLabel" runat="server" Text='<%# Bind("SubExamId") %>'>' </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Subject Name" ItemStyle-Width="11%" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="SubjectNameLabel" runat="server" Text='<%# Bind("SubjectName") %>'>' </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Weightage" ItemStyle-Width="6%" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:TextBox ID="WeightageTextBox" SkinID="CustomWidthTextBox" runat="server" Width="60px"
                                                                                    MaxLength="20" onblur="javascript:return fnValidateDecimal(this,10,2)" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                                    Text='<%# DataBinder.Eval(Container.DataItem,"Weightage").ToString()=="0"? "":Eval("Weightage") %>'></asp:TextBox>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>

                                                            <div class="alignCenter col-md-12 pTop5 pb5">
                                                                <asp:Button ID="ReportButton" runat="server" Text="&#xf06e; View All Exam Setting" SkinID="0" CssClass="btn btn-edit fas" OnClick="ReportButton_Click" />
                                                                <asp:HiddenField ID="hdnFlag" runat="server" Value="0" />
                                                                <asp:Button ID="ViewSettingsButton" runat="server" Text="&#xf06e; View Exam Setting" SkinID="0" CssClass="btn btn-edit fas" OnClick="ViewSettingsButton_Click" />
                                                                <asp:Button ID="ViewDetailSettingButton" runat="server" Text="&#xf06e; View Exam Detail Setting" SkinID="0" CssClass="btn btn-edit fas" OnClick="ViewDetailSettingsButton_Click" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel Width="100%" ID="SubjectWeightTabPanel" runat="server" HeaderText="Exam Master" Enabled="false">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab">
                                                        <a href="#"><i class="fas fa-book"></i>&nbsp;Subject Weightage
                                                        </a>
                                                    </li>
                                                </ul>

                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div class="outerBox col-md-3 pTop15">
                                                        <div class="controlLabelWidth">
                                                            Exam Name:
                                                                          <asp:Label ID="SubjectWeightageExamLabel" runat="server" Font-Bold="True"></asp:Label>

                                                        </div>
                                                    </div>

                                                    <div class="outerBox col-md-3 pTop15">
                                                        <div class="controlLabelWidth">
                                                            Class:
                                                                            <asp:Label ID="SubjectWeightageClassLabel" runat="server" Font-Bold="True"></asp:Label>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth"></div>
                                                    <div class="himssuHeader7WireBox col-md-12">
                                                        <div class="table-responsive">
                                                            <asp:GridView ID="MarkEntryGridView" runat="server" AutoGenerateColumns="False"
                                                                EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true"
                                                                DataKeyNames="ClassSubjectId" CssClass="table table-striped table-bordered table-hover" Width="100%">
                                                                <Columns>
                                                                    <asp:BoundField DataField="SubjectName" HeaderText="SubjectName"></asp:BoundField>
                                                                    <asp:TemplateField HeaderText="Examname1" ItemStyle-Width="15%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname1Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname1HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox1" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname2" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname2Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname2HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox2" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname3" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname3Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname3HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox3" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname4" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname4Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname4HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox4" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname5" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname5Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname5HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox5" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname6" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname6Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname6HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox6" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname7" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname7Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname7HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox7" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname8" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname8Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname8HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox8" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname9" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname9Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname9HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox9" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname10" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname10Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname10HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"> </asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox10" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname11" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname11Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname11HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox11" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname12" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname12Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname12HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox12" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname13" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname13Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname13HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox13" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname14" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examnam14Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname14HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox14" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Examname15" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <HeaderTemplate>
                                                                            <asp:Label ID="Examname15Label" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                            <asp:Label ID="Examname15HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server" Visible="false"></asp:Label>
                                                                        </HeaderTemplate>
                                                                        <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="SubjectWeightageTextBox15" SkinID="CustomWidthTextBox" runat="server" Width="60px" onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"
                                                                                Text=''></asp:TextBox>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                    </cc1:TabContainer>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
            </div>

        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../../JavaScript/rjs/encrypt/exam-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/exam-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

    <script src="../../../JavaScript/tinymce/plugins/advlist/plugin.min.js"></script>
    <script src="../../../JavaScript/tinymce/plugins/anchor/plugin.min.js"></script>
    <script src="../../../JavaScript/tinymce/plugins/autolink/plugin.min.js"></script>
    <script src="../../../JavaScript/tinymce/plugins/autoresize/plugin.min.js"></script>
    <script src="../../../JavaScript/tinymce/plugins/autosave/plugin.min.js"></script>
    <script src="../../../JavaScript/tinymce/plugins/bbcode/plugin.min.js"></script>
    <script src="../../../JavaScript/tinymce/plugins/charmap/plugin.min.js"></script>
    <script src="../../../JavaScript/tinymce/plugins/code/plugin.min.js"></script>
    <script src="../../../JavaScript/tinymce/plugins/codesample/plugin.min.js"></script>
    <script src="../../../JavaScript/tinymce/tinymce.js"></script>
    <script src="../../../JavaScript/tinymce/tinymce.min.js"></script>
    <script src="../../../JavaScript/tinymce/jquery.tinymce.min.js"></script>

    <script type="text/javascript">
        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler_Page);
        function EndRequestHandler_Page(sender, args) {

            TinyMCE('T');

        }

        $(document).ready(function () {

            TinyMCE('T');


        });

        var id = 1;
        function add_tiny(status) {

            tinymce.remove();
            TinyMCE(status);
        }
        function TinyMCE(status) {

            tinymce.init({
                selector: '#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FieldNameArea',
                height: 50,
                width: 50,
                menubar: false,
                encoding: "",
                menubar: false,
                statusbar: false,
                toolbar: false,
                setup: function (ed) {
                    //debugger;

                    //$('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FieldNameDropDownList').change(function () {
                    //    $('#FieldNameDiv')[($("asp:ListItem[value='select']").is(":checked")) ? "hide" : "show"]();
                    //});

                    ed.on('change', function (e) {

                        $("#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FieldNameArea").text(ed.getContent());

                    });
                    ed.on('init', function () {
                        debugger;
                        $("div.mce-toolbar-grp").hide();
                        if (status == "E" || status == "C" || status == "U" || status == "S" || status == "F") {
                            $("div.mce-toolbar-grp").hide();
                            this.setMode('');
                        }
                        else {
                            this.setMode('readonly');
                        }
                    });
                    ed.on('focus', function () {
                        $("div.mce-toolbar-grp").show();
                    });
                    ed.on('blur', function () {
                        $("div.mce-toolbar-grp").hide();
                    });
                    ed.on("init", function () {
                        $("div.mce-toolbar-grp").hide();
                    });
                },
                plugins: [
                  'advlist autolink lists link image charmap print preview anchor',
                  'searchreplace visualblocks code fullscreen',
                  'insertdatetime media table contextmenu paste code'
                ],
                //toolbar: 'undo redo | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | fontselect | fontsizeselect',
                toolbar1: 'bold italic | alignleft aligncenter alignright alignjustify | fontsizeselect',
                content_css: '//www.tinymce.com/css/codepen.min.css'
            });
        }
        //$(function () {
        //    $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FieldNameArea').hide();
        //    $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FieldNameDropDownList').change(function () {
        //        if ($('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FieldNameDropDownList').val() == 'select') {
        //            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FieldNameArea').hide();
        //        } else {
        //            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FieldNameArea').show();
        //        }
        //    });
        //});
        //$(function () {

        //    $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FieldNameDropDownList').change(function () {
        //        alert("hello");
        //        $('#FieldNameDiv')[($("asp:ListItem[value='select']").is(":checked")) ? "hide" : "show"]();
        //    });
        //});

        function Enablecontrol() {
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_ExamGroupDropDownList').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_ClassDropDownList').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_ResultProcessCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_IsMarkInDecimalCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_DecimalUptoDropDownList').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_IsNegativeMarkCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_IsLockForEditCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_IsPublishedCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_GradeCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FailPercentageZeroCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_RankNoCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_RankGenerateCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_PercentageCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_PercentileCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_SubjectPercentileCheckBox').attr('disabled', 'disabled');

            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayResultStatusCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsIncludeSubExamCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_PercentileScopeDropDownList').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsExcludeAbsentTotalCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_DecimalUptoDropDownList').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsPrePrintedCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayPhotoCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_ImageHeaderCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplaySchoolNameCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayBirthDateCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsMonthlyAttendanceCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayAttendanceCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayParentsNameCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayHeightWeightCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayGradeStringCheckBox').attr('disabled', 'disabled');

            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayTeacherSignCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayPrincipalSignCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayHighestDivisionMarkCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayHighestDivisionGradeCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_DisplayTotalMarksCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_DisplayResultIndicatorCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_Remark1TextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_Remarks2TextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_Remark3TextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_DisplayTitleTextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_DetailAdjustmentTextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FooterAdjustmentTextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_MaximumMarkTextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FieldNameArea').attr('disabled', 'disabled');

            $('#ctl00_CP_ExamMasterTabContainer_CoScholasticTabPanel_IsIncludeCoScholasticCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_CoScholasticTabPanel_CoScholasticTitleTextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayActivityGradeCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_TeacherSignTextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_ParentTextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_PrincipalTextBox').attr('disabled', 'disabled');

            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_DisplayTotalMarksCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_DisplayResultIndicatorCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_Remark1TextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_Remarks2TextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_Remark3TextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsAllExamPassRequiredCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayAbsentCountCheckBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_ExamGridView tr').each(function () {
                $(this).find('input').attr('disabled', 'disabled');
                $(this).find('select').attr('disabled', 'disabled');
            });
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_OverallPercentageForGraceTextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_MinimumGracePercetageTextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_GraceMaxMarkTextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_KrupaMaxMarkTextBox').attr('disabled', 'disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_ApplySiddhiKrupaCheckBox').attr('disabled', 'disabled');
        }
        function Enable_control() {


            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_ResultProcessCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_IsMarkInDecimalCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_DecimalUptoDropDownList').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_IsNegativeMarkCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_IsLockForEditCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_IsPublishedCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_GradeCheckBox').removeAttr('disabled');

            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FailPercentageZeroCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_RankNoCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_RankGenerateCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_PercentageCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_PercentileCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_SubjectPercentileCheckBox').removeAttr('disabled');

            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayResultStatusCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsIncludeSubExamCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_PercentileScopeDropDownList').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsExcludeAbsentTotalCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_DecimalUptoDropDownList').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsPrePrintedCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayPhotoCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_ImageHeaderCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplaySchoolNameCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayBirthDateCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsMonthlyAttendanceCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayAttendanceCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayParentsNameCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayHeightWeightCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayGradeStringCheckBox').removeAttr('disabled');

            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayTeacherSignCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayPrincipalSignCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayHighestDivisionMarkCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayHighestDivisionGradeCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_DisplayTotalMarksCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_DisplayResultIndicatorCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_Remark1TextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_Remarks2TextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_Remark3TextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_DisplayTitleTextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_DetailAdjustmentTextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FooterAdjustmentTextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_MaximumMarkTextBox').removeAttr('disabled');

            $('#ctl00_CP_ExamMasterTabContainer_CoScholasticTabPanel_IsIncludeCoScholasticCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_CoScholasticTabPanel_CoScholasticTitleTextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayActivityGradeCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_TeacherSignTextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_ParentTextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_PrincipalTextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_DisplayTotalMarksCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_DisplayResultIndicatorCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_Remark1TextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_Remarks2TextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_Remark3TextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsAllExamPassRequiredCheckBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_FieldNameArea').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_IsDisplayAbsentCountCheckBox').removeAttr('disabled');

            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterTabPanel_ExamGridView tr').each(function () {
                $(this).find('input').removeAttr('disabled');
                $(this).find('select').removeAttr('disabled');
            });

            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_OverallPercentageForGraceTextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_MinimumGracePercetageTextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_GraceMaxMarkTextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_KrupaMaxMarkTextBox').removeAttr('disabled');
            $('#ctl00_CP_ExamMasterTabContainer_ExamSettingTabPanel_ApplySiddhiKrupaCheckBox').removeAttr('disabled');
        }


    </script>
</asp:Content>
