blob: c28252bdebeecf296a071087916c6d6fd08c54da (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
<?php
prado::using ('System.Web.UI.ActiveControls.*');
class Ticket679 extends TPage
{
// repeater bug
public function onLoad($param)
{
parent::onLoad($param);
$dataArray[0][ 'id' ] = '1' ;
if( !$this->Page->IsPostBack && !$this->Page->IsCallBack)
{
$this->Repeater->DataSource = $dataArray ;
$this->Repeater->dataBind() ;
}
}
public function changeText( $sender, $param )
{
$obj = $this->myLabel ;
$obj->Text = $sender->Text ;
$obj->Display="Dynamic";
// solution
//$this->CallBackClient->show($obj, true);
}
// activeradiobutton bug
public function checkRadioButton($sender, $param){
$this->myRadioButton->checked = true;
}
public function uncheckRadioButton($sender, $param){
$this->myRadioButton->checked = false;
// solution
//$this->CallbackClient->check($this->myRadioButton, false);
}
}
?>
|