-
Allan
2
posts
Member since:
Mar 2012
Posted 17 Mar 2012
Link to this post
Hello All,
I am new to the editor and couldn't find anything when searching. My application is located like so:
http://localhost/CMS/
but I want the ViewPath to pick up the directory:
http://localhost/Images
If I try and use Page.ResolveUrl with a relative Url to that location, I get an error saying "Cannot use a leading .. to exit above the top directory."
Is there another way I should be doing this?
Thanks.
-
-
Allan
2
posts
Member since:
Mar 2012
Posted 17 Mar 2012
Link to this post
Managed to sort this issue out by creating a virtual directory so http://localhost/CMS/Images was pointing to http://localhost/Images.
-