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

[Solved] Modes and ToolGroups

1 Answer 88 Views
Editor
This is a migrated thread and some comments may be shown as answers.
nono
Top achievements
Rank 1
nono asked on 24 Nov 2009, 04:38 AM
First question is, is there a way to set which mode you want the editor to start in server side? I want my editor to come up in preview mode by default.

Second question, when in html or preview mode I want to be able to define a toolgroup that is not in read only mode, aka my print button for example. should be useable in all modes.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 24 Nov 2009, 11:55 AM
Hi,

You can set the default edit mode client as shown below :
aspx:
  <telerik:RadEditor ID="RadEditor1" runat="server" OnClientLoad="ClientLoad">  
 </telerik:RadEditor> 

js:
function  ClientLoad(editor,args) 
  {  
    editor.set_mode(4); 
  } 

Hope this helps..
Princy.
Tags
Editor
Asked by
nono
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or