blob: d3e1a1e5482bddecdcd94843de661022f076f53e (
plain)
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
|
Username:
<com:TTextBox ID="Login"
ValidationGroup="LoginGroup" />
<com:TRequiredFieldValidator
ControlToValidate="Login"
Display="Dynamic"
ErrorMessage="Username cannot be empty"
ValidationGroup="LoginGroup" />
<br />
Password:
<com:TTextBox ID="Password"
TextMode="Password"
ValidationGroup="LoginGroup" />
<com:TRequiredFieldValidator
ControlToValidate="Password"
Display="Dynamic"
ErrorMessage="Password cannot be empty"
ValidationGroup="LoginGroup" />
<com:TCustomValidator
ControlToValidate="Password"
OnServerValidate="validatePassword"
Display="Dynamic"
ErrorMessage="Username and password don't match"
ValidationGroup="LoginGroup" />
<br />
<com:TButton
Text="Login"
OnCommand="loginUser"
ValidationGroup="LoginGroup" />
|