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

<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="MainUpdatePanel" 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="172"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <div class="himssuHeader2WireBox">
                                    
                                </div>
                                <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                                    <div class="himsBoxHeader card-head">
                                        <asp:Panel ID="TitlePanel" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <i class="fas fa-list-ul"></i>
                                                    <asp:Label ID="MainLabel" runat="server" Text="My Exam Schedule"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">
                                                <div id="Div3" class="himssuHeader7WireBox col-md-12" runat="server">
                                                    <div id="AllDiv" visible="false" runat="server">
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="DetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                <ContentTemplate>
                                                                    <div id="MainDiv" runat="server" visible="false">
                                                                        <asp:GridView ID="ExamGridview" runat="server" AutoGenerateColumns="False"
                                                                            EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered table-responsive" DataKeyNames="ExamId,ExamName">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="Exam Name" ItemStyle-Width="30%" ItemStyle-Wrap="true"
                                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="ExamNameLabel" runat="server" Text='<%# Bind("ExamName") %>'>' </asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField ItemStyle-Width="70%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="ExamScheduleLabel" CommandName="ViewExamSchedule" CommandArgument="ExamId" SkinID="CustomWidthLabel" runat="server"
                                                                                            Text="View Exam Schedule" OnClick="ViewExamScheduleLinkButton_Click"></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>
                                                                    </div>
                                                                   
                                                                    <div>
                                                                        <asp:Label ID="ExamNameLabel" runat="server" Text=""></asp:Label>
                                                                    </div>

                                                                    <div id="SubDetailDiv" runat="server" visible="false">
                                                                        <asp:GridView ID="ExamScheduleGridview" runat="server" class="himssuHeader7WireBox col-md-12 table-responsive" AutoGenerateColumns="False"
                                                                            EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered">
                                                                            <Columns>
                                                                                <asp:BoundField DataField="Subject" HeaderText="Subject" HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:BoundField DataField="ExamDate" HeaderText="Exam Date" HeaderStyle-HorizontalAlign="Left" DataFormatString="{0:dd/MM/yyyy}" />
                                                                                <asp:BoundField DataField="ExamTime" HeaderText="Exam Time" HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:BoundField DataField="ExamTopic" HeaderText="Exam Topic" HeaderStyle-HorizontalAlign="Left" />
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                            </div>                       
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>

         <script data-main='<%=ResolveUrl("~/JavaScript/rjs/my-exam-sydule")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

</asp:Content>
