Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > gridview skin causes commands to become invisible

Reply
Thread Tools

gridview skin causes commands to become invisible

 
 
eddiec
Guest
Posts: n/a
 
      04-24-2009
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Become The master in computer hardware to become successfull shilla Computer Security 1 01-22-2011 06:19 PM
Become The master in computer hardware to become successfull shilla VHDL 0 01-22-2011 04:45 AM
Making 1 control invisible while showing another in the exact location of the invisible one Andy B ASP .Net 5 05-29-2008 03:08 AM
Invisible - Succinic acid : (AMBER ACID) Invisible krithika.143@gmail.com C++ 0 04-14-2008 06:59 PM
minimize windows become invisible!!!? NeTi Computer Support 6 02-09-2006 01:53 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57