summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TDatePicker.php
diff options
context:
space:
mode:
authorwei <>2006-08-01 01:01:06 +0000
committerwei <>2006-08-01 01:01:06 +0000
commite90a074753e4e5b9c65fc80eaf48526eb3824f15 (patch)
treec69b58448634a2b89b1c41a5931af29984736995 /framework/Web/UI/WebControls/TDatePicker.php
parentc1658a277ad56426e88b948eab064b0ce07ea528 (diff)
Fixed #302
Diffstat (limited to 'framework/Web/UI/WebControls/TDatePicker.php')
-rw-r--r--framework/Web/UI/WebControls/TDatePicker.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TDatePicker.php b/framework/Web/UI/WebControls/TDatePicker.php
index f0d00119..6852f9eb 100644
--- a/framework/Web/UI/WebControls/TDatePicker.php
+++ b/framework/Web/UI/WebControls/TDatePicker.php
@@ -69,6 +69,15 @@ Prado::using('System.Web.UI.WebControls.TTextBox');
class TDatePicker extends TTextBox
{
/**
+ * AutoPostBack is not supported.
+ */
+ public function setAutoPostBack($value)
+ {
+ throw new TNotSupportedException('tdatepicker_autopostback_unsupported',
+ get_class($this));
+ }
+
+ /**
* @return string the format of the date string
*/
public function getDateFormat()