summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket470.php
blob: 2e0232422da7965424a0d71cb10743961f0e99cb (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!!!";
	}
}

?>