<%@ page language="C#" autoeventwireup="true" inherits="Pages_EExam_PreviewQuestion, App_Web_1l30h5gc" title="Question List" 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" %>

<html xmlns="http://www.w3.org/1999/xhtml">

<head id="Head1" runat="server"></head>
<body style="margin: 0px">
    <form id="form1" runat="server">
        <div id="divContentPage">
            <div style="width: 100%; padding: 2px; margin: 2px">
                <table width="100%" border="0" style="vertical-align: top; margin-top: -1px; border-collapse: collapse; background-color: White" cellpadding="0" cellspacing="0">
                    <tr>
                        <td style="vertical-align: top;" width="100%" class="whiteboxpaddingleft">
                            <div class="himssuHeader1WireBox whitebox">
                                <div class="himsBoxHeader note note1 box box-danger">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <asp:Label ID="TestMasterDetailLabel" runat="server" Text="Question List"></asp:Label>
                                        </div>
                                    </div>
                                    <br />
                                    <div class="fRight" style="margin-top: -20px">
                                        <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="BackButton" Text="Back" Visible="false" />
                                    </div>
                                    <div class="fRight" style="margin-top: -20px">
                                        <asp:Button ID="PrintButton" runat="Server" OnClientClick="javascript:window.print();" Text="Print" Visible="true" />
                                    </div>
                                </div>
                                <div class="cBoth">
                                </div>
                                <div class="himsBoxContent">
                                    <div class="contentHolder">
                                        <table style="font-size: 12px;" cellpadding="0px" cellspacing="0px" border="0">
                                            <tr style="height: 30px">
                                                <td style="width: 40px">
                                                    <asp:Label ID="ClassLabelL" runat="server" Font-Bold="true" SkinID="CustomWidthLabel" Text="Class :"></asp:Label>
                                                </td>
                                                <td style="width: 30px">
                                                    <asp:Label ID="ClassLabelT" runat="server" SkinID="CustomWidthLabel"></asp:Label>
                                                </td>
                                                <td style="width: 50px">
                                                    <asp:Label ID="SubjectLabelL" runat="server" Font-Bold="true" SkinID="CustomWidthLabel" Text="Subject :"></asp:Label>
                                                </td>
                                                <td style="width: 700px">
                                                    <asp:Label ID="SubjectLabelT" runat="server" SkinID="CustomWidthLabel"></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                        <div class="cBoth">
                                            <hr />
                                        </div>
                                        <div class="cBoth">
                                            <hr />
                                        </div>
                                        <div>
                                            <asp:Repeater ID="StudentTestQuestionListRepeater" runat="server" OnItemDataBound="rpt_ItemDataBound">
                                                <HeaderTemplate>
                                                    <table>
                                                </HeaderTemplate>
                                                <ItemTemplate>
                                                    <tr>
                                                        <td colspan="3">&nbsp;</td>
                                                    </tr>
                                                    <tr>
                                                        <td>No. :<%#DataBinder.Eval(Container.DataItem, "OrderIndex")%></td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:Label ID="QuestionParagraphDescriptionLabel" Text='<%#DataBinder.Eval(Container.DataItem, "QuestionParegraphDescription")%>' runat="server" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>Question:</td>
                                                        <td><%#DataBinder.Eval(Container.DataItem, "QuestionDescription")%> </td>
                                                        <td><%#DataBinder.Eval(Container.DataItem, "Marks")%></td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="3">
                                                            <asp:GridView ID="ChoiceDescriptionGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass=" box-body box-solid gridviewfont table table-striped table-bordered" AllowPaging="true" PageSize="10" SkinID="" ShowHeader="false" PagerSettings-Visible="false">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="6%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <%#DataBinder.Eval(Container.DataItem, "ChoiceDescription2")%>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField ItemStyle-Width="50%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <%#DataBinder.Eval(Container.DataItem, "ChoiceDescription")%>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                                <FooterTemplate>
                                                    </table>
                                                </FooterTemplate>
                                            </asp:Repeater>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>        
    </form>
</body>
</html>
<%--<script data-main="../../JavaScript/rjs/encrypt/preview-question-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
  <script data-main='<%=ResolveUrl("~/JavaScript/rjs/preview-question")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>