• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class TextEditor

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Inheritance
System.Object
TextEditor
Namespace: DotNetNuke.UI.UserControls
Assembly: DotNetNuke.dll
Syntax
public class TextEditor : UserControl

Constructors

| Improve this Doc View Source

TextEditor()

Initializes a new instance of the TextEditor class.

Declaration
public TextEditor()

Fields

| Improve this Doc View Source

DivBasicRender

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
protected HtmlGenericControl DivBasicRender
Field Value
Type Description
HtmlGenericControl
| Improve this Doc View Source

DivBasicTextBox

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
protected HtmlGenericControl DivBasicTextBox
Field Value
Type Description
HtmlGenericControl
| Improve this Doc View Source

DivRichTextBox

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
protected HtmlGenericControl DivRichTextBox
Field Value
Type Description
HtmlGenericControl
| Improve this Doc View Source

OptRender

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
protected RadioButtonList OptRender
Field Value
Type Description
RadioButtonList
| Improve this Doc View Source

OptView

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
protected RadioButtonList OptView
Field Value
Type Description
RadioButtonList
| Improve this Doc View Source

PanelTextEditor

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
protected Panel PanelTextEditor
Field Value
Type Description
Panel
| Improve this Doc View Source

PanelView

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
protected Panel PanelView
Field Value
Type Description
Panel
| Improve this Doc View Source

PlcEditor

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
protected PlaceHolder PlcEditor
Field Value
Type Description
PlaceHolder
| Improve this Doc View Source

TxtDesktopHTML

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
protected TextBox TxtDesktopHTML
Field Value
Type Description
TextBox

Properties

| Improve this Doc View Source

BasicTextEditor

Gets allows public access of the BasicTextEditor.

Declaration
public TextBox BasicTextEditor { get; }
Property Value
Type Description
TextBox
| Improve this Doc View Source

ChooseMode

Gets or sets a value indicating whether enables/Disables the option to allow the user to select between Rich/Basic Mode, Default is true.

Declaration
public bool ChooseMode { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ChooseRender

Gets or sets a value indicating whether determines whether or not the Text/Html button is rendered for Basic mode, Default is True.

Declaration
public bool ChooseRender { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultMode

Gets or sets /Sets the Default mode of the control, either "RICH" or "BASIC", Defaults to Rich.

Declaration
public string DefaultMode { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Height

Gets or sets /Sets the Height of the control.

Declaration
public Unit Height { get; set; }
Property Value
Type Description
Unit
| Improve this Doc View Source

HtmlEncode

Gets or sets a value indicating whether turns on HtmlEncoding of text. If this option is on the control will assume, it is being passed encoded text and will decode.

Declaration
public bool HtmlEncode { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsRichEditorAvailable

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
public bool IsRichEditorAvailable { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LocalResourceFile

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
public string LocalResourceFile { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Mode

Gets or sets the current mode of the control "RICH", "BASIC".

Declaration
public string Mode { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

OptViewClientId

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
public string OptViewClientId { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

RichText

Gets allows public access ot the HtmlEditorProvider.

Declaration
public HtmlEditorProvider RichText { get; }
Property Value
Type Description
HtmlEditorProvider
| Improve this Doc View Source

Text

Gets or sets /Sets the Text of the control.

Declaration
public string Text { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TextRenderMode

Gets or sets the render mode for Basic mode. {Raw | HTML | Text}.

Declaration
public string TextRenderMode { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Width

Gets or sets /Sets the Width of the control.

Declaration
public Unit Width { get; set; }
Property Value
Type Description
Unit

Methods

| Improve this Doc View Source

ChangeMode(String)

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
public void ChangeMode(string mode)
Parameters
Type Name Description
System.String mode
| Improve this Doc View Source

ChangeTextRenderMode(String)

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
public void ChangeTextRenderMode(string textRenderMode)
Parameters
Type Name Description
System.String textRenderMode
| Improve this Doc View Source

OnInit(EventArgs)

TextEditor is a user control that provides a wrapper for the HtmlEditor providers.

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
EventArgs e
| Improve this Doc View Source

OnLoad(EventArgs)

Page_Load runs when the control is loaded.

Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type Name Description
EventArgs e
| Improve this Doc View Source

OptRenderSelectedIndexChanged(Object, EventArgs)

optRender_SelectedIndexChanged runs when Basic Text Box mode is changed.

Declaration
protected void OptRenderSelectedIndexChanged(object sender, EventArgs e)
Parameters
Type Name Description
System.Object sender
EventArgs e
| Improve this Doc View Source

OptViewSelectedIndexChanged(Object, EventArgs)

optView_SelectedIndexChanged runs when Editor Mode is changed.

Declaration
protected void OptViewSelectedIndexChanged(object sender, EventArgs e)
Parameters
Type Name Description
System.Object sender
EventArgs e

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS