From 71ca767f51b53d6b162bd6fdccfb125f2dc94d35 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 30 Dec 2005 22:19:07 +0000 Subject: Added TListBox samples. --- framework/Web/UI/WebControls/TListControl.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'framework/Web/UI/WebControls/TListControl.php') 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; -- cgit v1.2.3