summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket470.php
blob: 45741176fe9f36bd04736681f1136f1dc22ec515 (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 Ticket470 extends TPage
{
	/**
	 * Increase the reload counter and render the activepanel content
	 */
	public function Reload($sender, $param){
		$this->Results->Text = "";
		$this->counter->Text = $this->counter->Text +1;
		$this->activePanelTest->renderControl($param->getNewWriter());		
	}
	
	/**
	 *function to call when the form is valid (and the linkbutton fired his callback event)
	 */
	public function Valid($sender, $param){
		$this->Results->Text = "OK!!!";
	}
}

?>