I am trying to access URLs from a database using the following code:
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?Code:<asp:HyperLink id=HyperLink1 runat="server" ImageUrl='<%# "Images\Maps\" & DataBinder.Eval(Container, "DataItem.ImageURL") %>' NavigateURL='<%# DataBinder.Eval(Container.DataItem, "GoogleMap")%>'>
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=#


Reply With Quote
