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

<com:TCallback ID="callback1" OnCallback="method1" />

	<com:TCallbackOptions ID="options1">
		<prop:ClientSide.OnSuccess>
			var link1 = Prado.CallbackRequest.getRequestById('<%= $this->link1->ClientID %>');
			Prado.Callback('<%= $this->callback1->UniqueID %>', link1.getCallbackParameter());
		</prop:ClientSide.OnSuccess>

	</com:TCallbackOptions>


	<com:TActiveLinkButton
		ID="link1"
		Text="Tab 1"
		OnCallback="method2"
		ActiveControl.CallbackParameter="test"
		ActiveControl.CallbackOptions="options1"/>

<com:TActiveLabel ID="status1" />

<com:TActiveLabel ID="status2" />


</com:TContent>