Class DNNRichTextEditControl
The DNNRichTextEditControl control provides a standard UI component for editing RichText.
Implements
Inherited Members
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class DNNRichTextEditControl : TextEditControl
Properties
| Improve this Doc View SourceEditorText
The DNNRichTextEditControl control provides a standard UI component for editing RichText.
Declaration
protected string EditorText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 SourceCreateChildControls()
The DNNRichTextEditControl control provides a standard UI component for editing RichText.
Declaration
protected override void CreateChildControls()
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
| Improve this Doc View SourceOnDataChanged(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
| Improve this Doc View SourceOnInit(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 |
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 |
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
| Improve this Doc View SourceRenderViewMode(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. |