Home >

ASP .NET - How to customize web part title bar / WebPart Chrome

18. August 2010

Has there ever been anything so hard - but then again so easy?

You would think that this would be easier -

After much research I have come to the conclusion that there is no easy way to just set a property of a WebPart Title area and set the background to use an image.

It looks like to me that Microsoft left out a Property for the title area background image.

You would think that this would be easier - I can almost bet that Microsoft has had numerous request to add it.

I resulted to using a style sheet class

    <style type="text/css">
        .CoolBar {
         background-image :url(images/sweetBar.gif);
        }
    </style>

  <PartTitleStyle CssClass="CoolBar" BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.8em" ForeColor="White" />

Other Links of Interest on Webparts / Web Parts

http://www.phptr.com/articles/article.asp?p=703789&seqNum=2&rl=1

Comments

8/24/2010 8:48:20 PM #
I have had a lot of success submitting content to article directories.  It is possible to easily triple your traffic.
8/27/2010 4:09:34 AM #
I know this isn't exactly on topic, but I have a blog using the blogengine platform and I'm having problems with my comments displaying. Is there a setting I am forgetting? Maybe you could help me out? Thanks!
8/27/2010 7:13:42 PM #
writing is very tiring, article writing is definitely worth the time that you dedicate.
8/31/2010 12:10:49 AM #
Great Post, This helped me figure out my issues very quickly
8/31/2010 12:15:00 AM #
Thanks for the Help on my website. It's a great Layout and design.
Comments are closed