<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_MSBSHSE_MSBSHSEExamReportCriteria, App_Web_zzffoum0" 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" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="StudentReportUpdatePanel"
        runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <div class="himsBoxContent">
                            <div class="leftUlMenu">
                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="224"
                                    Visible="true" runat="server" />
                            </div>
                        </div>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader2WireBox col-md-12">
                        <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 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="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">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SubjectLabel" runat="server" Text="Subject"></asp:Label>
                                                </div>
                                                <asp:DropDownList ID="SubjectDropDownList" 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="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 id="RankGradediv" runat="server">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="GradeLabel" runat="server" Text="Grade"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="GradeTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                    </div>
                                                </div>

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

                                            </div>
                                             <div class="alignCenter pTop5 col-md-12 ">
                                        <asp:Button ID="PrintButton" Text="&#xf15b; Print" 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>
                                            <!--- pdf generate code start--->

                                            <div id="CustomFileDiv" class="outerBox11 pTop5 col-md-12" runat="server">
                                                <div class="outerBox pTop5 col-md-4">
                                                    <div class="controlLabelWidth">
                                                        <asp:CheckBox ID="IsCustomFileCheckBox" runat="server" AutoPostBack="true" Text="Generate Student Wise ResultSheet pdf" OnCheckedChanged="IsCustomFileCheckBox_ChekedChanged" />
                                                        <%--<asp:Label ID="IsCustomFileLabel" runat="server" ></asp:Label>--%>
                                                    </div>
                                                </div>
                                                <div id="Div2" runat="server" visible="false">
                                                    <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" Text="Id No" 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" Visible="false"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="CustomFolderTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnTextChanged="CustomFolderTextBox_TextChanged" AutoPostBack="true" Visible="false" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-2">
                                                        <div class="controlLabelWidth">
                                                            
                                                            <asp:LinkButton ID="DownloadZipLinkButton" runat="server" OnClick="DownloadZipLinkButton_Click" Font-Bold="true" CssClass="pointer fas"><i class="fas fa-angle-double-right"></i>Download pdf</asp:LinkButton>
                                                        </div>

                                                    </div>

                                                    <div class="pTop5 col-md-12 ">
                                                    <div class="alert alert-info">
                                                         <i class="material-icons">info</i>
                                                        <asp:Label ID="Label4" runat="server" Text="Generated pdf can viewed from Installastion Path > ReportPdf" SkinID="MandatoryLabel" Font-Size="X-Small"></asp:Label><br />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <!-- pdf generate code end-->


                                            <div class="outerBox11 pTop5" >
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FAGroupLabel" runat="server" Text="FA Group"></asp:Label>
                                                </div>
                                                <asp:DropDownList ID="FAGroupDropDownList" runat="server"
                                                    class="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="true" OnSelectedIndexChanged="FAGroupDropDownList_OnSelectedIndexChanged" />
                                            </div>

                                            <div class="outerBox pTop5" >
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FALabel" runat="server" Text="FA"></asp:Label>
                                                </div>
                                                <asp:DropDownList ID="FADropDownList" runat="server"
                                                    class="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="false" />
                                            </div>
                                        </asp:Panel>
                                    </div>
                                   
                                    
                                    <div class="pTop5 col-md-12">
                                    <div class="outerBox pTop5 col-md-4">
                                        <div class="controlLabelWidth">
                                            <asp:CheckBox ID="UploadPDFCheckBox" runat="server" OnCheckedChanged="UploadPDFCheckBox_ChekedChanged" Text="Upload Student Wise ResultSheet pdf" AutoPostBack="true" />
                                            <%--<asp:Label ID="UploadPDFLabel" runat="server" Text="Upload Student Wise ResultSheet pdf"></asp:Label>--%>
                                        </div>
                                    </div>

                                    <div id="Div1" class="outerBox pTop5" runat="server" visible="false">
                                        <div class="outerBox pTop5 col-md-4">
                                            <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>
                                        <br />
                                        <div class="outerBox pTop5 col-md-4">
                                            <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" Text="Particular Student Wise" OnCheckedChanged="ParticularStudentWiseCheckBox_CheckedChanged" AutoPostBack="true" Visible="false" />
                                                <%--<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 !!" OnRowDataBound="ParticularStudentWiseGridView_RowDataBound"
                                                AllowPaging="false" ShowHeader="true" DataKeyNames="Code" 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:BoundField DataField="Code" HeaderText="Code" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                    <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:BoundField DataField="RollNo" HeaderText="RollNo" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                    <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:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="50%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                    <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>
                                                    <asp:TemplateField HeaderText="Status" ItemStyle-Width="70px" HeaderStyle-HorizontalAlign="Center"
                                                        ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                        <ItemTemplate>
                                                            <asp:Label ID="StatLabel" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                        <div class="pTop5 col-md-12">
                                            <div class="alert alert-info">
                                                <i class="material-icons">info</i>
                                                <asp:Label ID="Label5" runat="server" Text="Uploaded pdf can viewed from Communication > Upload Result" SkinID="MandatoryLabel" Font-Size="X-Small"></asp:Label><br />
                                            </div>
                                        </div>
                                    </div>
                                        </div>
                                
                                <div class="pTop5 col-md-12">
                                <div class="alert alert-info">
                                    <i class="material-icons">info</i>
                                    <asp:Label ID="Label3" runat="server" Text="To display Value set number as odd number in Co-Scholastic Exam Group detail section.
To display Life Skills set number as even number in Co-Scholastic Exam Group detail section."
                                        SkinID="MandatoryLabel" Font-Size="X-Small"></asp:Label><br />
                                </div>
                                    </div>
                                    </div>
                            </div>
                        </div>

                    </div>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>

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

