summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/DynamicRepeaterDataTest.php
blob: 729a87dc8aaa2f6177fcf6896c703aacca027808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

class DynamicRepeaterDataTest extends TPage
{
	function button_clicked($sender, $param)
	{
		$this->_repeater->dataSource = array(1,2,3);
		$this->_repeater->dataBind();
	}

	function button_callback($sender, $param)
	{
		$this->panel1->render($param->NewWriter);
	}

	function rpt_button_clicked($sender, $param)
	{
		$item = $sender->NamingContainer;
		$item->label1->Text = $sender->Text;
	}
}

?>