RenderFieldForDisplay method
Collapse the table of content
Expand the table of content

NoteField.RenderFieldForDisplay method

Renders the field for noneditable display.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

protected override void RenderFieldForDisplay(
	HtmlTextWriter output


Type: System.Web.UI.HtmlTextWriter

The object that writes the HTML that is to be rendered.

This override ensures that the field does not render on a display form if the AppendOnly property of the SPFieldMultiLineText control (that is being rendered by the NoteField) is true.

© 2016 Microsoft