Thanks for your reply. I tried to add the "TitleImage Url" attribute into the
asp code, but it doesnt seem to work properly. and I dont seem to be able to
find the attribute for any of the controls. Can you be a little more specific?
<asp:WebPartZon e ID="WebPartZone 1" runat="server" BorderColor="#C CCCCC"
Font-Names="Verdana" Height="131px" Padding="6" Width="312px"
PartChromeType= "TitleAndBorder ">
<ZoneTemplate >
<asp:Label
TitleImageUrl=" ./Images/hdr_Wellness.jp g" ID="Label1" runat="server"
Text="Hello"></asp:Label>
</ZoneTemplate>
<PartChromeStyl e BackColor="#F7F 6F3"
BorderColor="#E 2DED6" Font-Names="Verdana" ForeColor="Whit e" />
<MenuLabelHover Style ForeColor="#E2D ED6" />
<EmptyZoneTextS tyle Font-Size="0.8em" />
<MenuLabelSty le ForeColor="Whit e" />
<MenuVerbHoverS tyle BackColor="#F7F 6F3"
BorderColor="#C CCCCC" BorderStyle="So lid"
BorderWidth="1p x" ForeColor="#333 333" />
<HeaderStyle Font-Size="0.7em" ForeColor="#CCC CCC"
HorizontalAlign ="Center" />
<MenuVerbStyl e BorderColor="#5 D7B9D"
BorderStyle="So lid" BorderWidth="1p x" ForeColor="Whit e" />
<PartStyle Font-Size="0.8em" ForeColor="#333 333" />
<TitleBarVerbSt yle Font-Size="0.6em"
Font-Underline="Fals e" ForeColor="Whit e" />
<MenuPopupSty le BackColor="#5D7 B9D"
BorderColor="#C CCCCC" BorderWidth="1p x" Font-Names="Verdana"
Font-Size="0.6em" />
<PartTitleSty le BackColor="#5D7 B9D" Font-Bold="True"
Font-Size="0.8em" ForeColor="Whit e" />
</asp:WebPartZone >
Thanks a lot in advance.
Zhenzhong
"DWS" wrote:
Zhenzhong,
Titleimageurl is used to customize web part title bar. A user with rules
enterSharedStat e, modifyState can use the behavioreditor at runtime and set
the titleimageurl for all users or the developer can set the webpart
titleimageurl programatically .
me.titleimageur l = "~/images/zany01.gif"
Good Luck
DWS
Need more help with this reply to group or thread
"Zhenzhong Xu" wrote:
I am using ASP 2.0 and trying to put a image in the web part title bar
instead of using a text title. Is there any way to get this done?
Thanks in advance.
Zhenzhong