<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_General_ReportCriteria_ResultListReport, App_Web_lnnwqy32" 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" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="StudentReportUpdatePanel" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <td 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>
                </td>
                <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="himsBoxContent card-body">
                                    <div class="contentHolder">
                                        <asp:Panel ID="StudentReportListDiv" runat="server" meta:resourcekey="SkillDivResource1">


                                            <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" SkinID="CustomWidthDropDownList" AutoPostBack="true" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" OnSelectedIndexChanged="ReportDropDownList_OnSelectedIndexChanged">
                                                    </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="outerBox pTop5 ">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ViewLabel" runat="server" Visible="false" Text="Page Size"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="DropDownList1" runat="server" class="form-control" SkinID="CustomWidthDropDownList" Visible="false"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="ViewModeDropDownListResource" />
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="DepartmentLabel" runat="server" Text="Department"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="DepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                        AutoPostBack="true" onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()"
                                                        OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ClassLabelM" runat="server" Text="Class" SkinID="MandatoryLabel"></asp:Label>
                                                    <asp:Label ID="ClassLabel" runat="server" Text="Class" Visible="false"></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="DivisionLabelM" runat="server" Text="Division" SkinID="MandatoryLabel"></asp:Label>
                                                    <asp:Label ID="DivisionLabel" runat="server" Text="Division" Visible="false"></asp:Label>
                                                </div>
                                                <asp:DropDownList ID="DivisionDropDownList" runat="server" class="form-control" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="false" />
                                            </div>


                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ExamLabel" runat="server" Text="Exam" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <asp:DropDownList ID="ExamDropDownList" runat="server" class="form-control" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                    OnSelectedIndexChanged="ExamDropDownList_OnSelectedIndexChanged" />
                                            </div>
                                            <div class="outerBox pTop5 col-md-3" id="subdiv" runat="server" visible="False">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SubjectLabel" runat="server" Text="Subject" Visible="False" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <asp:DropDownList ID="SubjectDropDownList" runat="server" Visible="false"
                                                    class="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="true" />
                                            </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" class="form-control" 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" />
                                                        <asp:HiddenField ID="SourceIdHiddenField" runat="server" />
                                                    </div>
                                                </div>
                                            </asp:Panel>

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StatusLabel" runat="server" Text="Status"></asp:Label>
                                                </div>
                                                <asp:DropDownList ID="StatusDropDownList" runat="server" class="form-control" SkinID="CustomWidthDropDownList"
                                                    AutoPostBack="false" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                            </div>
                                            <div class="outerBox pTop5 col-md-3" id="classstatusdiv" runat="server">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ClassStatusLabel" runat="server" Text="Class Status"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="ClassStatusDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="ClassStatusDropDownListResource" />
                                                </div>
                                            </div>
                                            <div id="FromToRollNoDiv" runat="server">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="FromRollNoLabel" runat="server" Text="From Roll No"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="FromRollNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ToRollNoLabel" runat="server" Text="To Roll No"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="ToRollNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div id="ObtainDiv" runat="server">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="FromObtainLabel" runat="server" Text="From Obtain"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="FromObtainTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ToObtainLabel" runat="server" Text="To Obtain"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="ToObtainTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div id="PerDiv" runat="server">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="FromPerLabel" runat="server" Text="From Percentage"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="FromPerTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ToPerLabel" runat="server" Text="To Percentage"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="ToPerTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div id="RankGradediv" runat="server" visible="false">
                                                <div class="outerBox  ">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="GradeLabel" runat="server" Text="Grade" Visible="false"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="GradeTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Visible="false" />
                                                    </div>
                                                </div>

                                                <div class="outerBox">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="FromRankLabel" runat="server" Visible="false" Text="From Rank"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="FromRankTextBox" runat="server" SkinID="CustomWidthTextBox" Visible="false"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ToRankLabel" runat="server" Visible="false" Text="To Rank"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="ToRankTextBox" runat="server" Visible="false" SkinID="CustomWidthTextBox"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                    </div>
                                                </div>

                                            </div>
                                            <div id="CustomFileDiv" runat="server">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:CheckBox ID="IsCustomFileCheckBox" runat="server" Text="Custom File Name" />
                                                        <%--<asp:Label ID="IsCustomFileLabel" runat="server" Text="Custom File Name"></asp:Label>--%>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="Label2" runat="server" Text="File Name Based On"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="FileNameDropDownList" runat="server" DataTextField="Name" DataValueField="Id"
                                                            class="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()">
                                                            <asp:ListItem Selected="True" Value="Id No"></asp:ListItem>
                                                            <asp:ListItem Text="Roll No" Value="Roll No"></asp:ListItem>
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="Label1" runat="server" Text="Folder Name"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="CustomFolderTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Label3" runat="server" Text="Filter"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="FiltrerDropDownList" runat="server"
                                                        CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()">
                                                        <asp:ListItem Value="0">- All -</asp:ListItem>
                                                        <asp:ListItem Value="1">School</asp:ListItem>
                                                        <asp:ListItem Value="2">Hostel</asp:ListItem>
                                                        <asp:ListItem Value="3">Transport</asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>

                                            <div id="CasteCategoryFilterDiv" runat="server" visible="false">
                                                <div class="outerBox11 col-md-3 pTop15">
                                                    <div class="select">
                                                        <asp:CheckBox ID="CasteCategoryCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="CasteCategoryCheckBox_CheckedChanged" />
                                                        <asp:Label ID="CasteCategoryLabel" runat="server" text="Caste Category" class="pLeft5" AssociatedControlID="CasteCategoryCheckBox"></asp:Label>
                                                    </div>
                                                    <div id="CasteCategoryDiv" runat="server" visible="False" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                        <asp:CheckBoxList ID="CasteCategoryCheckBoxList" runat="server">
                                                        </asp:CheckBoxList>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3" id="ShowWithTotalDiv" runat="server">
                                                <div class="controlLabelWidth">
                                                    <asp:CheckBox ID="IsDetailCheckBox" runat="server" Text="Show With Total" />
                                                    <%--<asp:Label ID="IsDetailLabel" runat="server" Text="Show With Total"></asp:Label>--%>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3" id="ShowWithDetailDiv" runat="server">
                                                <div class="controlLabelWidth">
                                                    <asp:CheckBox ID="DetailCheckBox" runat="server" Text="Show With Detail" />
                                                    <%--<asp:Label ID="DetailLabel" runat="server" ></asp:Label>--%>
                                                </div>
                                            </div>
                                            <%-- Added by dhananjay for mantis start : 39391--%>
                                              <div id="OrderByDiv" runat="server" visible="false">
                                               <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Label5" Text="Order By" runat="server"></asp:Label>
                                                </div>
                                                <div>
                                                    <asp:DropDownList ID="OrderByDropDownList" runat="server" CssClass="form-control">
                                                        <asp:ListItem Selected="True" Value="0">Id</asp:ListItem>
                                                        <asp:ListItem Value="1">Rank</asp:ListItem>
                                                        <asp:ListItem Value="2">Roll No</asp:ListItem>
                                                        <asp:ListItem Value="3">Name</asp:ListItem>
                                                        <asp:ListItem Value="4">Obtained</asp:ListItem>
                                                    </asp:DropDownList>

                                                </div>
                                              </div>
                                            </div>
                                            <%-- Added by dhananjay Mantis End : 39391--%>
                                        </asp:Panel>
                                    </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>
                            </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>--%>
    <script src="../../../../JavaScript/jquery-2.0.3.min.js"></script>
    <script src="../../../../JavaScript/rjs/app/Validations.js"></script>
    <script type="text/javascript" src="../../../../JavaScript/mustache.js"></script>
    <script type="text/javascript" src="../../../../JavaScript/jquery-3.1.1.js"></script>
    <script type="text/javascript" src="../../../../JavaScript/AutoSelectDropDown.js"></script>
    <link href="../../../../App_Themes/AutoSelectDropDown.css" rel="stylesheet" />
    <script type="text/javascript">

        function LoadSelectReportDropDown() {
            $('#ctl00_CP_ReportDropDownList').select2({
                placeholder: "Select an option",
                dropdownAutoWidth: true
            });
        };
        function validate() {
            var himsValidator = [new hims_ctl_val('ctl00_CP_ReportDropDownList', 'Report', "T", "", "", "", "")
            ];
            if (fnDoValidate(himsValidator))
                return true;
            else
                return false;
        }
        function isNumberKey(evt) {
            var charCode = (evt.which) ? evt.which : event.keyCode;
            if (charCode != 46 && charCode > 31 && (charCode < 48 || charCode > 57))
                return false;
            return true;
        }

    </script>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/result-list-report")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
