G
gnewsgroup
I am creating GridView(s) on the fly and add them to a PlaceHolder
control. The skin file of my application orders GridViews to have an
alternate row style.
But on this particular aspx page, I do NOT want alternate row style
for GridView(s). In other words, I want it plain white with grid
lines.
I tried setting Theme and StylesheetTheme to empty strings in the page
directive, but then my page header and footer all lost the pre-defined
styles.
I was hoping that I could do something like
myDynamicGridView.EnableAlternateRowStyle = false;
But, of course there is no such thing as EnableAlternateRowStyle.
So, how do I disable alternate row style? Thank you.
control. The skin file of my application orders GridViews to have an
alternate row style.
But on this particular aspx page, I do NOT want alternate row style
for GridView(s). In other words, I want it plain white with grid
lines.
I tried setting Theme and StylesheetTheme to empty strings in the page
directive, but then my page header and footer all lost the pre-defined
styles.
I was hoping that I could do something like
myDynamicGridView.EnableAlternateRowStyle = false;
But, of course there is no such thing as EnableAlternateRowStyle.
So, how do I disable alternate row style? Thank you.