summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket595.page
blob: 33c45c8ea4e9747c35742c15ef812d00cca7dc20 (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">
<style type="text/css">
	.errorclassA, .errorclassB {
		background-color:pink;
	}
</style>
<com:TTextBox ID="A" />
<com:TRequiredFieldValidator ControlToValidate="A" Text="Required!" ControlCssClass="errorclassA" ValidationGroup="A"/>
<com:TEmailAddressValidator ControlToValidate="A" Text="No Email!" ControlCssClass="errorclassA" ValidationGroup="A"/>
<com:TButton Text="Click" ValidationGroup="A" />

<br />

<com:TTextBox ID="B" />
<com:TRequiredFieldValidator ControlToValidate="B" Text="Required!" ControlCssClass="errorclassB" 
        ValidationGroup="B" EnableClientScript="False" />
<com:TEmailAddressValidator ControlToValidate="B" Text="No Email!" ControlCssClass="errorclassB" 
    ValidationGroup="B" EnableClientScript="False" />
<com:TButton Text="Click" ValidationGroup="B" />

</com:TContent>