From 950eddf70e6ba062bf8c26c0dbc3913757935373 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Sat, 4 Feb 2006 01:50:00 +0000
Subject: A few style changes.
---
.../protected/pages/Controls/DataGrid1.page | 2 +-
.../protected/pages/Controls/DataGrid2.page | 24 ++++++++++++++--------
.../protected/pages/Controls/DataList.page | 8 +++++++-
.../pages/Controls/Samples/TDataGrid/Sample1.page | 8 +++++---
.../pages/Controls/Samples/TDataGrid/Sample2.page | 2 ++
.../pages/Controls/Samples/TDataList/Sample1.page | 11 +++++-----
.../pages/Controls/Samples/TDataList/Sample2.page | 11 ++++------
.../pages/Controls/Samples/TRepeater/Sample1.page | 4 ++--
.../quickstart/protected/pages/Security/Auth.page | 2 +-
9 files changed, 43 insertions(+), 29 deletions(-)
(limited to 'demos/quickstart/protected/pages')
diff --git a/demos/quickstart/protected/pages/Controls/DataGrid1.page b/demos/quickstart/protected/pages/Controls/DataGrid1.page
index b7d6fe8f..be44d1e1 100644
--- a/demos/quickstart/protected/pages/Controls/DataGrid1.page
+++ b/demos/quickstart/protected/pages/Controls/DataGrid1.page
@@ -99,7 +99,7 @@ Note, if AutoGenerateColumns is true and there are manually specified c
The following example uses manually specified columns to show a list of book information,
- - Book title - displayed a hyperlink pointing to the corresponding amazon.com book page. THyperLinkColumn is used.
+ - Book title - displayed as a hyperlink pointing to the corresponding amazon.com book page. THyperLinkColumn is used.
- Publisher - displayed as a piece of text using TBoundColumn.
- Price - displayed as a piece of text using TBoundColumn with output formatting string and customized styles.
- In-stock or not - displayed as a checkbox using TCheckBoxColumn.
diff --git a/demos/quickstart/protected/pages/Controls/DataGrid2.page b/demos/quickstart/protected/pages/Controls/DataGrid2.page
index f73f46be..a40d3987 100644
--- a/demos/quickstart/protected/pages/Controls/DataGrid2.page
+++ b/demos/quickstart/protected/pages/Controls/DataGrid2.page
@@ -2,18 +2,24 @@
TDataGrid : Part II
-Paging and Sorting
+Interacting with TDataGrid
+
+Besides the rich data presentation functionalities as demonstrated in previous section, TDataGrid is also highly user interactive. An import usage of TDataGrid is to use it for editting or deleting rows of data. The TEditCommandColumn is specically designed for this purpose.
+
-Updating and Deleting
+
-Custom Paging
+Sorting
-Extending TDataGrid
+
-
-
-A common use of TDataGrid is for maintaining tabular data, including browsing, editting, deleting data items. This is enabled by the command events and various item templates of TDataGrid. The following example displays a computer product information. Users can add new products, modify or delete existing ones. In order to locate the data item for updating or deleting, DataKeys property is used.
-
-
+Paging
+
+
+
+Custom Paging
+
+
+Extending TDataGrid
\ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/DataList.page b/demos/quickstart/protected/pages/Controls/DataList.page
index d003ae8e..9d904870 100644
--- a/demos/quickstart/protected/pages/Controls/DataList.page
+++ b/demos/quickstart/protected/pages/Controls/DataList.page
@@ -50,7 +50,13 @@ The following example shows how to use TDataList to display tabular data, with d
-A common use of TDataList is for maintaining tabular data, including browsing, editting, deleting data items. This is enabled by the command events and various item templates of TDataList. The following example displays a computer product information. Users can add new products, modify or delete existing ones. In order to locate the data item for updating or deleting, DataKeys property is used.
+A common use of TDataList is for maintaining tabular data, including browsing, editting, deleting data items. This is enabled by the command events and various item templates of TDataList.
+
+
+The following example displays a computer product information. Users can add new products, modify or delete existing ones. In order to locate the data item for updating or deleting, DataKeys property is used.
+
+
+Be aware, for simplicity, this application does not do any input validation. In real applications, make sure user inputs are valid before saving them into databases.
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample1.page b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample1.page
index 5b5f0a1c..63f8fa15 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample1.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample1.page
@@ -6,10 +6,12 @@
\ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample2.page b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample2.page
index 1a38c90d..c94f581d 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample2.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TDataGrid/Sample2.page
@@ -5,6 +5,7 @@
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.page b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.page
index 467dc239..dee3a41c 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.page
@@ -14,10 +14,11 @@ Since the page is mainly for display and does not require user interactions, the
RepeatColumns="3"
RepeatDirection="Horizontal"
ItemStyle.Font.Italic="true"
- ItemStyle.BackColor="lightgreen"
- HeaderStyle.BackColor="#AAAADD"
- FooterStyle.BackColor="#DDAAAA"
- AlternatingItemStyle.BackColor="lightyellow">
+ ItemStyle.BackColor="#BFCFFF"
+ HeaderStyle.BackColor="black"
+ HeaderStyle.ForeColor="white"
+ FooterStyle.BackColor="gray"
+ AlternatingItemStyle.BackColor="#E6ECFF">
Computer Parts
@@ -30,7 +31,7 @@ Total <%# $this->Parent->Parent->ItemCount %> products.
-
+
ID | Name | Quantity | Price |
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page
index 51ec7a7d..07980c49 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page
@@ -1,11 +1,6 @@
TDataList Sample 2
-This demo shows a simple application of TDataList control in maintaining a list of computer products. The application allows you to browse a list of inventory computer products, edit, select and delete them.
-
-
-Be aware, for simplicity, this application does not do any input validation. In real applications, make sure user inputs are valid before saving them into databases.
-
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.page b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.page
index 1922ca2a..e28ef6fb 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TRepeater/Sample1.page
@@ -16,7 +16,7 @@
-
+
<%#$this->Parent->DataItem['id']%> |
<%#$this->Parent->DataItem['name']%> |
<%#$this->Parent->DataItem['quantity']%> |
@@ -26,7 +26,7 @@
-
+
<%#$this->Parent->DataItem['id']%> |
<%#$this->Parent->DataItem['name']%> |
<%#$this->Parent->DataItem['quantity']%> |
diff --git a/demos/quickstart/protected/pages/Security/Auth.page b/demos/quickstart/protected/pages/Security/Auth.page
index 68375b35..ec876f54 100644
--- a/demos/quickstart/protected/pages/Security/Auth.page
+++ b/demos/quickstart/protected/pages/Security/Auth.page
@@ -21,7 +21,7 @@ During Authorization application lifecycle, which occurs after Auth
Using PRADO Auth Framework
-To enable PRADO auth framework, add the TAuthManager module and TUserManager module to application configuration,
+To enable PRADO auth framework, add the TAuthManager module and TUserManager module to application configuration,
<service id="page" class="TPageService">
--
cgit v1.2.3