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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="StudentViewResultUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                
                            <div class="dashBoardLeftCont" valign="top" runat="server" id="ScreenGroupTableId">
                                <div class="himssuHeader3WireBox">
                                    <table>
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl1" ScreenGroupId="172"
                                                            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" id="Div4" runat="server" visible="True">
                                        
                                        <div class="himsBoxTitle">
                                            <div class="headerText fLeft">
                                                <header>
                                                    <i class="fas fa-list-ul"></i>
                                                <asp:Label ID="Label4" Text="Student View Result"
                                                    runat="server" />
                                                </header>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">
                                                <div class="himssuHeader6WireBox col-md-12">
                                                    <div class="himsBoxHeader" id="StudentResultListGridViewPagerDiv" runat="server" visible="true">
                                                        
                                                        <div class="himsBoxTitle">
                                                            <div class="gridHeaderText ">
                                                                <header>
                                                                <asp:Label ID="Label1" Text="" runat="server" />
                                                                </header>
                                                            </div>
                                                            <div class="fRight">
                                                                <uc1:GridViewPager ID="StudentResultListGridViewPager" ParentGridView="StudentResultListGridView"
                                                                    runat="server" OnFirstRecordClick="StudentResultListGridViewPager_FirstRecordClick" OnLastRecordClick="StudentResultListGridViewPager_LastRecordClick"
                                                                    OnNextRecordClick="StudentResultListGridViewPager_NextRecordClick" OnPrevRecordClick="StudentResultListGridViewPager_PrevRecordClick"
                                                                    OnTextBoxValueChange="StudentResultListGridViewPager_TextBoxValueChange" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent card-body table-responsive">
                                                        <asp:GridView runat="server" ID="StudentResultListGridView" AutoGenerateColumns="False"
                                                            EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="StudentResultListGridView_RowDataBound"
                                                            AllowPaging="True" PageSize="10" DataKeyNames="Id,SourceId,OrgId,Code"
                                                            ShowHeader="true" meta:resourcekey="StudentResultListGridViewResource1" CssClass="table table-striped table-bordered table-hover">
                                                            <Columns>
                                                                <asp:BoundField DataField="Title" HeaderText="Exam Name" ItemStyle-Width="70%" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:BoundField DataField="ExamDate" HeaderText="Exam Date" DataFormatString="{0:dd/MM/yyyy}" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:HyperLink ID="HyperLink1" Target="_blank"  runat="server" Text="View Result"></asp:HyperLink>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </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>
