SPFieldLookup.GetFieldValueForClientRender method
SharePoint 2013
Converts the field type value into object for use in client Display, Edit and New item forms.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Parameters
- item
- Type: Microsoft.SharePoint.SPItem
An object containing a value of for this type of field.
- mode
- Type: Microsoft.SharePoint.WebControls.SPControlMode
A value that specifies whether the returned object should be suitable for the Display form, or Edit form, or New form.
Return value
Type: System.ObjectAn object containing a representation of the field value used for client rendering in the form designated by mode.