I use RadEditor in MasterPage and Delete button is disabled into ImageManager. I have ViewPaths, UploadPaths, and DeletePaths in server side.
Se attached image....
I get error:
Message
System.Web.HttpException (0x80004005): This is an invalid webresource request.
at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
<telerik:RadEditor ID=
"RadEditor1"
RenderMode=
"Lightweight"
Culture=
"sv-SE"
StripFormattingOptions=
"All"
ContentAreaMode=
"Div"
ToolsFile=
"~/medlemsidor/minsida/presentation/Toolbar.xml"
ExternalDialogsPath=
"~/EditorDialogs/"
Width=
"578px"
Height=
"400px"
EditModes=
"Design"
MaxHtmlLength=
"8000"
runat=
"server"
/>
RadEditor1.ImageManager.MaxUploadFileSize =
"10485760"
RadEditor1.ImageManager.SearchPatterns =
New
String
() {
"*.jpg"
,
"*.png"
,
"*.gif"
}
RadEditor1.ImageManager.ViewPaths =
New
String
() {
"~/medlemsidor/pressbilder/"
& UserFolder &
"/bilder/"
}
RadEditor1.ImageManager.UploadPaths =
New
String
() {
"~/medlemsidor/pressbilder/"
& UserFolder &
"/bilder/"
}
RadEditor1.ImageManager.DeletePaths =
New
String
() {
"~/medlemsidor/pressbilder/"
& UserFolder &
"/bilder/"
}
RadEditor1.ImageManager.EnableAsyncUpload =
True
RadEditor1.ImageManager.ContentProviderTypeName =
GetType
(ChangeImageSizeProvider).AssemblyQualifiedName