What steps will reproduce the problem?
1. Add TActiveDatePicker to page.
2. Set AutoPostBack property to FALSE
$this->txtFecha->setCausesValidation(FALSE);
3. Run page and get the next error
TNotSupportedException
Description
'TActiveDatePicker' does not support AutoPostBack.
Source File
/var/www/prado-3.1.11/framework/Web/UI/WebControls/TDatePicker.php (96)
0085: const SCRIPT_PATH = 'prado/datepicker';
0086:
0087: /**
0088: * @var TDatePickerClientScript validator client-script options.
0089: */
0090: private $_clientScript;
0091: /**
0092: * AutoPostBack is not supported.
0093: */
0094: public function setAutoPostBack($value)
0095: {
0096: throw new TNotSupportedException('tdatepicker_autopostback_unsupported',
0097: get_class($this));
0098: }
0099:
0100: /**
0101: * @return string the format of the date string
0102: */
0103: public function getDateFormat()
0104: {
0105: return $this->getViewState('DateFormat','dd-MM-yyyy');
0106: }
0107:
0108: /**
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
PRADO 3.1.10
Please provide any additional information below.
I need set the AutoPostBack to FALSE
Original issue reported on code.google.com by jaimea.g...@gmail.com on 7 Apr 2012 at 1:39
Original issue reported on code.google.com by
jaimea.g...@gmail.com
on 7 Apr 2012 at 1:39