Hello,
I have a rad editor which i want to change its upload and viewpath to a direcotry which is not under my application.
Lets say that my application is at D:\MyWebSites\Site1\
But i want to show a target such as D:\Images\
Because if the target is under my application, when i publish a new version of my site, the image will be deleted.
Here is my code
It gives an error that "... is not a valid virtual path". The viewpath can also be something like http://localhost/Images. But i gives the same error.
Regards.
I have a rad editor which i want to change its upload and viewpath to a direcotry which is not under my application.
Lets say that my application is at D:\MyWebSites\Site1\
But i want to show a target such as D:\Images\
Because if the target is under my application, when i publish a new version of my site, the image will be deleted.
Here is my code
| <telerik:RadEditor ID="txtDescription" runat="server" EnableResize="False" Height="300px" |
| ToolsFile="~/App_Data/BasicTools.xml" Width="552px" Skin="Default"> |
| <Content> |
| </Content> |
| <ImageManager UploadPaths="D:\Images" ViewPaths="D:\Images" /> |
| </telerik:RadEditor> |
It gives an error that "... is not a valid virtual path". The viewpath can also be something like http://localhost/Images. But i gives the same error.
Regards.
