forked from hlac/AdvisorBooking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
StudentRegistration.aspx
205 lines (189 loc) · 12.4 KB
/
StudentRegistration.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<%@ Page Title="" Language="C#" MasterPageFile="~/AdvisorBookingServiceMasterPage.master" AutoEventWireup="true" CodeFile="StudentRegistration.aspx.cs" Inherits="StudentRegistration" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<form id="form1" runat="server">
<div class="post" id="post-5">
<div class="post-title">
<center><h2><a href="#">Student Registration</a></h2></center>
</div>
<div class="post-entry">
<div class="post-entry-top">
<div class="post-entry-bottom">
<table style="width: 100%">
<tr>
<td style="width: 137px; text-align: right" valign="middle">
</td>
<td style="width: 221px" valign="middle">
</td>
<td valign="middle">
</td>
</tr>
<tr>
<td style="width: 137px; text-align: right" valign="middle">
<asp:Label ID="lblName" runat="server" style="font-weight: 700" Text="Name"></asp:Label>
</td>
<td style="width: 221px" valign="middle">
<asp:TextBox ID="txtFName" runat="server" Width="174px"></asp:TextBox>
<asp:RequiredFieldValidator ID="rfvFName" runat="server"
ErrorMessage="First Name should not be blank" ControlToValidate="txtFName"
Font-Bold="True" ForeColor="#FF3300">*</asp:RequiredFieldValidator>
<asp:RangeValidator ID="rgvFName" runat="server" ControlToValidate="txtFName"
ErrorMessage="First Name must contain characters only" ForeColor="#FF3300"
MaximumValue="z" MinimumValue="a">*</asp:RangeValidator>
</td>
<td valign="middle">
<asp:TextBox ID="txtLName" runat="server" Width="174px"></asp:TextBox>
<asp:RequiredFieldValidator ID="rfvLName" runat="server"
ErrorMessage="Last Name should not be blank" ControlToValidate="txtLName"
Font-Bold="True" ForeColor="#FF3300">*</asp:RequiredFieldValidator>
<asp:RangeValidator ID="rgvLName" runat="server" ControlToValidate="txtLName"
ErrorMessage="Last Name must contain characters only" ForeColor="#FF3300"
MaximumValue="z" MinimumValue="a">*</asp:RangeValidator>
</td>
</tr>
<tr>
<td style="width: 137px" valign="middle">
</td>
<td style="text-align: center; width: 221px" valign="middle">
<asp:Label ID="lblFName" runat="server" style="font-weight: 700"
Text="(First Name)"></asp:Label>
</td>
<td style="text-align: center" valign="middle">
<asp:Label ID="lblLName" runat="server" style="font-weight: 700"
Text="(Last Name)"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 137px; text-align: right" valign="middle">
<asp:Label ID="lblStudentID" runat="server" style="font-weight: 700"
Text="Student I.D."></asp:Label>
</td>
<td style="width: 221px" valign="middle">
<asp:TextBox ID="txtStudentID" runat="server" Width="174px"></asp:TextBox>
<asp:RequiredFieldValidator ID="rfvStudentID" runat="server"
ErrorMessage="Student ID should not be blank" ControlToValidate="txtStudentID"
Font-Bold="True" ForeColor="#FF3300">*</asp:RequiredFieldValidator>
<asp:RangeValidator ID="rgvStudentID" runat="server" ControlToValidate="txtStudentID"
ErrorMessage="Student ID must be between 1 to 999999999" ForeColor="#FF3300"
MaximumValue="999999999" MinimumValue="1" Type="Integer">*</asp:RangeValidator>
</td>
<td valign="middle">
</td>
</tr>
<tr>
<td style="width: 137px; text-align: right" valign="middle">
<asp:Label ID="lblProgramName" runat="server" style="font-weight: 700"
Text="Program Name"></asp:Label>
</td>
<td style="width: 221px" valign="middle">
<asp:DropDownList ID="ddlProgramName" runat="server">
</asp:DropDownList>
</td>
<td valign="middle">
</td>
</tr>
<tr>
<td style="width: 137px; text-align: right" valign="middle">
<asp:Label ID="lblCurrentSemester" runat="server" style="font-weight: 700"
Text="Current Semester"></asp:Label>
</td>
<td style="width: 221px" valign="middle">
<asp:TextBox ID="txtCurrentSemester" runat="server" Width="79px"></asp:TextBox>
<asp:RequiredFieldValidator ID="rfvCurrentSemester" runat="server"
ErrorMessage="CurrentSemester should not be blank" ControlToValidate="txtCurrentSemester"
Font-Bold="True" ForeColor="#FF3300">*</asp:RequiredFieldValidator>
<asp:RangeValidator ID="rgvCurrentSemester" runat="server" ControlToValidate="txtCurrentSemester"
ErrorMessage="CurrentSemester must be between 1 to 8 only" ForeColor="#FF3300"
MaximumValue="8" MinimumValue="1" Type="Integer">*</asp:RangeValidator>
</td>
<td valign="middle">
</td>
</tr>
<tr>
<td style="width: 137px; text-align: right;" valign="middle">
<asp:Label ID="lblEmailID" runat="server" style="font-weight: 700"
Text="Email ID"></asp:Label>
</td>
<td style="width: 221px" valign="middle">
<asp:TextBox ID="txtEmailID" runat="server" Width="174px"></asp:TextBox>
<asp:RequiredFieldValidator ID="rfvEmailID" runat="server"
ErrorMessage="Email ID should not be blank" ControlToValidate="txtEmailID"
Font-Bold="True" ForeColor="#FF3300">*</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
ControlToValidate="txtEmailID" ErrorMessage="Email ID is not valid"
ForeColor="#FF3300"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
</td>
<td valign="middle">
</td>
</tr>
<tr>
<td style="width: 137px; text-align: right;" valign="middle">
<asp:Label ID="lblPassword" runat="server" style="font-weight: 700"
Text="Password"></asp:Label>
</td>
<td style="width: 221px" valign="middle">
<asp:TextBox ID="txtPassword" runat="server" Width="174px" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="rfvPassword" runat="server"
ErrorMessage="Password should not be blank" ControlToValidate="txtPassword"
Font-Bold="True" ForeColor="#FF3300">*</asp:RequiredFieldValidator>
</td>
<td valign="middle">
</td>
</tr>
<tr>
<td style="width: 137px; text-align: right;" valign="middle">
<asp:Label ID="lblConfirmPassword" runat="server" style="font-weight: 700"
Text="Confirm Password"></asp:Label>
</td>
<td style="width: 221px" valign="middle">
<asp:TextBox ID="txtConfirmPassword" runat="server" Width="174px"
TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="rfvConfirmPassword" runat="server"
ErrorMessage="Confirm Password should not be blank" ControlToValidate="txtConfirmPassword"
Font-Bold="True" ForeColor="#FF3300">*</asp:RequiredFieldValidator>
<asp:CompareValidator ID="cmpvConfirmPassword" runat="server"
ControlToCompare="txtPassword" ControlToValidate="txtConfirmPassword"
ErrorMessage="Password and Confirm Password does not match" ForeColor="#FF3300">*</asp:CompareValidator>
</td>
<td valign="middle">
</td>
</tr>
<tr>
<td style="width: 137px" valign="middle">
</td>
<td style="width: 221px" valign="middle">
</td>
<td valign="middle">
</td>
</tr>
<tr>
<td style="width: 137px" valign="middle">
</td>
<td style="width: 221px" valign="middle">
<asp:Button ID="btnRegister" runat="server" Text="Register"
Width="219px" />
</td>
<td valign="middle">
</td>
</tr>
<tr>
<td style="width: 137px" valign="middle">
</td>
<td colspan="2" valign="middle">
<asp:ValidationSummary ID="ValidationSummary" runat="server"
ForeColor="#FF3300"
HeaderText="You must enter a value according to following criteria" />
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
<div class="navigation">
<div class="navigation-previous"></div>
<div class="navigation-next"></div>
</div>
<div class="clear"></div>
</form>
</asp:Content>