You should use CSS classes for this. GridViews are ASP.net controls that
render out whatever HTML is aplicable to the relevent browser. You cannot
set a style in a style sheet that will apply to all GridViews the same say
you can for HTML elements such as <table<bodyetc. GridViews have a
CSSClass property. Set up a css class in your style sheet then set the
cssclass property of the GridView to refer to it.
"Hari" wrote:
Hi All,
Is there any way to write a CSS kinda header or table definition in
Master Page, so that all GridViews in child pages have the same looks?
Regards,
Prakash.