chris-ricochetpartners
-
10/15/2008 1:40:55 PM
ImageURL not resolving correctly in master page
Hi,
I have created a simple webpart with an asp:HyperLink that I want to include in my Master Page. When I navigate to the default.aspx page, the ImageURL does not resolve correctly. The Navigate URL Does resolve correctly however.
WebPart Code: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="logo.ascx.cs" Inherits="CMSWebParts_Ricochet_logo" %> <asp:HyperLink ID="lnkHome" runat="server" ImageUrl="~/App_Themes/RicochetPartners/images/RIC_logo_blk.gif" NavigateUrl="~/default.aspx" />
The ImageUrl is resolving to CMSPage/App_Themes... instead of App_Themes.
|