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

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="110"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader5WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-search"></i>
                                        Criteria
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <asp:Panel ID="AttendanceReportListDiv" 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"
                                                CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" AutoPostBack="true" 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" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="ViewModeDropDownListResource" />
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <div class="outerBox pTop5 col-md-3" id="FilterDiv" runat="server" visible="false">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="FilterLabel" runat="server" Text="Filter"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="FilterDropDownList" runat="server"
                                                CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" OnSelectedIndexChanged="FilterDropDownList_SelectedIndexChanged" AutoPostBack="True">
                                                <asp:ListItem Value="0">Attendance Group Wise</asp:ListItem>
                                                <asp:ListItem Value="1">Class Wise</asp:ListItem>
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div runat="server" id="ClassDivisionDiv" visible="true">
                                        <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 ID="DepartmentDropDownList" runat="server" DataTextField="Name"
                                                    DataValueField="Id" CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="True" OnSelectedIndexChanged="DepartmentDropDownList_OnSelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ClassLabel" runat="server" Text="Class" Visible="true"></asp:Label>
                                                <asp:Label ID="ClassLabelM" runat="server" Class="mandatory" Visible="false" Text="Class"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ClassDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="ClassDropDownListResource"
                                                    AutoPostBack="true" OnSelectedIndexChanged="ClassDropDownList_OnSelectedIndexChanged"
                                                    Visible="true" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="DivisionLabel" runat="server" Text="Division"></asp:Label>
                                                <asp:Label ID="DivisionLabelM" runat="server" Class="mandatory" Visible="false" Text="Division"></asp:Label>
                                            </div>
                                            <asp:DropDownList ID="DivisionDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3" id="subjectdiv" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SubjectLabel" runat="server" Text="Subject"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="SubjectDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" AutoPostBack="false" onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div runat="server" id="DivSubject" visible="false">
                                        <div class="outerBox col-md-3 pTop15">
                                            <div class="select">
                                                <asp:Label ID="SujectLabel" Text="Subject" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div id="Div1" runat="server" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                <asp:CheckBoxList ID="SUbjectCheckBoxList" runat="server">
                                                </asp:CheckBoxList>
                                            </div>
                                        </div>
                                    </div>

                                    <div id="PeriodNoDiv" runat="server" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="PeriodNoLabel" runat="server" Text="Period No"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="PeriodNoDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="DateDiv" runat="server" visible="true">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromDateLabel" runat="server" Text="From Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl" runat="server" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToDateLabel" runat="server" Text="To Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl" runat="server" />
                                            </div>
                                        </div>
                                    </div>
                                    <div id="MonthYearDiv" runat="server" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ForYearLabel" runat="server" Text="For Year"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ForYearDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="true" OnSelectedIndexChanged="ForYearDropDownList_OnSelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ForMonthLabel" runat="server" Text="For Month"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ForMonthDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </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" />
                                                <asp:HiddenField ID="SourceIdHiddenField" runat="server" />
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <div class="outerBox pTop5 col-md-3" id="statusdiv" runat="server" visible="false">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Status_Label" runat="server" Text="Status" Visible="false"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="Status_DropDownList" runat="server" CssClass="form-control" Visible="false"></asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3" id="AttendanceGroupDiv" runat="server" visible="false">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="AttendanceGroupLabel" runat="server" Text="Attendance Group" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="AttendanceGroupDropDownList" runat="server" CssClass="form-control"></asp:DropDownList>
                                        </div>
                                    </div>

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

                                    <div id="PercentageDiv" runat="server" visible="false">
                                        <div class="outerBox pTop5 col-md-3" id="FromPercentageDiv" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromPercentageLabel" runat="server" Text="From Percentage"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="FromPercentageTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="server" MaxLength="10" onKeypress="javascript:return MaskDecimal(event,12,2)">
                                                </asp:TextBox>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3" id="ToPercentageDiv" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToPercentageLabel" runat="server" Text="To Percentage"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="ToPercentageTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="server" MaxLength="10" onKeypress="javascript:return MaskDecimal(event,12,2)">
                                                </asp:TextBox>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                            <div class="alignCenter col-md-12 pTop5 pb5">
                                <asp:Button ID="PrintButton" Text="&#xf15b; View Report" runat="server" SkinID="0" CssClass="btn btn-print fas"
                                    OnClick="PrintButton_Click" />
                                <asp:Button ID="ClearButton" Text="&#xf12d; Clear" SkinID="0" runat="server" OnClick="ClearButton_Click" CssClass="btn btn-clear fas" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <%--HEDP History Ends Here--%>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--   <script data-main="../../../JavaScript/rjs/encrypt/subjectattendance-reportcriteria-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/subjectattendance-reportcriteria")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
