Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

BaseChoiceField class

Provides core functionality for controls that render fields (on form pages, but not on list view pages) whose value is usually selected by users from a set of options, such as a drop-down list, a set of option buttons, or a set of check boxes.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public abstract class BaseChoiceField : BaseFieldControl

Use this class as a base class for deriving controls to render specific types of choice fields on forms (but not on list views).

Objects of the BaseChoiceField type are primarily used as the value of the SPField.FieldRenderingControl property.

A control derived from the BaseChoiceField type can also have a text box in which the user can type a custom value.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.