Results 1 to 7 of 7

Thread: NavigateURL

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2006
    Posts
    11

    NavigateURL

    I am trying to access URLs from a database using the following code:

    Code:
    <asp:HyperLink id=HyperLink1 runat="server" ImageUrl='<%# "Images\Maps\" & DataBinder.Eval(Container, "DataItem.ImageURL") %>' NavigateURL='<%# DataBinder.Eval(Container.DataItem, "GoogleMap")%>'>
    But what's happening now is that when I run the page, I do see the hyperlink working on the picture but the url starts with something like http://localhost...and then it has the actual url starting with #. Both urls are combined. Anyone know how I can fix this?

    This is the link I see:

    Code:
    http://localhost/Dorknozzle/headquarters.aspx#http://www.google.ca/maps?f=q&hl=en&q=1290+Avenue+of+the+Americas,+new+york&ie=UTF8&z=15&om=#
    Last edited by CyCLoBoT; Dec 11th, 2006 at 02:40 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width