NoteField.RenderFieldForDisplay Method
Renders the field for noneditable display.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overrides Sub RenderFieldForDisplay ( _
output As HtmlTextWriter _
)
'Usage
Dim output As HtmlTextWriter
Me.RenderFieldForDisplay(output)
protected override void RenderFieldForDisplay(
HtmlTextWriter output
)
Parameters
output
Type: System.Web.UI.HtmlTextWriterThe object that writes the HTML that is to be rendered.
Remarks
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.