blob: a2f63438403b86d3becc8a51969a0c60957f5976 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?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';
}
}
|