-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInsertQuestion.aspx
80 lines (65 loc) · 4.11 KB
/
InsertQuestion.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="InsertQuestion.aspx.vb" Inherits="InsertQuestion" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label id="QuestionsInfo" runat="server" align="center"></asp:Label>
<h2>Insert a Question</h2>
<br />
<span>Confirm Question Type:</span>
     
<asp:RadioButton ID="radiobtnDesc" Text="Descriptive" Checked="true" AutoPostBack="true" GroupName="QuestionType" runat="server" />
     
<asp:RadioButton ID="radiobtnMCQs" Text="MCQs" AutoPostBack="true" GroupName="QuestionType" runat="server" />
     
<asp:RadioButton ID="radiobtnTFs" Text="True/False" AutoPostBack="true" GroupName="QuestionType" runat="server" />
<br /> <br />
<span >Question Statement: </span>    
<asp:TextBox ID="txtboxQuestionStatement" TextMode="MultiLine" runat="server"> </asp:TextBox>
<br /> <br />
<span>Complexity Level</span>
     
<asp:RadioButton ID="radiobtnEasy" Text="Easy" Checked="true" GroupName="ComplexityLevel" runat="server" />
     
<asp:RadioButton ID="radiobtnMedium" Text="Medium" GroupName="ComplexityLevel" runat="server" />
     
<asp:RadioButton ID="radiobtnDifficult" Text="Difficult" GroupName="ComplexityLevel" runat="server" />
<br /> <br />
<span>Marks</span>
<asp:TextBox ID="txtboxMarks" runat="server" CausesValidation="False" TextMode="Number"></asp:TextBox>
<br id="spaceOptionA" visible="false" runat="server"/>
<span id="txtbox_OptionATitle" visible="false" runat="server">Enter Option A</span>
<asp:TextBox ID="txtbox_OptionA" visible="false" runat="server"></asp:TextBox>
<br id="spaceOptionB" visible="false" runat="server"/>
<span id="txtbox_OptionBTitle" visible="false" runat="server">Enter Option B</span>
<asp:TextBox ID="txtbox_OptionB" visible="false" runat="server"></asp:TextBox>
<br id="spaceOptionC" visible="false" runat="server"/>
<span id="txtbox_OptionCTitle" visible="false" runat="server">Enter Option C</span>
<asp:TextBox ID="txtbox_OptionC" visible="false" runat="server"></asp:TextBox>
<br id="spaceOptionD" visible="false" runat="server"/>
<span id="txtbox_OptionDTitle" visible="false" runat="server">Enter Option D</span>
<asp:TextBox ID="txtbox_OptionD" visible="false" runat="server"></asp:TextBox>
<br id="spaceCorrectOption" visible="false" runat="server"/>
<span id="txtbox_CorrectOptionTitle" visible="false" runat="server" >Enter the Correct Option</span>
<asp:TextBox ID="txtbox_CorrectOption" visible="false" runat="server"></asp:TextBox>
<br id="spaceTF" visible="false" runat="server" />
<span id="TFradiobtn_title" visible="false" runat="server" >Select Correct Option</span>
     
<asp:RadioButton ID="radiobtn_TF_True" visible="false" Text="True" Checked="true" GroupName="TFOptions" runat="server" />
     
<asp:RadioButton ID="radiobtn_TF_False" visible="false" Text="False" GroupName="TFOptions" runat="server" />
<br /> <br />
<asp:Button ID="btnInsertQuestion" runat="server" Text="Insert Question"/>
   
<asp:Button ID="btnClear" runat="server" Text="Clear"/>
<!-- Validation Summary -->
<asp:ValidationSummary ID="ValidationSummary1" runat="server" Style="color:red;text-align:left;" />
<asp:Label id="lbl_showErrorMessages" runat="server"></asp:Label>
</div>
</form>
</body>
</html>