summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators/protected/pages/LinkButton.page
blob: 8ed1c338538bbdd66df0dcb27108208bc6792637 (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
<com:TContent ID="Content">
<h1>Validations Triggered by TLinkButton</h1>

<com:TTextBox ID="TextBox1" />
<com:TRequiredFieldValidator
	Text="Textbox1 required"
	ControlToValidate="TextBox1"
	ValidationGroup="Group1" />
<com:TLinkButton Text="Submit1"
	ValidationGroup="Group1"
	OnClick="button1Clicked" />
<com:TLabel ID="Result1" />

<hr/>

<com:TTextBox ID="TextBox2" />
<com:TRequiredFieldValidator
	Text="Textbox2 required"
	ControlToValidate="TextBox2" />
<com:TLinkButton Text="Submit2"
	OnClick="button2Clicked" />
<com:TLabel ID="Result2" />

<hr/>

<com:TTextBox ID="TextBox3" />
<com:TRequiredFieldValidator
	Text="Textbox3 required"
	EnableClientScript="false"
	ControlToValidate="TextBox3"
	ValidationGroup="Group3" />
<com:TLinkButton Text="Submit3"
	ValidationGroup="Group3"
	OnClick="button3Clicked" />
<com:TLabel ID="Result3" />

</com:TContent>