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

RadEditor ToolbarProviderID while using RadPageView

1 Answer 34 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 13 Mar 2012, 10:37 PM
We are trying to use the ToolbarProviderID functionality with multiple RadEditor controls.  The RadEditor controls are being instantiated at RunTime.  When the first RadEditor control is being created, we store the ID of that Editor to be used as the ToolbarProviderID for later Editors.

When we run, the Toolbar on the first RadPageView page where the first Editor is drawn renders as it should.  When I switch to a Tab that contains an additional Editor, we encounter a Javascript error.

My question:  how do we use the ToolbarProviderID when the ID of the control will not be visible because of the RadPageView hiding the control?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 14 Mar 2012, 06:24 PM
Hi,

From our support ticket communication, I learned that you use the Floating toolbar mode of RadEditor, but not the default one. I talked with one of our lead developers and he explained that that the ToolProviderID Floating scenario in Multipage is unsupported. The ToolProviderID just copies the HTML of the Toolbar from the page and clones it across the editors on the page. When one of the editors, however, is hidden and the floating toolbar is still not created, the code could not copy non existing HTML content and apply it to the hidden editor.

That is why my suggestion is to either use the Default toolbar mode in your scenario, or just not set the ToolProviderID property.


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.
Tags
Editor
Asked by
Josh
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or