What class in CSS affect the head of GridView

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

I use a pre-defined CSS to my webpage.
There are many class in the CSS.
The header of my GridView will be affected by the CSS, but I can't find the
class which affect the header of the GridView.

What class in CSS affect the head of GridView?
 
CSS calsses don't affect anything unless you specify the class in the HTML
tag or the ASP cssclass porperty.

To apply a css class to a the header of a gridview set the cssclass property
of the HeaderStyle tag.

e.g.

<HeaderStyle CssClass="MyCssClass" />
 
But I did not assing a css class to the header of a gridview, but the font
did affect by the CSS.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top