<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_General_BatchWiseResultReportCriteria, App_Web_eqn1nlh5" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"
    TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch"
    TagPrefix="Std" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>


<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="StudentReportUpdatePanel"
        runat="server">
        <ContentTemplate>
            <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">

                        <div class="himsBoxContent">
                            <div class="leftUlMenu">
                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="105"
                                    Visible="true" runat="server" />
                            </div>

                        </div>
                    </div>
                    <div class="whiteboxpaddingleft row">
                        <div class="himssuHeader2WireBox">
                            <div class="contentHolder">
                                <div class="himssuHeader1WireBox card card-box">

                                    <div class="himsBoxHeader card-head">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                    <i class="fa fa-asterisk"></i>
                                                    Criteria
                                                </header>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="tableContainer card-body">
                                        <cc1:TabContainer ID="ResultTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                            meta:resourcekey="ResultTabContainerResource1" ActiveTabIndex="0">
                                            <cc1:TabPanel ID="HostelMasterDetails" runat="server">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-asterisk"></i>&nbsp;Report Criteria </a></li>
                                                    </ul>

                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <div class="himsBoxContent">
                                                        <div class="contentHolder">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="">
                                                                    <asp:Label ID="ReportLabel" runat="server" Text="Report" Font-Bold="true" SkinID="MandatoryLabel"></asp:Label>
                                                               &nbsp;<asp:Label ID="ClientSpecificReportLabel" runat="server" ForeColor="BlueViolet" Text=" (CS)" visible="false"></asp:Label>
                                                                      </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="ReportDropDownList" runat="server" DataTextField="Name" DataValueField="Id"
                                                                        class="form-control" OnSelectedIndexChanged="ReportDropDownList_SelectedIndexChanged" SkinID="CustomWidthDropDownList" AutoPostBack="true" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ViewModeLabel" runat="server" Text="View Mode"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="ViewModeDropDownList" runat="server" class="form-control" SkinID="CustomWidthDropDownList"
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="ViewModeDropDownListResource" />
                                                                </div>
                                                            </div>
                                                            <div class="cBoth"></div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ClassLabel" runat="server" Text="Class" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="ClassDropDownList" runat="server" class="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" meta:resourcekey="ClassDropDownListResource" AutoPostBack="true"
                                                                        OnSelectedIndexChanged="ClassDropDownList_OnSelectedIndexChanged" />
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="DivisionLabel" runat="server" Text="Division" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <asp:DropDownList ID="DivisionDropDownList" runat="server"
                                                                    class="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" AutoPostBack="false" />
                                                            </div>

                                                            <asp:Panel ID="StudentSearchPanel" runat="server">
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="StudentIdNoLabel" runat="server" Text="Id No"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5 display-flex">
                                                                        <asp:TextBox ID="StudentIdNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="200" AutoPostBack="true">
                                                                        </asp:TextBox>
                                                                        <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="StudentIdNoImageButton"
                                                                            runat="server" ImageUrl="../../../../Images/icons/icon_find.gif" Style="display: none;" />
                                                                        <asp:HiddenField ID="SourceIdHiddenField" runat="server" />

                                                                    </div>
                                                                </div>
                                                            </asp:Panel>

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

                                                            <div class="outerBox pTop5 col-md-3" id="DaysDiv" visible="false" runat="server">                                                                                                                                         
                                                                  <asp:CheckBox ID="DaysCheckBox" Visible="true" Text="Total/Present Days Require" runat="server" />                                                                  
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" id="HeightWeightDiv" visible="false" runat="server">                                                                                                                                          
                                                                  <asp:CheckBox ID="HeightWeightCheckBox" Text="Height/Weight Require" Visible="true" runat="server" />                                                                    
                                                            </div>

                                                        </div>
                                                        <div class="pTop5 col-md-12">
                                                            <div class="alert alert-info">
                                                                <u>NOTE </u>:
                                                                <b>Enter Fixed Code In Exam </b>
                                                                Annual : 101,Term-1 : 102,Term-2 : 103
                                                                <br /><br />
                                                                <u>NOTE </u>:
                                                                <b>  Enter Fixed Number as 101 in Co-Scholastic Group Master for Report : Batch Wise Report Co-Scholastic</b>
                                                            </div>
                                                        </div>

                                                        <div class="alignCenter pTop5 col-md-12">
                                                            <asp:Button ID="PrintButton" Text="&#xf15b; View Report" runat="server"
                                                                OnClick="PrintButton_Click" meta:resourcekey="PrintButtonResource1" SkinID="0" CssClass="btn-print btn fas" />
                                                            <asp:Button ID="ClearButton" Text="&#xf12d; Clear" runat="server"
                                                                OnClick="ClearButton_Click" meta:resourcekey="ClearButtonResource1" SkinID="0" CssClass="btn-clear btn fas" />
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </cc1:TabPanel>


                                            <cc1:TabPanel ID="TabPanel2" runat="server">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-book"></i>&nbsp;Class group </a></li>
                                                    </ul>

                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <div class="himsBoxContent pTop5">
                                                        <div class="table-responsive">
                                                            <asp:GridView runat="server" ID="ClassGridView" AutoGenerateColumns="False"
                                                                EmptyDataText="No records available for the seacrh criteria!"
                                                                AllowPaging="false" CssClass="table table-striped table-bordered table-hover" DataKeyNames="ClassGroupId"
                                                                ShowHeader="True" meta:resourcekey="ClassGridViewGridViewResource1">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%">
                                                                        <HeaderTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" onclick="CheckAll(this);" />
                                                                                <span></span>
                                                                            </label>
                                                                        </HeaderTemplate>
                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                        <ItemTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="SelectClassCheckBox" runat="server" Checked='<%# (Convert.ToBoolean(Eval("IsObsolete"))) %>' />
                                                                                <span></span>
                                                                            </label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:BoundField DataField="ClassGroupName" HeaderText="Class Group Name" ItemStyle-Width="90%" HeaderStyle-HorizontalAlign="Left" />
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                        <%--  <div class="outerBox11 pTop5">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="ClassGroupCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="ClassGroupCheckBox_CheckedChanged" />
                                                                        <asp:Label ID="ClassCheckBoxLabel" runat="server" Text="Class Group"></asp:Label>
                                                                    </div>
                                                                    <div id="ClassSubjectDiv" runat="server" visible="False" class="fLeft pRight5" style="overflow: auto; height: 500px; width: 300px; border-color: Silver; border-width: thin; border-style: ridge">
                                                                        <asp:CheckBoxList ID="ClassGroupcheckBoxList" runat="server">
                                                                        </asp:CheckBoxList>
                                                                    </div>
                                                                </div>--%>

                                                        <div class="alignCenter pTop5 col-md-12">
                                                            <asp:Button ID="SaveClassButton" Text="&#xf0c7; Save Class" runat="server"
                                                                OnClick="SaveClassButton_Click" meta:resourcekey="SaveClassButtonResource1" SkinID="0" CssClass="btn-save btn fas" />
                                                        </div>
                                                    </div>

                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                            <cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="Subject">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-book"></i>&nbsp;Subject </a></li>
                                                    </ul>

                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <div class="himsBoxContent pTop5">
                                                        <%--<div class="outerBox11 pTop5">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="SubjectGroupCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="SubjectGroup_CheckedChanged" />
                                                                        <asp:Label ID="Label1" runat="server" Text="Subject Group"></asp:Label>
                                                                    </div>
                                                                    <div id="Div1" runat="server" visible="False" class="fLeft pRight5" style="overflow: auto; height: 100px; width: 150px; border-color: Silver; border-width: thin; border-style: ridge">
                                                                        <asp:CheckBoxList ID="SubjectGroupCheckBoxList" runat="server">
                                                                        </asp:CheckBoxList>
                                                                    </div>
                                                                </div>--%>
                                                        <table class="table-responsive">
                                                            <asp:GridView runat="server" ID="AssignSubjectGridView" AutoGenerateColumns="False"
                                                                EmptyDataText="No records available for the seacrh criteria!"
                                                                AllowPaging="false" CssClass="table table-striped table-bordered table-hover" DataKeyNames="SubjectId"
                                                                ShowHeader="True" meta:resourcekey="AssignSubjectGridViewResource1">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%">
                                                                        <HeaderTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" onclick="CheckAll(this);" />
                                                                                <span></span>
                                                                            </label>
                                                                        </HeaderTemplate>
                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                        <ItemTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="SelectCheckBox" runat="server" Checked='<%# (Convert.ToBoolean(Eval("IsObsolete"))) %>' />
                                                                                <span></span>
                                                                            </label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:BoundField DataField="SubjectName" HeaderText="Subject Name" ItemStyle-Width="90%" HeaderStyle-HorizontalAlign="Left" />
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </table>

                                                        <div class="alignCenter ptop5 col-md-12">
                                                            <asp:Button ID="saveSubjectButton" Text="&#xf0c7; Save Subject" runat="server"
                                                                OnClick="saveSubjectButton_Click" meta:resourcekey="saveSubjectButtonResource1" SkinID="0" CssClass="btn-save btn fas" />
                                                        </div>
                                                    </div>

                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                        </cc1:TabContainer>
                                    </div>
                                </div>

                            </div>

                        </div>

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

