-
Notifications
You must be signed in to change notification settings - Fork 0
/
signUp.aspx
105 lines (103 loc) · 4.92 KB
/
signUp.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
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="signUp.aspx.cs" Inherits="signUp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.auto-style2
{
float: left;
width: 113px;
height: 50px;
}
.auto-style3
{
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffc339', endColorstr='#ff9b19',GradientType=0 );
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
line-height: 20px;
font-size: 16px;
color: #fff;
text-shadow: -1px -1px #ff9b19;
float: right;
cursor: pointer;
border: 1px solid #ff9b19;
margin-left: 10px;
margin-bottom: 0px;
padding: 6px 12px;
background: #ffc339;
}
.auto-style4
{
width: 410px;
overflow: hidden;
height: 104px;
border-bottom: 1px solid #ddd;
margin: 20px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<link rel="stylesheet" href="css/formstyle.css" type="text/css" />
<div class="formtitle">Register Now!!!</div>
<div class="input">
<div class="inputtext">Full Name: </div>
<div class="inputcontent">
<asp:TextBox ID="fullnameTB" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="FullNameValidator" runat="server" ControlToValidate="fullnameTB" ErrorMessage="Required"></asp:RequiredFieldValidator>
</div>
</div>
<div class="input">
<div class="inputtext">User Name: </div>
<div class="inputcontent">
<asp:TextBox ID="usernameTB" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="UserNameValidator" runat="server" ControlToValidate="usernameTB" ErrorMessage="Required"></asp:RequiredFieldValidator>
</div>
</div>
<div class="input">
<div class="inputtext">Password: </div>
<div class="inputcontent">
<asp:TextBox ID="passwordTB" runat="server" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="PasswordValidator" runat="server" ControlToValidate="passwordTB" ErrorMessage="Required"></asp:RequiredFieldValidator>
</div>
</div>
<div class="auto-style4">
<div class="inputtext">Address: </div>
<div class="inputcontent">
<asp:TextBox ID="StAddressTB" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="StAddressValidator" runat="server" ControlToValidate="StAddressTB" ErrorMessage="Required"></asp:RequiredFieldValidator>
<asp:TextBox ID="LocalAreaTB" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="LocalAreaRFV" runat="server" ControlToValidate="LocalAreaTB" ErrorMessage="Required"></asp:RequiredFieldValidator>
<asp:TextBox ID="CityTB" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="CityRFV" runat="server" ControlToValidate="CityTB" ErrorMessage="Required"></asp:RequiredFieldValidator>
</div>
</div>
<div class="input">
<div class="inputtext">Post Code: </div>
<div class="inputcontent">
<asp:TextBox ID="postcodeTB" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="passwordTB" ErrorMessage="Required"></asp:RequiredFieldValidator>
</br>
</div>
</div>
<div class="input">
<div class="inputtext">Age: </div>
<div class="inputcontent">
<asp:TextBox ID="AgeTB" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="AgeValidator" runat="server" ControlToValidate="AgeTB" ErrorMessage="Required"></asp:RequiredFieldValidator>
</div>
</div>
<div class="input">
<div class="auto-style2" class="inputtext">Gender</div>
<div>
<asp:DropDownList ID="GenderDDL" runat="server"
AppendDataBoundItems="true" Height="26px" Width="218px">
<asp:ListItem Value="-1">Select</asp:ListItem>
<asp:ListItem>Male</asp:ListItem>
<asp:ListItem>Female</asp:ListItem>
<asp:ListItem>Prefer not to say</asp:ListItem>
<asp:ListItem>You don't wanna know</asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="GenderValidator" runat="server" ControlToValidate="GenderDDL" ErrorMessage="Required"></asp:RequiredFieldValidator>
</div>
</div><asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Register" CssClass="auto-style3"/>
</asp:Content>