Search:
Namespaces
Discussions
.NET v1.1
Feedback
Alternating row colors?
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
.
Arthur Fuller
-- Moved from [aspngwebmatrix] to [aspngdatagridrepeaterdatalist] by Swoop Doggy Dogg <
Click here to reveal e-mail address
> --
Does anyone know how I could make a grid change colors on every other row?
That is, I want the title bar to be one color, and then below that the
odd-numbered rows a second color and the even-numbered rows a third color.
TIA,
Arthur
Reply to this message...
DavidW
In a datagrid or datalist - it's easy.....I copied this out of an existing
datagrid I have:
Headerstyle-BackColor="#8080C0"
BackColor="#8080FF"
AlternatingItemStyle-BackColor="#DFDFDF"
--
David Wier
http://aspexpress.com
Home of ASP Express - the best ASP text editor in the Galaxy
First editor with ASP.Net features
"Arthur Fuller" <
Click here to reveal e-mail address
> wrote in message
news:692969@aspngdatagridrepeaterdatalist...
[Original message clipped]
Reply to this message...
James Avery
Use the Alternating Item Style and the Header Style tags.
-----Original Message-----
From: Arthur Fuller [mailto:
Click here to reveal e-mail address
]
Sent: Friday, August 02, 2002 11:46 AM
To: aspngDataGridRepeaterDatalist
Subject: [aspngdatagridrepeaterdatalist] Alternating row colors?
-- Moved from [aspngwebmatrix] to [aspngdatagridrepeaterdatalist] by
Swoop Doggy Dogg <
Click here to reveal e-mail address
> --
Does anyone know how I could make a grid change colors on every other
row? That is, I want the title bar to be one color, and then below that
the odd-numbered rows a second color and the even-numbered rows a third
color.
TIA,
Arthur
| [aspngdatagridrepeaterdatalist] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.aspfriends.com/aspfriends/aspngdatagridrepeaterdatalist.asp
| = JOIN/QUIT
Reply to this message...
Tim Curtin
if you open up the page in design view. You can set it in the property page.
It has an 'Alternatingtemplate' node that you can open and configure.
[Original message clipped]
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com