summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/EventTriggeredCallback.page
blob: 1adbaac17df4f27db8410dc6d89085721201d164 (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
<com:TContent ID="Content">

	<h1>Event Triggered Callback Test</h1>

	<com:TTextBox ID="text1" Text="Focus me" />

	<com:TPanel ID="panel1" style="padding: 2em; border:1px solid #ccc; background-color: #ffc;">
		Mouse over this panel
	</com:TPanel>

	<input id="button1" type="button" value="Click me" />

	<com:TEventTriggeredCallback
		ControlID="text1"
		EventName="focus"
		OnCallback="text1_focused" />

	<com:TEventTriggeredCallback
		ControlID="panel1"
		EventName="mouseover"
		OnCallback="panel1_onmouseover" />

	<com:TEventTriggeredCallback
		ControlID="button1"
		OnCallback="button1_clicked" />

	<div style="padding: 2em; border:1px solid #ccc; margin-top:2em">
		<com:TActiveLabel ID="label1" Text="Label 1" />
	</div>
</com:TContent>