ASPxTokenBox Overview
- 2 minutes to read
The ASPxTokenBox editor provides the ability to autocomplete tokens from a predefined list. When the token box is focused, the drop-down window displays a list of predefined items. End-users can select tokens from a drop-down, or type them manually. Additionally, end-users can provide custom tokens. Note that editor tokens must be unique.
To remove a token, an end-user can use either the Remove button or the BACKSPACE key.
ASPxTokenBox provides the following features.
Data-Bound and Unbound Mode Support
Editor items can be generated dynamically by binding the editor to a data source, as well by populating the control’s item collection manually.
Incremental Filtering
You can enable your end-users to filter list items dynamically, based on the text typed into the editor’s input area on the client side (“find-as-you-type” filtering).
Custom Tokens
You can restrict the tokens available to an item collection, or allow an end-user to provide custom tokens.
Support for Embedding Tokens into ASPxGridView and ASPxTreeList Controls (See online demo)
You can use the ASPxTokenBox for editing column values in the ASPxGridView and ASPxTreeList controls.
Full-Featured Client-Side API
ASPxTokenBox provides a comprehensive client-side API. This API is implemented using JavaScript and is exposed via the ASPxClientTokenBox object. The ASPxClientTokenBox object serves as the client-side equivalent of the ASPxTokenBox control.