Showing posts with label Telerik. Show all posts
Showing posts with label Telerik. Show all posts

Friday, 6 May 2011

DotNetNuke Telerik Editor ToolBars

Each DotNetNuke developer can easy add RichEditor to the project. All what you need is to add control to your .ascx file, like this:


<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx" %>

<dnn:TextEditor runat="server" id="tbFirst" DefaultMode="BASIC"></dnn:TextEditor>
<dnn:TextEditor runat="server" id="tbSecond" DefaultMode="RICH"></dnn:TextEditor>


This code adds two  RichEditors. One like simple textbox (DefaultMode="BASIC") and another fully WYSIWYG . RichEditor with WYSIWYG looks like this:

This is great! Users like it to use. It has a lot of ToolBars. Control provides very good functionality. But sometimes it needs to remove some ToolBars. So how to do this in the DotNetNuke module?