The TextControl class represents an extension object implementing the Text Control rich text editor functionality. To create an instance of this class and render an editor in an ASP.NET MVC application the ControlsFactory class is used. (See also ControlsFactory.TextControl method)

Syntax

public class TextControl : ControlBase
Public Class TextControl
  Inherits ControlBase

Introduced: X13.

Constructors

Constructor Description
TextControl Initializes a new instance of the TextControl class.

Methods

Method Description
LoadDataFromJson Uses data given as a JSON string as a data source.
LoadDataFromModel Loads a collection implementing interface System.Collections.IEnumerable as a data source.
LoadDataSet Loads a database which is used to create table and field name menu items in the mailings ribbon tab from an existing DataSet object.
LoadText Loads text in a certain format.
LoadXMLDatabase Loads an XML database which is used to create table and field name menu items in the mailings ribbon tab.
Render Renders the extension's HTML code into the page output.
(Inherited from ControlBase)
SetFileDirectory Determines the directory path where the files of a specific file type are stored.