Thanks for your reply. I tried to add the "TitleImageUrl" 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:WebPartZone ID="WebPartZone1" runat="server" BorderColor="#CCCCCC"
Font-Names="Verdana" Height="131px" Padding="6" Width="312px"
PartChromeType="TitleAndBorder">
<ZoneTemplate>
<asp:Label
TitleImageUrl="./Images/hdr_Wellness.jpg" ID="Label1" runat="server"
Text="Hello"></asp:Label>
</ZoneTemplate>
<PartChromeStyle BackColor="#F7F6F3"
BorderColor="#E2DED6" Font-Names="Verdana" ForeColor="White" />
<MenuLabelHoverStyle ForeColor="#E2DED6" />
<EmptyZoneTextStyle Font-Size="0.8em" />
<MenuLabelStyle ForeColor="White" />
<MenuVerbHoverStyle BackColor="#F7F6F3"
BorderColor="#CCCCCC" BorderStyle="Solid"
BorderWidth="1px" ForeColor="#333333" />
<HeaderStyle Font-Size="0.7em" ForeColor="#CCCCCC"
HorizontalAlign="Center" />
<MenuVerbStyle BorderColor="#5D7B9D"
BorderStyle="Solid" BorderWidth="1px" ForeColor="White" />
<PartStyle Font-Size="0.8em" ForeColor="#333333" />
<TitleBarVerbStyle Font-Size="0.6em"
Font-Underline="False" ForeColor="White" />
<MenuPopupStyle BackColor="#5D7B9D"
BorderColor="#CCCCCC" BorderWidth="1px" Font-Names="Verdana"
Font-Size="0.6em" />
<PartTitleStyle BackColor="#5D7B9D" Font-Bold="True"
Font-Size="0.8em" ForeColor="White" />
</asp:WebPartZone>
Thanks a lot in advance.
Zhenzhong
"DWS" wrote:
Zhenzhong,
Titleimageurl is used to customize web part title bar. A user with rules
enterSharedState, modifyState can use the behavioreditor at runtime and set
the titleimageurl for all users or the developer can set the webpart
titleimageurl programatically.
me.titleimageurl = "~/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