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

[Solved] Show RadEditor in html on open

4 Answers 127 Views
Editor
This is a migrated thread and some comments may be shown as answers.
altaf
Top achievements
Rank 1
altaf asked on 27 Jun 2008, 07:48 AM
hello,
i want that when i open teh RadEditor then it will be in HTML view and its design view icon is not visible can i do this. i am opening rad editor in a telerik popup window.

regards.

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 27 Jun 2008, 08:13 AM
Hi Altaf,

You should set EditModes="Html" and this will do the trick:

<telerik:RadEditor EditModes="Html"
   ID="RadEditor1"
   runat="server">
</telerik:RadEditor>


Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
altaf
Top achievements
Rank 1
answered on 27 Jun 2008, 10:59 AM
thanks.

radEditor1. EditModes="Html"


has done my work but now i want to make visible = false to the design view button.
this is possible??

regards
0
Rumen
Telerik team
answered on 27 Jun 2008, 11:26 AM
Hi Altaf,

You can hide the Preview, Html and Design buttons only using the EditModes enum property. You can find more information here and here. The three buttons do not offer Visible property.

All the best,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
altaf
Top achievements
Rank 1
answered on 27 Jun 2008, 11:57 AM
thanks.
it has solved my problem.
Tags
Editor
Asked by
altaf
Top achievements
Rank 1
Answers by
Rumen
Telerik team
altaf
Top achievements
Rank 1
Share this question
or