This is a migrated thread and some comments may be shown as answers.

[Solved] Problems with custom FileBrowserContentProvider for RadEditor

1 Answer 113 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Vladimir
Top achievements
Rank 1
Vladimir asked on 13 Nov 2009, 03:16 PM
Hello

I'm trying to implement custom content provider for ImageManager used in RadEditor. I'm facing with some problems and also I've got some questions about its functionality. I'm using 2009 Q3 version of Telerik Controls.

Problem:

1) When I try to perform upload operation I always get an error message (displayed as a javascript-driven window) which says:
%filename% - Cannot write to the target folder! , where %filename% is a name of file which I try to upload. I have tried to debug it and found out that server method FileBrowserContentProvider.StoreFile does not get executed at all, e.g. breakpoint which I place at the beginning of it doesn't get hit.
I have already saw similar message here, but it was posted a while ago and somebody of Telerik support team answered that it was a bug of 2009 Q1 version and it would be fixed in further release.

Questions:
In general, I'm curious about how I may customize the appearance of ImageManager dialog:
1) Can I remove size column of folder browser?
2) Can I specify somehow which folders user is allowed to upload files into and which ones are read-only? For example, I want to disable uploading files into root folder, but to allow doing this with all subfolders of root one.
3) Can I disable renaming folders?
4) Can I disable deleting folders?

Disabling doing something also means for me hiding button or other control, which is used for doing this (delete button, upload button and so on)

Thanks in advance,
Vladimir.

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 18 Nov 2009, 04:50 PM
Hi Vladimir,

I have already answered your support ticket.

Greetings,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Vladimir
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or