<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_General_ProgressCardReportCriteria, App_Web_vcvlcqwm" 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>

            <div id="divContentPage">
                <!-- 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>
                <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="cBoth"></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="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>

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

                                            <div class="outerBox pTop5  col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FromDateLable" runat="server" Text="From Date" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl"
                                                    Visible="True" runat="Server"></Date:DatePickerControl>
                                            </div>

                                            <div class="outerBox pTop5  col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ToDateLable" runat="server" Text="To Date" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl"
                                                    Visible="true" runat="server" />
                                            </div>


                                            <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 class="outerBox11 pTop5  col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ExamGroupLabel" runat="server" Text="ExamGroup"></asp:Label>
                                                </div>
                                                <div id="Div1" runat="server" visible="true" class="fLeft pRight5">
                                                    <asp:CheckBoxList ID="ExamGroupCheckBoxList" runat="server"
                                                        class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0" SkinID="CustomWidthCheckBoxList" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" AutoPostBack="true" />
                                                </div>
                                            </div>
                                            <%--Changes by dhananjay for mantis id Start : 36165--%>
                                            <div class="outerBox11 pTop5  col-md-3">
                                                <%--<div class="controlLabelWidth">
                                                    <asp:Label ID="SubjectLabel" runat="server" Text="Subject"></asp:Label>
                                                </div>--%>
                                                 <div class="Subject">
                                                        <asp:CheckBox ID="SubjectCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="SubjectCheckBoxList_ChekedChanged" Text="Select All" />
                                                    </div>
                                                <div id="CityDiv" runat="server" visible="true" class="fLeft pRight5">
                                                    <asp:CheckBoxList ID="SubjectCheckBoxList" runat="server"
                                                        onmouseleave="showHideTooltip()" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0"
                                                        onmouseenter="showHideTooltip()" />
                                                </div>
                                                <%--<div id="CityDiv" runat="server" visible="true" class="fLeft pRight5">
                                                    <asp:CheckBoxList ID="SubjectCheckBoxList" runat="server"
                                                        onmouseleave="showHideTooltip()" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0"
                                                        onmouseenter="showHideTooltip()" AutoPostBack="true" OnCheckedChanged="SubjectCheckBoxList_ChekedChanged" />
                                                </div>--%>
                                            </div>
                                            <%--Changes by dhananjay for mantis id End : 36165--%>

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

                                            <div id="UploadStudentWiseDiv" runat="server" visible="false">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:CheckBox ID="UploadPDFCheckBox" runat="server" OnCheckedChanged="UploadPDFCheckBox_ChekedChanged" Text="Upload Student Wise pdf" AutoPostBack="true" />
                                                        <%--<asp:Label ID="UploadPDFLabel" runat="server" Text="Upload Student Wise ResultSheet pdf"></asp:Label>--%>
                                                    </div>
                                                </div>
                                                <div id="Div2" runat="server" visible="false">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ExamNameLabel" runat="server" Text="Exam Name"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="ExamNameTextBox" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="DateLabel" runat="server" Text="Result Date"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="DatePicker" runat="server" />
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <asp:Button ID="UploadButton" Text="&#xf093; Upload" runat="server" OnClick="UploadButton_Click"
                                                            meta:resourcekey="PrintButtonResource1" SkinID="0" CssClass="btn-upload btn fas" />
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="ParticularStudentWiseCheckBox" runat="server" OnCheckedChanged="ParticularStudentWiseCheckBox_CheckedChanged" Text="Particular Student Wise" AutoPostBack="true" />
                                                            <%--<asp:Label ID="UploadPDFLabel" runat="server" Text="Upload Student Wise ResultSheet pdf"></asp:Label>--%>
                                                        </div>
                                                    </div>
                                                    <div class="alignright col-md-12 pTop5" runat="server" visible="true">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="fRight mt-27">
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                        <asp:Button ID="ExportButton" Text="&#xf093; Export" CssClass="btn-examcommon btn fas" SkinID="0" runat="Server" OnClick="ExportButton_Click" Visible="false" />
                                                        </div>

                                                    </div>
                                                    <div id="ParticularStudentWise" runat="server" visible="false">
                                                        <asp:GridView ID="ParticularStudentWiseGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            EmptyDataText="No Records Found !!"
                                                            AllowPaging="false" ShowHeader="true" DataKeyNames="Code,AcademicId" CssClass="table table-striped table-bordered table-hover">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%"
                                                                    ItemStyle-Wrap="true">
                                                                    <HeaderTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                Visible="true" OnCheckedChanged="HeaderSelectCheckBox_CheckedChanged" />
                                                                            <span></span>
                                                                        </label>
                                                                    </HeaderTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                    <ItemTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                            <span></span>
                                                                        </label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Code" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Center"
                                                                    ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="CodeLabel" runat="server" Text='<%# Bind("Code") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="RollNo" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Center"
                                                                    ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="RollNoLabel" runat="server" Text='<%# Bind("RollNo") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="50%" HeaderStyle-HorizontalAlign="Center"
                                                                    ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="NameLabel" runat="server" Text='<%# Bind("Name") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </div>
                                                    <div class=" col-md-12 pTop5">
                                                        <div class="alert alert-info">
                                                            <i class="material-icons">info</i>
                                                            <asp:Label ID="Label4" runat="server" Text="Uploaded pdf can viewed from Communication > Upload Result" SkinID="MandatoryLabel" Font-Size="X-Small"></asp:Label><br />
                                                        </div>
                                                    </div>

                                                </div>
                                            </div>

                                        </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/progress-card-report-criteria")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>

