From a7edca99c188c574125785c87198606527981d01 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 1 Feb 2006 18:09:18 +0000 Subject: Added a new TDataList demo. --- framework/Web/UI/WebControls/TDataList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') 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; } -- cgit v1.2.3