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

Decide dynamically which Toolsfile.xml to use

3 Answers 49 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Juraj
Top achievements
Rank 1
Juraj asked on 10 Dec 2012, 12:52 PM
Hi,

I have a multiple ToolsFile.xml to use. I would like to decide dynamically by some condition which one to use for actually rendered page. Let's say I would like to do this decision in Site.master. Is there any possibility to do it?

Thanks,
Juraj

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 Dec 2012, 04:22 PM
Hello,

The RadEditor's toolsfile is a standard XML file and it is up to the developer to decide which toolsfile to load and how. For example you can name the toolsfile with different names for example BasicTools.xml, DefaultTools.xml, FullSetOfTools.xml and load them according to your requirements via the codebehind of the masterpage.

Greetings,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Juraj
Top achievements
Rank 1
answered on 12 Dec 2012, 04:53 PM
Thanks for answer.

I understand how to set it for one instance of editor, but how can I set it globally for every editor that is present on web page? Is there any global telerik/editor settings class?

Thanks,
Juraj
0
Rumen
Telerik team
answered on 13 Dec 2012, 11:32 AM
Hello,

You can control multiple editors from a single location using ASP.NET Themes as shown in this help article: Using Themes.

Microsoft has provided different techniques like ASP.NET Themes, class inheritance, user controls that you can use to achieve the requested functionality.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
Juraj
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Juraj
Top achievements
Rank 1
Share this question
or