diff options
author | wei <> | 2006-08-01 01:01:06 +0000 |
---|---|---|
committer | wei <> | 2006-08-01 01:01:06 +0000 |
commit | e90a074753e4e5b9c65fc80eaf48526eb3824f15 (patch) | |
tree | c69b58448634a2b89b1c41a5931af29984736995 /framework | |
parent | c1658a277ad56426e88b948eab064b0ce07ea528 (diff) |
Fixed #302
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Exceptions/messages.txt | 4 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/TDatePicker.php | 9 |
2 files changed, 12 insertions, 1 deletions
diff --git a/framework/Exceptions/messages.txt b/framework/Exceptions/messages.txt index a807130c..54d9d085 100644 --- a/framework/Exceptions/messages.txt +++ b/framework/Exceptions/messages.txt @@ -318,4 +318,6 @@ databoundcontrol_datasourceid_inexistent = databoundcontrol_datasourceid_inexist databoundcontrol_datasourceid_invalid = databoundcontrol_datasourceid_invalid
databoundcontrol_datamember_invalid = databoundcontrol_datamember_invalid
-clientscript_invalid_file_position = Invalid file position '{1}' for TClientScript control '{0}', must be 'Head', 'Here' or 'Begin'.
\ No newline at end of file +clientscript_invalid_file_position = Invalid file position '{1}' for TClientScript control '{0}', must be 'Head', 'Here' or 'Begin'.
+
+tdatepicker_autopostback_unsupported = '{0}' does not support AutoPostBack.
\ No newline at end of file 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()
|