-
Notifications
You must be signed in to change notification settings - Fork 0
/
UserRegistration.aspx
87 lines (86 loc) · 6.68 KB
/
UserRegistration.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
<%@ Page Title="" Language="C#" MasterPageFile="~/BusBookingMaster.Master" AutoEventWireup="true" CodeBehind="UserRegistration.aspx.cs" Inherits="BusBookingProject.UserRegistration" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="container" style="margin-top: 5%">
</div>
<div class="row centered-form" style="margin-top: 5%">
<div class="col-lg-8 col-sm-8 col-md-2 col-sm-offset-2 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">New User Registration</h3>
</div>
<div class="panel-body">
<asp:ValidationSummary ID="vsRegister" runat="server" CssClass="alert alert-danger" ShowSummary="true" ValidationGroup="vgRegister" />
<div id="divMessage" runat="server" />
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<asp:Label ID="lblFirstName" runat="server" Text="First Name" Font-Bold="true"></asp:Label>
<asp:TextBox ID="txtFirstName" runat="server" class="form-control input-sm floatlabel"/>
<asp:RequiredFieldValidator runat="server" ControlToValidate="txtFirstName" Display="None" ID="rfvFirstName" ValidationGroup="vgRegister"
CssClass="text-danger" ErrorMessage="First Name is required." /><br />
</div>
<div class="form-group">
<asp:Label ID="lblUserName" runat="server" Text="Mobile No/User Name" Font-Bold="true"></asp:Label>
<asp:TextBox ID="txtMobileNo" runat="server" class="form-control input-sm floatlabel" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="txtMobileNo" Display="None" ID="rfVMobileNo" ValidationGroup="vgRegister"
CssClass="text-danger" ErrorMessage="Mobile No is required." /><br />
</div>
</div>
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<asp:Label ID="lblLastName" runat="server" Text="Last Name" Font-Bold="true"></asp:Label>
<asp:TextBox ID="txtLastName" runat="server" class="form-control input-sm floatlabel"/>
<asp:RequiredFieldValidator runat="server" ControlToValidate="txtLastName" Display="None" ID="rfVLastName" ValidationGroup="vgRegister"
CssClass="text-danger" ErrorMessage="Last Name is required." /><br />
</div>
<div class="form-group">
<asp:Label ID="lblPassword" runat="server" Text="Password" Font-Bold="true"></asp:Label>
<asp:TextBox ID="txtPassword" runat="server" class="form-control input-sm floatlabel" TextMode="Password" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="txtPassword" Display="None" ID="rfvPassword" ValidationGroup="vgRegister"
CssClass="text-danger" ErrorMessage="Password is required." /><br />
</div>
</div>
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<asp:Label ID="lblEmail" runat="server" Text="Email ID" Font-Bold="true"></asp:Label>
<asp:TextBox ID="txtEmailID" runat="server" class="form-control input-sm floatlabel" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="txtEmailID" Display="None" ID="rfVEmail" ValidationGroup="vgRegister"
CssClass="text-danger" ErrorMessage="Email Id is required." /><br />
</div>
<div class="form-group">
<asp:Label ID="lblAddress" runat="server" Text="Address" Font-Bold="true"></asp:Label>
<asp:TextBox runat="server" ID="txtAddress" class="form-control input-sm" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="txtAddress" Display="None" ID="rfVAddress" ValidationGroup="vgRegister"
CssClass="text-danger" ErrorMessage="Address is required." /><br />
</div>
</div>
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<asp:Label ID="lblCity" runat="server" Text="City" Font-Bold="true"></asp:Label>
<asp:TextBox runat="server" ID="txtCity" class="form-control input-sm" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="txtCity" Display="None" ID="rfVCity" ValidationGroup="vgRegister"
CssClass="text-danger" ErrorMessage="City Name is required." /><br />
</div>
<div class="form-group">
<asp:Label ID="lblPinCode" runat="server" Text="Pincode" Font-Bold="true"></asp:Label>
<asp:TextBox ID="txtPincode" runat="server" class="form-control input-sm floatlabel" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="txtPincode" Display="None" ID="rfvPinCode" ValidationGroup="vgRegister"
CssClass="text-danger" ErrorMessage="Pin code is required." /><br />
</div>
</div>
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<asp:Button ID="btnSave" runat="server" Text="Register" OnClick="btnSave_Click" class="btn btn-info " ValidationGroup="vgRegister" CausesValidation="True" ViewStateMode="Inherit" />
</div>
</div>
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<a href="Login.aspx" class="btn btn-info btn-block">Login</a>
</div>
</div>
</div>
</div>
</div>
</div>
</asp:Content>