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

	<h1 id="heading">PostLoading Test</h1>
	<com:TCallback ID="callback1" OnCallback="Page.callback1_requested" />

	<com:TActivePanel ID="panel1" />

	<div id="div1" style="border:1px solid #666; background-color: #ffe; text-align: center; padding:3em">
		Click Me!
	</div>

	<script type="text/javascript">
		Event.OnLoad(function()
		{
			Event.observe($("div1"), "click", function()
			{
				Prado.Callback("<%= $this->callback1->UniqueID %>")
			})
		})
	</script>

	<com:TJavascriptLogger />

</com:TForm>