Text Editor Control

Return to previous page

  • 4/7/2015



Text Editor Control

Last updated 6 years ago



(Enter the content of this article below)


The Text Editor control provides you a method to accept Rich/Text input using the currently configured Text Editor provider for the DotNetNuke Installation.

By using the Text Editor control if the provider in use is updated in the web.config all modules reference the text editor control will be updated to use the new provider.


To use the control within a module control there is a two step process, first register the control

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

Then place the control where desired

<dnn:TextEditor ID="ControlNameHere" runat="server" Height="200" Width="500" />


There are a number of properties available for the control, the following table shows a highlight of the most commonly used ones.

Common properties
TextGet/set text content.
WidthThe size of the control, for the best results 100% is a good choice.
HeightThe size of the control, for the best results 500px or larger is recommended
HtmlEncodeIf set to true accessing the "Text" property will provide HtmlEncoded HTML rather than raw HTML

No sections defined
Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  

What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out