summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators/protected/pages/RangeValidatorString.page
blob: 64e596d6e9d6076577e47c9dc33bbdd877b6e4cd (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<com:TContent ID="Content">
<h1>Prado RangeValidator Tests String</h1>
<div>
	<p>Strings between 'd' and 'y'</p>
	<div>
		<com:TTextBox ID="text1" />
		<com:TRangeValidator
			ID="validator1"
			ControlToValidate="text1"
			ErrorMessage="Strings between 'd' and 'y'"
			MinValue="d"
			MaxValue="y"
			DataType="String"
			ControlCssClass="required" />
	</div>
	<p>Strings &gt;= 'd'</p>
	<div>
		<com:TTextBox ID="text2" />
		<com:TRangeValidator
			ID="validator2"
			ControlToValidate="text2"
			ErrorMessage="Strings &gt;= 'd'"
			MinValue="d"
			DataType="String"
			ControlCssClass="required" />
	</div>
	
	<p>Strings &lt;= 'y'</p>
	<div>
		<com:TTextBox ID="text3" />
		<com:TRangeValidator
			ID="validator3"
			ControlToValidate="text3"
			ErrorMessage="Strings &lt;= 'y'"
			MaxValue="y"
			DataType="String"
			ControlCssClass="required" />
	</div>
		
	<com:TButton ID="submit1"Text="Test" />
</div>



</com:TContent>