This topic has not yet been rated - Rate this topic

SPFieldLookup.FieldRenderingControl property

Gets the control that is used to render the field on a form page.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
public override BaseFieldControl FieldRenderingControl { get; }

Property value

Type: Microsoft.SharePoint.WebControls.BaseFieldControl
An Microsoft.SharePoint.WebControls.BaseFieldControl object that represents the rendering control.

If the CountRelated property returns true, the object that is returned by the FieldRenderingControl property is type ComputedField. If the AllowMultipleValues property returns true, the object that is returned is type MultipleLookupField. Otherwise, the object that is returned is type LookupField.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.