summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket93.page
blob: 89aeb436144f4b5da35cc111f4bc8bff9aabb0f4 (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
<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="test"
	CausesValidation="true"
	alternatetext="Button 2"
	top="155"
	left="175"
	bottom="240"
	right="355" />

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

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

<com:TTextBox ID="TextBox2" />
<com:TRequiredFieldValidator
	ValidationGroup="Group1"
	EnableClientScript="true"
	ControlToValidate="TextBox2"
	Text="required" />
</div>

</com:TContent>