summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket274.page
blob: 4e1441edff5a892e25038a7a0b1927ed5a835ada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<com:TContent ID="Content">

<com:TDatePicker ID="MyDate" 
		DateFormat="dd/MM/yyyy" 
		Mode="ImageButton" />
	<com:TRequiredFieldValidator
		ID="validator1" 
		ControlToValidate="MyDate"
		EnableClientScript="false"
		ErrorMessage="date required (dd/MM/yyyy)" />
		
	<com:TDataTypeValidator
		ID="validator2"
		DataType="Date"
		DateFormat="dd/MM/yyyy"
		ControlToValidate="MyDate"
		EnableClientScript="false"
		ErrorMessage="date must be of the form dd/MM/yyyy" />

	<com:TButton ID="button1" Text="Submit!" />
	
</com:TContent>