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

Switch to Design mode toolbar button

2 Answers 122 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Daud
Top achievements
Rank 1
Daud asked on 29 Jan 2011, 08:44 AM
I'm using Telerik:RadEditor. I've added a toolbar icon with this code:
telerik:EditorTool Name="ChangeMode" Text="View/Edit Source" />
and the javascript is:
Telerik.Web.UI.Editor.CommandList["ChangeMode"] = function(commandName, editor, args) {
            editor.set_mode(2);
        };
When I click on this icon, editor mode is changed to HTML.
The problem is that the toolbar becomes disable and I can't switch back to Design mode. Please tell me how can I prevent the toolbar to disable when in HTML mode. Please note I'm not using Design, HTML, Preview buttons under the editor's content area, but only the toolbar.

2 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 31 Jan 2011, 03:09 PM
Hi Daud,

I believe the following KB article will be of help solving this case:
Enabling Print button in Preview mode

Regards,
Dobromir
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Daud
Top achievements
Rank 1
answered on 01 Feb 2011, 02:19 AM
Hi Debromir,
Thats the right solution.

Thanks alot,
Daud.
Tags
Editor
Asked by
Daud
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Daud
Top achievements
Rank 1
Share this question
or