Home All Groups Group Topic Archive Search About

Different FontColors depending on Value

Author
21 Mar 2005 1:27 PM
Jörg Reinhardt
I want to display the text in a different color if a value in an other
column ist False. How can I realice this?

Many thanks in advance

Joerg Reinhardt

Author
21 Mar 2005 1:36 PM
Eliyahu Goldin
The simpliest way is to handle ItemDataBind event. In the event you can
access item (row) cells. You can check the value in one column and set text
style for another column.

Eliyahu

Show quoteHide quote
"Jörg Reinhardt" <nore***@dragonconsulting.de> wrote in message
news:OV9z7mhLFHA.2392@TK2MSFTNGP10.phx.gbl...
> I want to display the text in a different color if a value in an other
> column ist False. How can I realice this?
>
> Many thanks in advance
>
> Joerg Reinhardt
>
>