summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ClientSideDispatch.page
blob: acf56bfe33bdeeaac93518011f4e319ea07d400d (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
<com:TForm>

<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:TJavascriptLogger />

</com:TForm>