summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TRepeater
diff options
context:
space:
mode:
authorxue <>2006-04-15 14:21:40 +0000
committerxue <>2006-04-15 14:21:40 +0000
commitb07499534b6d0ed57a2b80c4d95354ca3791c236 (patch)
tree29bfeefb0b543abee915dd4051652dabb413005a /demos/quickstart/protected/pages/Controls/Samples/TRepeater
parent0f380cd025dd9530b8faee7061d1957c5fd6cd9c (diff)
Breaking change! Changed context of the expressions in template to the template control. Evaluations of <%= %> are now all in PreRender stage.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TRepeater')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample3.page6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample3.page b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample3.page
index 38636962..4b6849e9 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample3.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample3.page
@@ -19,7 +19,7 @@ The following example allows users to modify the existing tabular data using a <
<td>
<com:TTextBox
ID="ProductName"
- Text=<%#$this->Parent->DataItem['name']%> />
+ Text=<%#$this->DataItem['name']%> />
</td>
<td>
<com:TDropDownList
@@ -29,12 +29,12 @@ The following example allows users to modify the existing tabular data using a <
<com:TTextBox
ID="ProductPrice"
Columns="7"
- Text=<%#$this->Parent->DataItem['price']%> />
+ Text=<%#$this->DataItem['price']%> />
</td>
<td>
<com:TCheckBox
ID="ProductImported"
- Checked=<%#$this->Parent->DataItem['imported']%> />
+ Checked=<%#$this->DataItem['imported']%> />
<com:TRequiredFieldValidator
ControlToValidate="ProductName"
ErrorMessage="Product name cannot be empty."