diff options
| author | xue <> | 2006-02-04 01:50:00 +0000 | 
|---|---|---|
| committer | xue <> | 2006-02-04 01:50:00 +0000 | 
| commit | 950eddf70e6ba062bf8c26c0dbc3913757935373 (patch) | |
| tree | 08539a141933aeb097aaaf9d605b7ef7ce49bc90 /demos/quickstart/protected/pages/Controls/Samples | |
| parent | e40549980dd988f71e4facdd9552272ebd451cc4 (diff) | |
A few style changes.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples')
5 files changed, 19 insertions, 17 deletions
| 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 @@  <com:TDataGrid
  	ID="DataGrid"
  	EnableViewState="false"
 -	HeaderStyle.BackColor="silver"
 -	ItemStyle.BackColor="lightblue"
 +	CellPadding="2"
 +	HeaderStyle.BackColor="black"
 +	HeaderStyle.ForeColor="white"
 +	ItemStyle.BackColor="#BFCFFF"
  	ItemStyle.Font.Italic="true"
 -	AlternatingItemStyle.BackColor="lightgreen"
 +	AlternatingItemStyle.BackColor="#E6ECFF"
  	/>
  </com:TContent>
\ 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 @@  <com:TDataGrid
  	Width="700px"
 +	CellPadding="2"
  	ID="DataGrid"
  	AutoGenerateColumns="false"
  	EnableViewState="false"
 @@ -36,6 +37,7 @@  		/>
  	<com:TCheckBoxColumn
  		HeaderText="In-stock"
 +		HeaderStyle.Wrap="false"
  		DataField="instock"
  		/>
  	<com:TTemplateColumn>
 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">
 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 @@  </prop:HeaderTemplate>
  <prop:ItemTemplate>
 -<tr style="background-color:green">
 +<tr style="background-color:#BFCFFF">
  <td><%#$this->Parent->DataItem['id']%></td>
  <td><%#$this->Parent->DataItem['name']%></td>
  <td><%#$this->Parent->DataItem['quantity']%></td>
 @@ -26,7 +26,7 @@  </prop:ItemTemplate>
  <prop:AlternatingItemTemplate>
 -<tr style="background-color:silver">
 +<tr style="background-color:#E6ECFF">
  <td><%#$this->Parent->DataItem['id']%></td>
  <td><%#$this->Parent->DataItem['name']%></td>
  <td><%#$this->Parent->DataItem['quantity']%></td>
 | 
