From 2e5e2892506c87cf33aa8afb7681df3e6e646390 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 15 Jan 2006 02:47:00 +0000 Subject: --- .../protected/pages/Controls/Samples/TDataList/Sample1.page | 9 +++++++-- .../protected/pages/Controls/Samples/TDataList/Sample1.php | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'demos/quickstart/protected/pages/Controls/Samples') diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.page b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.page index e25525f8..d2b94084 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.page @@ -5,17 +5,22 @@ <%#$this->Parent->DataItem['name']%> + +<%#$this->Parent->DataItem['name']%> + + \ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.php b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.php index 0f72dbf5..43b2f004 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.php +++ b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.php @@ -17,7 +17,7 @@ class Sample1 extends TPage { parent::onLoad($param); $this->DataList->DataSource=$this->getDataSource(); - $this->DataList->SelectedItemIndex=1; + $this->DataList->SelectedItemIndex=2; $this->DataList->dataBind(); } } -- cgit v1.2.3