summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorwei <>2007-05-08 03:16:10 +0000
committerwei <>2007-05-08 03:16:10 +0000
commit84863ce89a1a712aa00df5c33227cecafded881a (patch)
treef54a11880bece65140026d52a601d138eda453bc /framework/Web/UI
parent9dfaab8227dc5643fac72b8aaece36df47fd3631 (diff)
Fixed #593.
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/ActiveControls/TInPlaceTextBox.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php
index e1305ed0..4c75aa2b 100644
--- a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php
+++ b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php
@@ -10,6 +10,8 @@
* @package System.Web.UI.ActiveControls
*/
+Prado::using('System.Web.UI.ActiveControls.TActiveTextBox');
+
/**
* TInPlaceTextBox Class
* *
@@ -239,7 +241,8 @@ class TInPlaceTextBox extends TActiveTextBox
*/
protected function addAttributesToRender($writer)
{
- TTextBox::addAttributesToRender($writer);
+ //calls the TWebControl to avoid rendering other attribute normally render for a textbox.
+ TWebControl::addAttributesToRender($writer);
$writer->addAttribute('id',$this->getLabelClientID());
$this->getActiveControl()->registerCallbackClientScript(
$this->getClientClassName(), $this->getPostBackOptions());