Class ObjectSelector
- Namespace
- Kentico.Components.Web.Mvc.FormComponents
- Assembly
- Kentico.Content.Web.Mvc.dll
Represents an object selector form component.
public class ObjectSelector : ObjectSelectorComponentBase<ObjectSelectorProperties, ObjectSelectorItem>
- Inheritance
-
objectObjectSelector
- Inherited Members
- Extension Methods
Fields
IDENTIFIER
Represents the ObjectSelector identifier.
public const string IDENTIFIER = "Kentico.ObjectSelector"
Field Value
- string
Methods
GetItemsEndpointUrl()
Gets the endpoint URL that provides data for the selector component.
public override string GetItemsEndpointUrl()
Returns
- string
GetSelectedListItemsAsync()
Returns selected objects as list items.
public override Task<IEnumerable<SelectListItem>> GetSelectedListItemsAsync()
Returns
- Task<IEnumerable<SelectListItem>>