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

How can i disable Design Mode in v7.3.3

2 Answers 37 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tiago
Top achievements
Rank 1
Tiago asked on 01 Oct 2008, 08:41 PM
I need to disable the design mode in the Editor v7.3.3. Is there any way to do it?

Thanks

Tiago Gerevini

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 02 Oct 2008, 06:41 AM
Hello Tiago,

Here is how to switch the editor in Html mode on start and hide the Design mode button:

<script type="text/javascript">
function OnClientLoad(editor)
{
   var oFun = function ()
   {
       editor.SetMode(2);
       document.getElementById("RadEDesignButton" + editor.Id).style.display = "none";
   }
   window.setTimeout(oFun,500);
}
</script>
<radE:RadEditor id="RadEditor1" OnClientLoad="OnClientLoad" runat="server"></radE:RadEditor>

Greetings,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Tiago
Top achievements
Rank 1
answered on 02 Oct 2008, 12:44 PM
Thanks a lot for the help!

Tiago Gerevini
Tags
Editor
Asked by
Tiago
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Tiago
Top achievements
Rank 1
Share this question
or