Hello Michael,
You can try the following two approaches:
- use the pageLoad() ajax event insead of the onload event, e.g.
function pageLoad()
{
var editor = $find("<%=txtVisitNotes.ClientID%>");
editor.set_mode(1);
}
- OR use the OnClientLoad event of RadEditor to change the mode:
<telerik:RadIEditor OnClientLoad= "OnClientLoad" ...
<script type="text/javascript>
function OnClientLoad(editor)
{
editor.set_mode(1);
}
</script>
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