diff options
author | xue <> | 2006-02-01 18:09:18 +0000 |
---|---|---|
committer | xue <> | 2006-02-01 18:09:18 +0000 |
commit | a7edca99c188c574125785c87198606527981d01 (patch) | |
tree | 5a577ec59c497c306fbe661c3756dfdb5a201d53 /framework/Web | |
parent | 5a7bac0a5c8342ce5812c16d1973e5affa188670 (diff) |
Added a new TDataList demo.
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/UI/WebControls/TDataList.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TDataList.php b/framework/Web/UI/WebControls/TDataList.php index e3748d22..95919372 100644 --- a/framework/Web/UI/WebControls/TDataList.php +++ b/framework/Web/UI/WebControls/TDataList.php @@ -647,7 +647,7 @@ class TDataList extends TBaseDataList implements INamingContainer, IRepeatInfoUs $command=$param->getCommandName();
if(strcasecmp($command,'select')===0)
{
- $this->setSelectedIndex($param->getItem()->getItemIndex());
+ $this->setSelectedItemIndex($param->getItem()->getItemIndex());
$this->onSelectedIndexChanged(null);
return true;
}
|