summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TDataList
diff options
context:
space:
mode:
authorxue <>2006-02-04 01:50:00 +0000
committerxue <>2006-02-04 01:50:00 +0000
commit950eddf70e6ba062bf8c26c0dbc3913757935373 (patch)
tree08539a141933aeb097aaaf9d605b7ef7ce49bc90 /demos/quickstart/protected/pages/Controls/Samples/TDataList
parente40549980dd988f71e4facdd9552272ebd451cc4 (diff)
A few style changes.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TDataList')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample1.page11
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TDataList/Sample2.page11
2 files changed, 10 insertions, 12 deletions
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">
<prop:HeaderTemplate>
<div style="font-weight:bold; text-align:center;">Computer Parts</div>
@@ -30,7 +31,7 @@ Total <%# $this->Parent->Parent->ItemCount %> products.
</prop:FooterTemplate>
<prop:ItemTemplate>
-<table border="1" width="100%">
+<table border="0" width="100%">
<tr>
<th>ID</th><th>Name</th><th>Quantity</th><th>Price</th>
</tr>
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 @@
<com:TContent ID="body">
<h1>TDataList Sample 2</h1>
-<p>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.
-</p>
-<p>
-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.
-</p>
<com:TDataList
ID="DataList"
@@ -15,8 +10,10 @@ Be aware, for simplicity, this application does not do any input validation. In
OnUpdateCommand="updateItem"
OnDeleteCommand="deleteItem"
OnSelectedIndexChanged="selectItem"
- ItemStyle.BackColor="#EEEEEE"
- AlternatingItemStyle.BackColor="#F5F5F5"
+ HeaderStyle.BackColor="black"
+ HeaderStyle.ForeColor="white"
+ ItemStyle.BackColor="#BFCFFF"
+ AlternatingItemStyle.BackColor="#E6ECFF"
EditItemStyle.BackColor="lightgreen"
SelectedItemStyle.BackColor="lightyellow">