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

Class DNNRichTextEditControl

The DNNRichTextEditControl control provides a standard UI component for editing RichText.

Inheritance
System.Object
EditControl
TextEditControl
DNNRichTextEditControl
Implements
IPostBackDataHandler
Inherited Members
TextEditControl.OldStringValue
TextEditControl.StringValue
EditControl.ItemAdded
EditControl.ItemDeleted
EditControl.ValueChanged
EditControl.IsValid
EditControl.EditControlClientId
EditControl.CustomAttributes
EditControl.EditMode
EditControl.LocalResourceFile
EditControl.Name
EditControl.Category
EditControl.OldValue
EditControl.Required
EditControl.SystemType
EditControl.Value
EditControl.DataField
EditControl.User
EditControl.RaisePostDataChangedEvent()
EditControl.OnAttributesChanged()
EditControl.OnItemAdded(PropertyEditorEventArgs)
EditControl.OnItemDeleted(PropertyEditorEventArgs)
EditControl.OnValueChanged(PropertyEditorEventArgs)
EditControl.Render(HtmlTextWriter)
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class DNNRichTextEditControl : TextEditControl

Properties

| Improve this Doc View Source

EditorText

The DNNRichTextEditControl control provides a standard UI component for editing RichText.

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

TextEditControl

The DNNRichTextEditControl control provides a standard UI component for editing RichText.

Declaration
protected Control TextEditControl { get; }
Property Value
Type Description
Control

Methods

| Improve this Doc View Source

CreateChildControls()

The DNNRichTextEditControl control provides a standard UI component for editing RichText.

Declaration
protected override void CreateChildControls()
| Improve this Doc View Source

LoadPostData(String, NameValueCollection)

LoadPostData loads the Post Back Data and determines whether the value has change.

Declaration
public override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters
Type Name Description
System.String postDataKey

A key to the PostBack Data to load.

NameValueCollection postCollection

A name value collection of postback data.

Returns
Type Description
System.Boolean

true if the value has changed, otherwise false.

Overrides
EditControl.LoadPostData(String, NameValueCollection)
| Improve this Doc View Source

OnDataChanged(EventArgs)

OnDataChanged runs when the PostbackData has changed. It raises the ValueChanged Event.

Declaration
protected override void OnDataChanged(EventArgs e)
Parameters
Type Name Description
EventArgs e
Overrides
TextEditControl.OnDataChanged(EventArgs)
| Improve this Doc View Source

OnInit(EventArgs)

The DNNRichTextEditControl control provides a standard UI component for editing RichText.

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

OnPreRender(EventArgs)

The DNNRichTextEditControl control provides a standard UI component for editing RichText.

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

RenderEditMode(HtmlTextWriter)

RenderEditMode renders the Edit mode of the control.

Declaration
protected override void RenderEditMode(HtmlTextWriter writer)
Parameters
Type Name Description
HtmlTextWriter writer

A HtmlTextWriter.

Overrides
TextEditControl.RenderEditMode(HtmlTextWriter)
| Improve this Doc View Source

RenderViewMode(HtmlTextWriter)

RenderViewMode renders the View (readonly) mode of the control.

Declaration
protected override void RenderViewMode(HtmlTextWriter writer)
Parameters
Type Name Description
HtmlTextWriter writer

A HtmlTextWriter.

Overrides
EditControl.RenderViewMode(HtmlTextWriter)

Implements

IPostBackDataHandler

Extension Methods

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