• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

wgpubs
#1 Posted : Wednesday, August 1, 2007 4:26:00 PM(UTC)
wgpubs

Rank: Member

Joined: 6/11/2007(UTC)
Posts: 12

When using the tilde (~) it doesn't resolve correctly

Ex.

ImageUrl="~/BVModules/Themes/Scene/images/bag.png"


Is there a fix for this?

thanks - wg
Andy Miller
#2 Posted : Wednesday, August 1, 2007 10:04:46 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
What does it resolve to? What did you want it to resolve to?
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
wgpubs
#3 Posted : Thursday, August 2, 2007 9:03:20 AM(UTC)
wgpubs

Rank: Member

Joined: 6/11/2007(UTC)
Posts: 12

As an example, I have the follow asp:hyperlink included in a custom theme's header'ascx:

<asp:HyperLink ID="lnkAboutTab" runat="server"
ImageUrl="~/BVModules/Themes/Scene/images/top_menu_about.gif"
NavigateUrl="~/default.aspx" />

The path to this user control is: ... BVModules\Themes\Scene\Controls.


Now the ImageUrl resolves correctly when looking at a page like the home page (and most others). But any time I go to a category or to view a product, ImageUrl doesn't resolve correctly. In such pages it resolves to something like:

http://localhost/Scene.Web/BVModules/CategoryTemplates/BVModules/Themes/Scene/images/top_menu_about.gif

instead of ...

http://localhost/Scene.Web/BVModules/Themes/Scene/images/top_menu_about.gif
Carousel Designs
#4 Posted : Monday, December 3, 2007 10:25:20 AM(UTC)
Carousel Designs

Rank: Member

Joined: 12/3/2007(UTC)
Posts: 5

I'm having the same problem. Did you ever find a solution?
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012