I'm having trouble getting the image path right.
The problem I'm having is that the page is in the following path "~/Login/thumbnail.aspx" and the image I'm trying to display is in "~/Property/xx/xxxx".
What I'm finding however is that site is trying to look for the images in the following directory "http://localhost:50086/xxx/Login/~/Properties/21/100_0365"
My code is:
<img src="~/Properties/<%#Eval("propertyId")%>/<%#Eval("filepath")%>" />
Can anybody see where I'm going wrong?
View Complete Post