Re: Themes - headerstyle forecolor not working



Well - looking at the html - I still can't figure out why it's happening:

<table cellspacing="0" cellpadding="0" Border-Width="0" border="0"
id="search1_GridView1"
style="background-color:#B1BEA7;border-color:Black;font-family:Verdana;font-size:10pt;width:100%;border-collapse:collapse;">
''' this next line shows what the skin shows:
<tr
style="color:White;background-color:#5C6A51;font-family:Verdana;font-size:14pt;font-weight:bold;">

<th scope="col">Book</th><th scope="col">Chapter</th><th
scope="col">Verse</th><th scope="col">Text</th>
</tr>


"Riki" <riki@xxxxxxxxxxxxx> wrote in message
news:uadgu9T%23HHA.4752@xxxxxxxxxxxxxxxxxxxxxxx
SimpleMan75 wrote:
I've got the following in a skin:
Headerstyle-BackColor="#5C6A51"
HeaderStyle-ForeColor="#FFFFFF"
Headerstyle-Font-Names="Verdana"
Headerstyle-Font-Bold="True"
Headerstyle-Font-Size="12"

This is for a Gridview - - - anything I enter or change works, except
the Forecolor - the forecolor, no matter what I put in the forecolor
- it always shows black

I'm using Boundcolumns, if that makes any difference.

any ideas why this doesn't work?

You can check the resulting HTML in the page (browser - view source) and
try to figure out what may be the cause.
You may even post that HTML (the Gridview part at least) here.

--

Riki



.



Relevant Pages

  • Re: Set Color to Elements in my control
    ... It can convert a Color to HTML ... > I am trying to set HTML elements in my server control to the ForeColor ... Is there a Hex function that can call on the ForeColor ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: Themes - headerstyle forecolor not working
    ... the Forecolor - the forecolor, no matter what I put in the forecolor ... You may even post that HTML (the Gridview part at least) here. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ItemStyle.Width doenst adjust the size of a column?
    ... The problem is with the HTML table itself. ... Eliminate columns from the GridView that you don't need, to reduce the overall table width. ... He joined the company as a sales representative, was promoted to sales manager in January 1992 and to vice president of sales in March 1993. ... I was only able to repeat the problem you described when I included the GridView in a panel and the panel had its width set. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: GridView in a table
    ... Now, AFAIK, it's not "hiding" the GridView, it's being extremely percise--since the designer doesn't have a data source to render columns off of (since we're loading data in code-behind), it assumes that there isn't any data. ... asp:Table generates HTML, but, at least when I go into the designer, I can't manipulate controls inside the TableCell. ... Another here probably has more experience with that control and can provide some insight--it may be behavior by design. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: GridView
    ... Dim cmd As New CommandField ... I tried to enter html text into the database table but that only ... I'm using a GridView to list data from a table in my database. ...
    (microsoft.public.dotnet.framework.aspnet)

Quantcast