ItemPicker class

Represents a control that renders the External Data Picker control on the server. This control is used in the new, edit, and view list item forms when the fields in the SharePoint list are of type External Data.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.EntityEditor
        Microsoft.SharePoint.WebControls.EntityEditorWithPicker
          Microsoft.SharePoint.WebControls.ItemPicker

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class ItemPicker _
    Inherits EntityEditorWithPicker _
    Implements IDesignerEventAccessor
'Usage
Dim instance As ItemPicker
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class ItemPicker : EntityEditorWithPicker, IDesignerEventAccessor

Remarks

This control assumes that the entity is known. Use the EntityPicker user control to select the entity, and then this control to select a specific instance of that entity.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

ItemPicker members

Microsoft.SharePoint.WebControls namespace