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

[Solved] RadEditor Prometheus

1 Answer 135 Views
Editor
This is a migrated thread and some comments may be shown as answers.
R Brown
Top achievements
Rank 1
R Brown asked on 24 Jan 2008, 06:07 PM
I know how to create a tool bar within the code behind class. However, I cannot find information how to add a new toolbar on a new line. The on-line help provides code how to create a toolbar with the following code.

EditorToolGroup main = new EditorToolGroup()
RadEditor.Tools.Add(main);

EditorTool spell = new EditorTool();
spell.Name = "AjaxSpellCheck";
spell.ShortCut = "CTRL+S";
main.Tools.Add(spell);

EditorTool print = new EditorTool();
print.Name = "Print";
print.ShortCut = "CTRL+P";
main.Tools.Add(print);

The issue I have is where and how I develop code which will create a new Toolbar under the first one on the Telerik RadEditor server control. For instance, I would like to have the following tool bar under the first one created above:

EditorToolGroup second = new EditorToolGroup()
RadEditor.Tools.Add(second);

EditorTool fontName= new EditorTool();
fontName.Name = "FontName";
fontName.ShortCut = "CTRL+F";
second.Tools.Add(spell);

EditorTool bold= new EditorTool();
bold.Name = "Bold";
bold.ShortCut = "CTRL+B";
second.Tools.Add(print);

In short, am I missing something?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 25 Jan 2008, 03:36 PM
Hi,

The requested toolbar positioning is not supported by RadEditor "Prometheus" out-of-the box. Currently, the toolbars are rendered each after other depending on the editor's width size. We will try to provide the requested ability in one of the upcoming versions of RadEditor "Prometheus".


Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
R Brown
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or