All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<telerik:RadEditor runat=
"server"
ID=
"RadEditor1"
OnClientLoad=
"OnClientLoad"
>
<Content>Sample Content</Content>
</telerik:RadEditor>
<script type=
"text/javascript"
function
OnClientLoad(editor, args) {
setTimeout(
()
{
editor.set_mode(4);
}, 100);
}
</script>
You can set RadEditor in Preview mode only on the client side. In order to achieve your scenario you should import this script using one of the server-side methods: Page.RegisterStartupScript or Page.RegisterClientScriptBlock.