I'd like to apply a css class on all cells in all gridviews in my app. To
achieve that, I have to set hte item-style cssclass property of each
columns.
If I add this to my skin file :
<asp:GridView
runat="server"
><FooterStyle CssClass="GridV iewFooterStyle" />
<PagerStyle CssClass="GridV iewPagerStyle" />
<PagerSetting s PageButtonCount ="100" />
<SelectedRowSty le CssClass="GridV iewSelectedRowS tyle" />
<HeaderStyle CssClass="GridV iewHeaderStyle" />
<AlternatingRow Style CssClass="GridV iewAlternatingR owStyle" />
<Columns>
<asp:BoundFie ld ItemStyle-CssClass="ItemS tyle" />
</Columns>
</asp:GridView>
All gridview in my apps have only one column (empty) with the style
applied... It seems that when <Columnsis defined, it overrides all colums
definition in all pages...
Finally, the only way I found is to add the property to all columns in all
gridview in all pages which requires a lot of extra work....
Is there any way to reach my goal ?
Thanks,
Steve