Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<com:TContent ID="body">
2
 
3
<h1>TImageButton Samples</h1>
4
 
5
<table class="sampletable">
6
 
7
<tr><td class="samplenote">
8
A click image button showing the click location:
9
</td><td class="sampleaction">
10
<com:TImageButton
11
	ImageUrl=<%~ hello_world.gif %>
12
	Text="hello world"
13
	OnClick="buttonClicked"
14
	/>
15
<com:TLabel ID="Result" />
16
</td></tr>
17
 
18
<tr><td class="samplenote">
19
A command image button:
20
</td><td class="sampleaction">
21
<com:TImageButton
22
	ImageUrl=<%~ hello_world.gif %>
23
	Text="hello world"
24
	OnCommand="buttonClicked"
25
	CommandName="test"
26
	CommandParameter="value"
27
	/>
28
<com:TLabel ID="Result2" />
29
</td></tr>
30
 
31
<tr><td class="samplenote">
32
An image button causing validation:
33
</td><td class="sampleaction">
34
<com:TTextBox ID="TextBox" />
35
<com:TRequiredFieldValidator
36
	ControlToValidate="TextBox"
37
	Display="Dynamic"
38
	ErrorMessage="input required in the textbox"
39
	ValidationGroup="Group"
40
	/>
41
<com:TImageButton
42
	ImageUrl=<%~ hello_world.gif %>
43
	Text="hello world"
44
	ValidationGroup="Group"
45
	/>
46
</td></tr>
47
 
48
</table>
49
 
50
<div class="last-modified">$Id: Home.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>