Q: set sorted GridView header style

Discussion in 'ASP .Net' started by chudq@hotmail.com, Apr 30, 2007.

  1. Guest

    >From GridView's property, these are styles available such as:

    AlternatingRowStyle
    EditRowStyle
    ....

    I defined these styles in my css file. However, when I set my GridView
    to a sorted one(Enabling Sorting property), the default header color
    becomes "blue". This color is very hard to see again my other style
    settings defined in css. I cannot find a way to customize it in my css
    file. Is there anyway to customize sorted header style in css? or I
    have to change styles in codes dynamically? How?

    Thanks for any help.

    David Chu
    , Apr 30, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    2,442
  2. mlt
    Replies:
    2
    Views:
    813
    Jean-Marc Bourguet
    Jan 31, 2009
  3. Nathan Baulch

    Setting CssClass of sorted header <a> tags...

    Nathan Baulch, Jul 29, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    3
    Views:
    145
    Jeff Jorczak
    Aug 25, 2003
  4. Tony Girgenti

    Gridview header sorted column dimmed after selecting it

    Tony Girgenti, Mar 21, 2007, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    746
    Tony Girgenti
    Mar 21, 2007
  5. Tony Girgenti

    Gridview header sorted column dimmed after selecting it

    Tony Girgenti, Mar 13, 2007, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    129
    Tony Girgenti
    Mar 13, 2007
Loading...

Share This Page