Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a Color control for Web Forms?
Message
From
20/05/2004 15:28:09
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brazil
 
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00905599
Message ID:
00905776
Views:
7
Hi,

You can do this kind of thing writing code for the ItemCreated event of the DataGrid. I´m not sure if this is the best place but I know it works.


Regards,

Eugênio

>Joe,
>Is there any way to have each row carry it's own color.
>I can save the BackColor and ForeColor as part of the record...
>but is there a way for
>the 1st row to be blue on red
>the 2nd row to be red on green
>the 3rd row to be green on blue
>the 4th row to be green on red
>the 5th row to be color1 on color2
>etc. etc. etc.
>
>or all rows for contacts in FL to be white on green
>and all rows for contacts in NY to be white on black
>and all rows for contacts in CA to be yellow on blue
>and all rows for contacts which have activities scheduled for today to be red on black
>etc. etc. etc.
>
>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform