following code seem to have no effect:
i.e. ImageManager has upload function disabled and shows no folders.
However setting same path using xml works just fine:
so clearly accessibility of the folder is not an issue.
In my case I do need to set path dynamically, so this workaround is not good enough.
Same problem seem to apply to other file managers as well.
| <% |
| string[] paths = new string[] {"~/local"}; |
| editor1.ImageManager.ViewPaths = paths; |
| editor1.ImageManager.UploadPaths = paths; |
| editor1.ImageManager.DeletePaths = paths; |
| %> |
i.e. ImageManager has upload function disabled and shows no folders.
However setting same path using xml works just fine:
| <ImageManager ViewPaths="~/local" DeletePaths="~/local" UploadPaths="~/local" /> |
In my case I do need to set path dynamically, so this workaround is not good enough.
Same problem seem to apply to other file managers as well.
