|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Different FontColors depending on ValueI 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 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 > >
UserControl inside of datagrid - loses its viewstate when datagrid is re-bound on postback
Annoyingly simple problem iterate through only one column of a datagrid _EditCommand not firing... Access individual item in a datagrid Datagrid sorting does not work Can't get text value of hidden (visible = false) column.. Group Headers in Datagrid Check Parent-child relationship in datagrid Container |
|||||||||||||||||||||||