diff options
Diffstat (limited to 'framework/Web/UI/ActiveControls/TInPlaceTextBox.php')
-rw-r--r-- | framework/Web/UI/ActiveControls/TInPlaceTextBox.php | 5 |
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());
|