gridview skin causes commands to become invisible

Discussion in 'ASP .Net Web Controls' started by eddiec, Apr 24, 2009.

  1. eddiec

    eddiec Guest

    Hi,

    I have a gridview skin defined as follows:
    In the css
    ..GridViewStyle
    {
    border-right: 2px solid #A7A6AA;
    border-bottom: 2px solid #A7A6AA;
    border-left: 2px solid white;
    border-top: 2px solid white;
    padding: 4px;
    }

    ..GridViewStyle a
    {
    color: #FFFFFF;
    }

    ..GridViewHeaderStyle th
    {
    border-left: 1px solid #EBE9ED;
    border-right: 1px solid #EBE9ED;
    }

    ..GridViewHeaderStyle
    {
    background-color: #5D7B9D;
    font-weight: bold;
    color: White;
    }

    ..GridViewFooterStyle
    {
    background-color: #5D7B9D;
    font-weight: bold;
    color: White;
    }

    ..GridViewRowStyle
    {
    background-color: #F7F6F3;
    color: #333333;
    }

    ..GridViewAlternatingRowStyle
    {
    background-color: #FFFFFF;
    color: #284775;
    }

    ..GridViewRowStyle td, .GridViewAlternatingRowStyle td
    {
    border: 1px solid #EBE9ED;
    }

    ..GridViewSelectedRowStyle
    {
    background-color: #E2DED6;
    font-weight: bold;
    color: #333333;
    }

    ..GridViewPagerStyle
    {
    background-color: #284775;
    color: #FFFFFF;
    }

    ..GridViewPagerStyle table /* to center the paging links*/
    {
    margin: 0 auto 0 auto;
    }

    In the skin file:

    <asp:GridView CssClass="GridViewStyle" runat="server" >
    <CommandField ShowSelectButton="true" />
    <FooterStyle CssClass="GridViewFooterStyle" />
    <RowStyle CssClass="GridViewRowStyle" />
    <SelectedRowStyle CssClass="GridViewSelectedRowStyle" />
    <PagerStyle CssClass="GridViewPagerStyle" />
    <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
    <HeaderStyle CssClass="GridViewHeaderStyle" />
    </asp:GridView>

    This works fine with the exception that the text in the edit column is
    invisible!
    The edit column still appears and you can click on where the edit link
    is and then update info using the update and cancel links, but all the
    links are invisible.

    Help!

    cheers,

    eddiec :)
    eddiec, Apr 24, 2009
    #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. Ben Pfaff

    Re: man pages for C commands (GCC commands)

    Ben Pfaff, Jun 24, 2003, in forum: C Programming
    Replies:
    4
    Views:
    3,966
    Thomas Stegen
    Jun 28, 2003
  2. Tim Stanka
    Replies:
    1
    Views:
    790
    Jeff Epler
    Aug 2, 2004
  3. Junkmail
    Replies:
    2
    Views:
    275
    Junkmail
    Feb 15, 2005
  4. Sergei Shelukhin
    Replies:
    1
    Views:
    565
    Mark Rae
    Nov 12, 2006
  5. Andy B
    Replies:
    5
    Views:
    590
    Andy B
    May 29, 2008
Loading...

Share This Page