|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
DataGrid Color - Annoying featureI created a simple Datagrid with normal <body> tag (background white by
default), the DataGrid shows padding color = GREY. Now, if I change the <body> bgcolor = red, the DataGrid is TOO SMART and it updates the padding color automatically, now the padding color in DataGrid becomes WHITE!!!!???? Try that yourself.. How can I stop this from happening? or which properties can I use to override this? Help. Hi Zean,
For an accurate formatting of any server control, use cascading stylesheets. This is a demo for applying CSS to the DataGrid http://www.societopia.net/samples/DataGrid_cssClass.aspx Show quote "Zean Smith" wrote: > I created a simple Datagrid with normal <body> tag (background white by > default), the DataGrid shows padding color = GREY. > > Now, if I change the <body> bgcolor = red, the DataGrid is TOO SMART and it > updates the padding color automatically, now the padding color in DataGrid > becomes WHITE!!!!???? Try that yourself.. > > How can I stop this from happening? or which properties can I use to > override this? > > Help. > > > |
|||||||||||||||||||||||