summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket274.page
blob: 0b92cb40c4433b82b57d1f6428b9dce45b200900 (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>