I am working on a fairly large aspx web project with extensive use of asp: GridViews
I would like to use CSS to define in one place what all gridviews will look like by default.
As far as I understand, one way to do this is through the “skins” in Visual Studio .... but I remember doing a little research and found a lot of people who despise the skins and always used simple CSS in asp.net (although I I can’t completely remember what was so bad about them).
So my questions are: 1) Can I make this global default asp: GridView style using simple CSS 2) Is there any advantage to using VS Skins in general, or is simple CSS just as powerful and easy to maintain as using skins?
UPDATE: I also wanted to mention that there are many styles unique to GridView, such as SelectedRowStyle-BackColor; Does this affect my initial question? If someone could post or link to any examples of this, that would be very helpful.
tbone source share