EditorPartChrome.RenderEditorPart(HtmlTextWriter, EditorPart) Method

Definition

Renders a complete EditorPart control with all its sections.

C#
public virtual void RenderEditorPart(System.Web.UI.HtmlTextWriter writer, System.Web.UI.WebControls.WebParts.EditorPart editorPart);

Parameters

writer
HtmlTextWriter

The HtmlTextWriter that receives the editorPart content.

editorPart
EditorPart

The control currently being rendered.

Exceptions

The control that editorPart refers to is null.

Remarks

The RenderEditorPart method renders the complete EditorPart control, with header, contents, and footer. Overriding this method gives a developer complete programmatic control over rendering all aspects of editorPart; for that reason, overriding this method is quite complex.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1