blob: a87f8f82a053d83350ad29934dcb0c5ed7903961 (
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';
}
}
?>
|