<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_CCEExamSetting, App_Web_dztk0gwk" 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="leftUlMenu">
                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="215"
                                            Visible="true" runat="server" />
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-wrench"></i>
                                        <asp:Label ID="Label1" runat="server" Text="CCE Exam Setting"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <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"
                                                CssClass="form-control" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="GradeSetLabel" Text="GradeSet" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="GradeSetDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" AutoPostBack="true">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="CSGradeSetIdLabel" Text="Co Scholastic GradeSet" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="CSGradeSetDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop15 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:CheckBox ID="IsGradeUpdateCheckBox" runat="server" Text="Calculate CS Grade" Visible="false" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5">
                                        <div class="fLeft pRight5">
                                            <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                        </div>
                                    </div>
                                    <div id="Div1" class="himssuHeader6WireBox pTop5 col-md-12 " runat="server" visible="true">
                                        <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server" visible="True">
                                            <div class="leftdiv"></div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="GridViewLabel" Text="Mark Setting Detail"
                                                            runat="server" />
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent table-responsive">
                                            <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="False"></div>
                                            <asp:GridView ID="CCEExamSettingGridView" runat="server" AutoGenerateColumns="False"
                                                EmptyDataText="No Records Found !!"
                                                AllowPaging="false" ShowHeader="true"
                                                DataKeyNames="CCEExamId,ClassId"
                                                CssClass="table table-striped table-bordered table-hover"
                                                OnRowDataBound="CCEExamSettingGridView_RowDataBound">
                                                <Columns>
                                                    <asp:BoundField DataField="CCEExamId" HeaderText="CCEExamId" Visible="false"></asp:BoundField>
                                                    <asp:BoundField DataField="ClassId" HeaderText="ClassId" Visible="false"></asp:BoundField>

                                                    <asp:TemplateField HeaderText="ExamName" ItemStyle-Width="11%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label ID="StudentNameLabel" runat="server" Width="130px" Text='<%# Bind("ExamName") %>'>' </asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="MaxMark" ItemStyle-Width="15%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:TextBox ID="MaxMarkTextBox" SkinID="CustomWidthTextBox" runat="server" Width="80px" MaxLength="100"
                                                                onblur="javascript:return fnValidateDecimal(this,10,2)" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                Text='<%# DataBinder.Eval(Container.DataItem,"MaxMark").ToString()=="0"? "":Eval("MaxMark") %>'></asp:TextBox>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="ExamName" ItemStyle-Width="15%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:DropDownList runat="server" ID="ExamSubGroupDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                AutoPostBack="True">
                                                            </asp:DropDownList>
                                                        </ItemTemplate>
                                                        <ItemStyle Width="15%" Wrap="True" />
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Decimal Format" ItemStyle-Width="15%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:DropDownList runat="server" ID="DecimalDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                AutoPostBack="True">
                                                            </asp:DropDownList>
                                                        </ItemTemplate>
                                                        <ItemStyle Width="15%" Wrap="True" />
                                                    </asp:TemplateField>
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                       
                        <div class="outerBox11 pTop5 col-md-6 mt2">
                            <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" visible="false" 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 ptop5">
                                <asp:Button ID="ApplyAllClassButton" runat="server" Visible="false" SkinID="0" OnClick="ApplyAllClassButton_Click" CssClass="btn btn-apply"
                                    Text="Apply For All Class" />
                            </div>
                        </div>
                        <div class="outerBox pTop15 pb5 col-md-3">
                            <div class="controlLabelWidth">
                            </div>
                            <div class="fLeft pRight5">
                                <asp:Button ID="Import_Button" SkinID="0" runat="server" Text="&#xf019; Import Activity" OnClick="Import_Button_Click" CssClass="btn btn-examcommon fas" />
                            </div>
                        </div>

                        <div class="outerBox pTop15 col-md-12">
                            <div class="alert alert-info">
                                <i class="material-icons">info</i>
                                <asp:Label ID="Label4" runat="server" Text="| Need Order index for Exams as( FA1-1,FA2-2,SA1-3) in Term 1,(FA3-4,FA4-5,SA2-6) in Term 2" SkinID="MandatoryLabel"></asp:Label><br />
                            </div>
                        </div>
                    </div>

                    <%--HEDP History Ends Here--%>
               
            </div>
                 </div>
                </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--   <script data-main="../../../JavaScript/rjs/encrypt/cceexam-setting-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/cceexam-setting")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
