1 out of 1 rated this helpful - Rate this topic

ListFieldIterator.ExcludeFields Property

Gets or sets the fields that are not rendered.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
public string ExcludeFields { get; set; }

Property Value

Type: System.String
A String that represents the fields that are not rendered by the ListFieldIterator control.

Use the InternalName or Title property to identify each field, and separate the fields with a semicolon and pound sign (;#). For example, the value of this property might be "Orginator;#HomePhoneNumber;#Book Author".

Caution note Caution

A field is excluded if either its InternalName or Title is included. For this reason, when you create custom fields, you should not only keep each Title unique and each Internal Name unique; you should also ensure that no Title is the same as any other field's Internal Name. Otherwise, you might exclude two fields when you want to exclude only one.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ