Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Text Editor Control

Return to previous page

  • 4/7/2015
  • 12118 Views

Comments

12118 Views

Text Editor Control

Last updated long time ago

Comments

Common

(Enter the content of this article below)

Advanced

 
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.

Usage


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" />


Properties

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

Common properties
PropertyDescription/Note
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


Contents
No sections defined
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out