summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TActiveDatePicker.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/ActiveControls/TActiveDatePicker.php')
-rwxr-xr-xframework/Web/UI/ActiveControls/TActiveDatePicker.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveDatePicker.php b/framework/Web/UI/ActiveControls/TActiveDatePicker.php
index 603cfe3b..515eb29a 100755
--- a/framework/Web/UI/ActiveControls/TActiveDatePicker.php
+++ b/framework/Web/UI/ActiveControls/TActiveDatePicker.php
@@ -34,23 +34,23 @@ class TActiveDatePicker extends TDatePicker implements ICallbackEventHandler, I
/**
* @return boolean a value indicating whether an automatic postback to the server
- * will occur whenever the user modifies the text in the TTextBox control and
- * then tabs out of the component. Defaults to false.
+ * will occur whenever the user modifies the text in the TActiveDatePicker control and
+ * then tabs out of the component. Defaults to true.
*/
public function getAutoPostBack()
{
- return $this->getViewState('AutoPostBack',false);
+ return $this->getViewState('AutoPostBack',true);
}
/**
* Sets the value indicating if postback automatically.
* An automatic postback to the server will occur whenever the user
- * modifies the text in the TTextBox control and then tabs out of the component.
+ * modifies the text in the TActiveDatePicker control and then tabs out of the component.
* @param boolean the value indicating if postback automatically
*/
public function setAutoPostBack($value)
{
- $this->setViewState('AutoPostBack',TPropertyValue::ensureBoolean($value),false);
+ $this->setViewState('AutoPostBack',TPropertyValue::ensureBoolean($value),true);
}
/**