This is a migrated thread and some comments may be shown as answers.
Set application wide default values for ContentProviderTypeName
1 Answer 8 Views
This is a migrated thread and some comments may be shown as answers.
Nathan
Top achievements
Rank 1
Nathan asked on 08 Mar 2018, 06:24 PM

I'm using RadEditor with Telerik 2014.2.618.40

I have created a new class that inherits FileSystemContentProvider so that files can be saved to S3 instead of on the web server.

It works when I use it like this in the code behind:

MyRadEditor.ImageManager.ContentProviderTypeName = typeof(S3FileBrowserContentProvider).AssemblyQualifiedName;

How can I set this as the default value across my application? I don't want to have to set this every single time I use the RadEditor, which is a lot.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 09 Mar 2018, 01:27 PM
Hi,

RadEditor is a standard ASP.NET user control. As such you can set its properties via an ASP.NET Theme -> Skin file or via an user control shared between the aspx pages. You can also inherit the RadEditor class.

It is up to you to decide which approach better works for your scenario.

Best regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Asked by
Nathan
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or