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

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

posted @ Sunday, June 24, 2007 12:24 AM

Print

Comments on this entry:

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

Left by SimpsonAngeline at 4/27/2010 12:29 PM
Gravatar
Students have got now good web resources to order the thesis proposal and nice thought just about this good topic at the reliable dissertation service.

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

Left by BarnesEugenia at 4/27/2010 12:29 PM
Gravatar
Do not cry since it's finished. Smile since it arise. Our superior essay papers will support you in any situation! For sure contact us and we will be happy to advice you!

Your comment:



 (will not be displayed)


 
 
 
Please add 5 and 2 and type the answer here:
 

Live Comment Preview:

 
«July»
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567