From e90a074753e4e5b9c65fc80eaf48526eb3824f15 Mon Sep 17 00:00:00 2001 From: wei <> Date: Tue, 1 Aug 2006 01:01:06 +0000 Subject: Fixed #302 --- framework/Web/UI/WebControls/TDatePicker.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'framework/Web/UI/WebControls/TDatePicker.php') 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 @@ -68,6 +68,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 */ -- cgit v1.2.3