From d76123127139a7cb013a0e4c17a63eb8aab57e3e Mon Sep 17 00:00:00 2001 From: "Christophe.Boulain" <> Date: Tue, 29 Sep 2009 08:33:46 +0000 Subject: Added TActiveDataGrid and TActiveRepeater from LCS --- .../Samples/TActiveRepeater/Sample3.page | 104 +++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Sample3.page (limited to 'demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Sample3.page') diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Sample3.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Sample3.page new file mode 100644 index 00000000..1ea4e9dc --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveRepeater/Sample3.page @@ -0,0 +1,104 @@ + + +

TActiveRepeater Sample 3

+ +

+The following example allows users to modify the existing tabular data using a TActiveRepeater. Two validators are used in the repeater to ensure the validity of user inputs. One is to ensure product names are not empty, the other ensures product prices are valid numeric format. After clicking on the save button, the input data is displayed in a table at the bottom of the page. +

+ + + + + + + + + + + + + + + + + + +
NameCategoryPriceImported
+ Data['name']%> + AutoPostBack="true" + OnTextChanged="Page.saveInput" + OnCallback="Page.renderRepeater2"/> + + + + Data['price']%> + AutoPostBack="true" + OnTextChanged="Page.saveInput" + OnCallback="Page.renderRepeater2"/> + + Data['imported']%> + AutoPostBack="true" + OnCheckedChanged="Page.saveInput" + OnCallback="Page.renderRepeater2"/> + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IDNameCategoryPriceImported
<%#$this->Data['id']%><%#$this->Data['name']%><%#$this->Data['category']%><%#$this->Data['price']%><%#$this->Data['imported']?'Yes':'No'%>
Computer Parts Inventory
+ + +
+ +
+ +
$Id: Sample3.page 1688 2007-02-09 22:48:31Z xue $
\ No newline at end of file -- cgit v1.2.3