Text Editor Control

Return to previous page

  • 4/7/2015
  • 5555 Views

Comments

5555 Views

Text Editor Control

Last updated 5 years 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
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.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out