Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<com:TContent ID="body">
2
 
3
<h1>TRangeValidator Samples</h1>
4
<p><strong>Note:</strong> TRangeValidator will start
5
to validate only if both inputs are not empty.</p>
6
 
7
<table class="sampletable">
8
 
9
<tr>
10
<td class="samplenote">
11
Range validator with default settings:
12
</td>
13
<td class="sampleaction">
14
<com:TTextBox ID="TextBox1" Text="a1" />
15
<com:TRangeValidator
16
	ControlToValidate="TextBox1"
17
	ValidationGroup="Group1"
18
	MinValue="aaa"
19
	MaxValue="zzz"
20
	Text="Input must be between 'aaa' and 'zzz'." />
21
<com:TButton Text="Submit" ValidationGroup="Group1" />
22
</td>
23
</tr>
24
 
25
<tr>
26
<td class="samplenote">
27
Range validator with client-side validation disabled:
28
</td>
29
<td class="sampleaction">
30
<com:TTextBox ID="TextBox2" Text="11"/>
31
<com:TRangeValidator
32
	ValidationGroup="Group2"
33
	EnableClientScript="false"
34
	ControlToValidate="TextBox2"
35
	DataType="Integer"
36
	MinValue="100"
37
	MaxValue="999"
38
	Text="Input must be between 100 and 999." />
39
<com:TButton Text="Submit" ValidationGroup="Group2" />
40
</td>
41
</tr>
42
 
43
</table>
44
 
45
<div class="last-modified">$Id: Home.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>