summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators/protected/pages/RangeValidatorDate.page
blob: f7f654600c4d36842657aef230b6741ec5a91e21 (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
46
47
48
<com:TContent ID="Content">
<h1>Prado RangeValidator Tests Date</h1>
<div>
	<p>Dates between 22/1/2005 and 3/2/2005</p>
	<div>
		<com:TTextBox ID="text1" />
		<com:TRangeValidator
			ID="validator1"
			ControlToValidate="text1"
			ErrorMessage="Dates between 22/1/2005 and 3/2/2005"
			MinValue="22/1/2005"
			MaxValue="3/2/2005"
			DataType="Date"
			DateFormat="d/M/yyyy"
			ControlCssClass="required" />
	</div>
	<p>Dates &gt;= 22/1/2005</p>
	<div>
		<com:TTextBox ID="text2" />
		<com:TRangeValidator
			ID="validator2"
			ControlToValidate="text2"
			ErrorMessage="Dates &gt;= 22/1/2005"
			MinValue="22/1/2005"
			DataType="Date"
			DateFormat="d/M/yyyy"
			ControlCssClass="required" />
	</div>
	
	<p>Dates &lt;= 3/2/2005</p>
	<div>
		<com:TTextBox ID="text3" />
		<com:TRangeValidator
			ID="validator3"
			ControlToValidate="text3"
			ErrorMessage="Dates &lt;= 3/2/2005"
			MaxValue="3/2/2005"
			DataType="Date"
			DateFormat="d/M/yyyy"
			ControlCssClass="required" />
	</div>
		
	<com:TButton ID="submit1"Text="Test" />
</div>



</com:TContent>