Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

Themes - headerstyle forecolor not working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SimpleMan75 - 17 Sep 2007 15:46 GMT
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?
Riki - 17 Sep 2007 16:28 GMT
> I've got the following in a skin:
> Headerstyle-BackColor="#5C6A51"
[quoted text clipped - 10 lines]
>
> 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.

Signature

Riki

David Wier - 17 Sep 2007 17:35 GMT
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>

>> I've got the following in a skin:
>> Headerstyle-BackColor="#5C6A51"
[quoted text clipped - 14 lines]
> try to figure out what may be the cause.
> You may even post that HTML (the Gridview part at least) here.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.