<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Communication_SyncResult, App_Web_xo24zi45" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="SelectReportFormatUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                
                            <div class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">
                                    <table>
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="157"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <div class="himssuHeader1WireBox card card-box">
                                    <div class="himsBoxHeader card-head">
                                        
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                <i class="fas fa-sync"></i>
                                                <asp:Label ID="MainLabel" runat="server" Text="Sync Result"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ClassLabel" Text="Class" runat="server"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="ClassDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                        AutoPostBack="true" OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="DivisionLabel" Text="Division" runat="server"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="DivisionDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                        AutoPostBack="true">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ExamTypeLabel" runat="server" Text="Exam Type"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="ExamTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        <asp:ListItem Text="- ALL -" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="Result" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="Exam" Value="2"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                           
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="CodeLabel" runat="server" Text="ID No"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="CodeTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="20" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="NameLabel" Text="Name" runat="server"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="NameTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ExamNameLabel" Text="Exam Name" runat="server"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="ExamNameTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="150" />
                                                </div>
                                            </div>
                                           
                                            <div class="alignCenter pTop5 col-md-12 center">
                                                <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click"
                                                    SkinID="0" class="btn-search btn fas" />
                                                <asp:Button ID="DeleteButton" runat="server" Text="&#xf2ed; Delete" OnClick="DeleteButton_Click" 
                                                    SkinID="0" class="fas btn btn-delete"/>
                                                <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click"
                                                    SkinID="0" class="btn-reset btn fas"/>
                                            </div>
                                           
                                            <div id="Div1" class="himssuHeader6WireBox col-md-12" runat="server"
                                                visible="false">
                                                <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server" style="display:none">
                                                    
                                                    <div class="himsBoxTitle">
                                                        <%--<div class="gridHeaderText">
                                                            <header>
                                                            <asp:Label ID="GridViewLabel" Text="List" runat="server" />
                                                            </header>
                                                        </div>--%>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent card-body table-responsive">
                                                    <asp:GridView ID="SyncResultGridView" runat="server" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                        ShowHeader="True" DataKeyNames="AcademicId,ExamId,ExamTypeId,ResultId">
                                                        <Columns>
                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="5%" ItemStyle-Width="5%"
                                                                ItemStyle-HorizontalAlign="Center">
                                                                <HeaderTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                    <asp:CheckBox ID="HeaderSelectCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                        <span></span>
                                                                    </label>
                                                                </HeaderTemplate>
                                                                <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="ID No" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left">
                                                            </asp:BoundField>
                                                            <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left">
                                                            </asp:BoundField>
                                                            <asp:BoundField DataField="Class" HeaderText="Class" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left">
                                                            </asp:BoundField>
                                                            <asp:BoundField DataField="ExamType" HeaderText="Exam Type" ItemStyle-Width="5%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="ExamName" HeaderText="Exam" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left">
                                                            </asp:BoundField>
                                                            <asp:BoundField DataField="TotalMarks" HeaderText="Total Marks" ItemStyle-Width="5%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="TotalObtain" HeaderText="Total Obtain" ItemStyle-Width="5%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="ResultStatus" HeaderText="Status" ItemStyle-Width="5%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="ResultGrade" HeaderText="Grade" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left">
                                                            </asp:BoundField>
                                                            <asp:BoundField DataField="ResultGradePoint" HeaderText="Grade Point" ItemStyle-Width="5%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="RankNumber" HeaderText="Rank" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left">
                                                            </asp:BoundField>
                                                            <asp:BoundField DataField="Percentage" HeaderText="Percentage" ItemStyle-Width="5%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="Percentile" HeaderText="Percentile" ItemStyle-Width="5%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="ResultRemark" HeaderText="Remark" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                              
                            </div>
                        </tr>
                    </table>
                </div>
            </div>
           
        </ContentTemplate>
    </asp:UpdatePanel>
  <%--  <script data-main="../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
