summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket93.page
blob: 2217ab153a228d5ad5ee9830011b8fb51981d862 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
<com:TContent ID="Content">

<h2>ValidationGroups without any inputs with grouping</h2>
<p>This test can not be tested using automation.</p>
<com:TImageMap ImageUrl=<%~hotspot.jpg%> AlternateText="Navigate buttons" OnClick="buttonClicked" >

<com:TRectangleHotSpot
	hotspotmode="Navigate"
	NavigateUrl="navigate1.htm"
	alternatetext="Button 1"
	top="30"
	left="175"
	bottom="110"
	right="355" />

<com:TRectangleHotSpot
	hotspotmode="PostBack"
	PostBackValue="test1"
	CausesValidation="true"
	ValidationGroup="Group1"
	alternatetext="Button 2"
	top="155"
	left="175"
	bottom="240"
	right="355" />

<com:TRectangleHotSpot
	hotspotmode="PostBack"
	PostBackValue="test2"
	CausesValidation="true"
	alternatetext="Button 3"
	ValidationGroup="Group2"
	top="285"
	left="175"
	bottom="365"
	right="355" />

</com:TImageMap>
<div>
<com:TTextBox ID="TextBox" />
<com:TRequiredFieldValidator
	ValidationGroup="Group1"
	EnableClientScript="true"
	ControlToValidate="TextBox"
	Text="textbox 1 required" />

<com:TTextBox ID="TextBox2" />
<com:TRequiredFieldValidator
	ValidationGroup="Group2"
	EnableClientScript="false"
	ControlToValidate="TextBox2"
	Text="textbox 2 required" />

<com:TRequiredFieldValidator
	ValidationGroup=""
	EnableClientScript="true"
	ControlToValidate="TextBox2"
	Text="No one is required" />
</div>

</com:TContent>