summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page
blob: 63bc7f246509929554bac3dd9cdcf97623988bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<com:TContent ID="Content">
	<com:TClientScript UsingPradoScripts="ajax" />
	<com:TActiveControl id="control1" />
	<com:TTextBox />
	<com:TCheckBoxList>
		<com:TListItem Text="One" />
		<com:TListItem Text="Two" />
	</com:TCheckBoxList>
	<com:TButton id="button1" Text="Submit" />
	<script>
		Event.observe("<%= $this->button1->ClientID %>", "click", function(event)
		{
			new Prado.Callback("<%= $this->control1->UniqueID %>", 1);
			Event.stop(event);
		});
	</script>
</com:TContent>