blob: d1fae361458bd3619119965862906b39bd91d0b2 (
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 TImageButton</h1>
<com:TTextBox ID="TextBox1" />
<com:TRequiredFieldValidator
Text="Textbox1 required"
ControlToValidate="TextBox1"
ValidationGroup="Group1" />
<com:TImageButton ImageUrl="http://www.pradosoft.com/images/powered.gif"
ValidationGroup="Group1"
OnClick="button1Clicked" />
<com:TLabel ID="Result1" />
<hr/>
<com:TTextBox ID="TextBox2" />
<com:TRequiredFieldValidator
Text="Textbox2 required"
ControlToValidate="TextBox2" />
<com:TImageButton ImageUrl="http://www.pradosoft.com/images/powered.gif"
OnClick="button2Clicked" />
<com:TLabel ID="Result2" />
<hr/>
<com:TTextBox ID="TextBox3" />
<com:TRequiredFieldValidator
Text="Textbox3 required"
EnableClientScript="false"
ControlToValidate="TextBox3"
ValidationGroup="Group3" />
<com:TImageButton ImageUrl="http://www.pradosoft.com/images/powered.gif"
ValidationGroup="Group3"
OnClick="button3Clicked" />
<com:TLabel ID="Result3" />
</com:TContent>
|