Environment:
Visual Studio 2008, C#, Rad Controls for ASP.NET AJAX v.2010.3.1317.35
I am using RadEditor and trying to configure a virtual directory for the RadEditor.ImageManager.ViewPaths.
I have used IIS Manager to create a virtual directory called Email under my website. If I click on that virtual directory in IIS Manager I can see the files that exist in the respective physical location. I can open a web browser and browse to the virtual directory URL, i.e. http://localhost/<websitename>/Email.
I am setting the ImageManager ViewPaths property in codebehind:
Visual Studio 2008, C#, Rad Controls for ASP.NET AJAX v.2010.3.1317.35
I am using RadEditor and trying to configure a virtual directory for the RadEditor.ImageManager.ViewPaths.
I have used IIS Manager to create a virtual directory called Email under my website. If I click on that virtual directory in IIS Manager I can see the files that exist in the respective physical location. I can open a web browser and browse to the virtual directory URL, i.e. http://localhost/<websitename>/Email.
I am setting the ImageManager ViewPaths property in codebehind:
string[] viewImages = new string[] { "~/Email" };
RadEditor1.ImageManager.ViewPaths = viewImages;
When I run the application in the development environment and open the ImageManager for RadEditor, there are no files available for selection.
If I create an Email folder under the website and point to that folder for the ViewPaths property, the files are available.
How should I configure virtual directory so that the ImageManager can see the files properly when running in the Visual Studio 2008 development environment,
Thanks for your help!