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

3 Editors with one Toolbar

3 Answers 21 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Johann
Top achievements
Rank 1
Johann asked on 06 Dec 2013, 09:54 AM

Hi,

i will have three Editors on a site (looks like my added Image)

Is it possible to have one external Toolbar for all the three Editors?

I hope you understand what i meen.

greetings

Johann

3 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 06 Dec 2013, 04:59 PM
Hello,

The following demo will show you how to share the tools amongst several RadEditors: http://demos.telerik.com/aspnet-ajax/editor/examples/toolprovider/defaultcs.aspx.
You can see here the possible toolbar modes the control offers: http://www.telerik.com/help/aspnet-ajax/editor-toolbar-modes.html. Perhaps one of the PageTop options will be most suitable for you.


Regards,
Marin Bratanov
Telerik
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 the blog feed now.
0
Johann
Top achievements
Rank 1
answered on 08 Dec 2013, 02:20 PM

Hi,

Thank you, for your reply, but this is not what i want. I would like to have on the left side a static Toolbar.

With this Toolbar i like to control the focused Editor on the right.

Is there a possible solution for this Scenario?

Greetings

Johann

0
Marin Bratanov
Telerik team
answered on 09 Dec 2013, 03:25 PM
Hello Johann,

You can define custom buttons (e.g., via images, spans with styles, etc.) and use the editor's fire() command to control it: http://www.telerik.com/help/aspnet-ajax/editor-fire.html.
You can keep the currently focused editor by attaching to the onfocus event of each editor (http://www.telerik.com/help/aspnet-ajax/editor-attacheventhandler.html) and storing a reference in a global variable. The onblur event can be used to clean up this reference so you do not attempt to execute logic when the user has not focuised an editor. Even the toolbar may be disabled.


Regards,
Marin Bratanov
Telerik
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 the blog feed now.
Tags
Editor
Asked by
Johann
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Johann
Top achievements
Rank 1
Share this question
or