I am new to the editor and couldn’t find anything when searching. My application is located like so:
http://localhost/CMS/default.aspx
but I want the ViewPath to pick up the directory:
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 or is it not possible?
Thanks.
What you can do is, you can create a virtual folder under CMS folder with the name Images which will point to the the same folder as
localHost/imagesSo both
localhost/imagesandlocalhost/cms/imageswill point to the same physical location.refer this http://www.telerik.com/support/kb/aspnet-ajax/editor/uploading-images-and-files-to-a-shared-drive.aspx