Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 Overridable Sub RenderFieldForDisplay ( _
output As HtmlTextWriter _
)
'Usage
Dim output As HtmlTextWriter
Me.RenderFieldForDisplay(output)
protected virtual void RenderFieldForDisplay(
HtmlTextWriter output
)
Parameters
output
Type: System.Web.UI.HtmlTextWriterThe object that writes the HTML that is to be rendered.
Remarks
The default implementation renders the field as it is rendered on a list view page. The DisplayTemplate is used, if it is not a null reference (Nothing in Visual Basic). If it is a null reference (Nothing in Visual Basic), the schema of the list field is used.
Override the default implementation only when you need the field to render differently on a display form from how it renders on a list view.