diff options
author | xue <> | 2005-12-30 22:19:07 +0000 |
---|---|---|
committer | xue <> | 2005-12-30 22:19:07 +0000 |
commit | 71ca767f51b53d6b162bd6fdccfb125f2dc94d35 (patch) | |
tree | e239318ea5ef056900440bd89af7fced400539ae /framework/Web/UI/WebControls/TListControl.php | |
parent | f5545817ebd1aeea0fd1527720ab83954665689e (diff) |
Added TListBox samples.
Diffstat (limited to 'framework/Web/UI/WebControls/TListControl.php')
-rw-r--r-- | framework/Web/UI/WebControls/TListControl.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php index 7e81fd6c..ec7df0c9 100644 --- a/framework/Web/UI/WebControls/TListControl.php +++ b/framework/Web/UI/WebControls/TListControl.php @@ -24,6 +24,7 @@ abstract class TListControl extends TDataBoundControl $writer->addAttribute('multiple','multiple');
if($this->getAutoPostBack() && $page->getClientSupportsJavaScript())
{
+ $writer->addAttribute('id',$this->getClientID());
$options = $this->getAutoPostBackOptions();
$scripts = $this->getPage()->getClientScript();
$postback = $scripts->getPostBackEventReference($this,'',$options,false);
@@ -387,9 +388,6 @@ abstract class TListControl extends TDataBoundControl }
}
-
-
-
class TListItemCollection extends TList
{
private $_items=null;
|