summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket433.php
blob: 2e5c1ff778cf23ad8daeb995f850ea4193df60bd (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
<?php

Prado::using('System.Web.UI.ActiveControls.*');

class Ticket433 extends TPage
{
	public function onLoad($param)
	{
		if(!$this->IsPostBack)
			$this->VoteClick->Text = "BEFORE click";
	}

	public function onUpdateVoteClick($sender, $param)
	{
		$sender->Text = 'AFTER click';
	}

	public function onUpdateVoteCallback($sender, $param)
	{
		$sender->Text .= ' CALLBACK DONE';
	}
}

?>