Relative addresses in ImageLocation property

I have difficulty with giving relative addresses in ImageLocation property.

Imagine my webpage store in this address:
~/Webpages/a.aspx

My reports store in this address:
~/App_Data/a.frx

And my image store in this address:
~/Images/a.png

Now what value ImageLocation property must have?
I already tried "../Images/a.png" but it didnt worked and for troubleshooting I need to know if I assign ImageLocation in correct way or not.

Much appreciated

Comments

  • edited 1:25PM
    I am experiencing the same problem with the Winforms version.

    Absolute image locations work fine but relative locations simply won;'t load the image....

    pitty

Leave a Comment