summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2006-02-01 18:09:18 +0000
committerxue <>2006-02-01 18:09:18 +0000
commita7edca99c188c574125785c87198606527981d01 (patch)
tree5a577ec59c497c306fbe661c3756dfdb5a201d53 /framework
parent5a7bac0a5c8342ce5812c16d1973e5affa188670 (diff)
Added a new TDataList demo.
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/WebControls/TDataList.php2
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;
}