The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientTokenBox.AddToken(text) Method

Adds a new token with the specified text to the end of the control's token collection.

Declaration

AddToken(text: string): void

Parameters

Name Type Description
text string

A string value specifying the token's text.

Remarks

Use the AddToken method to add a token with the specified text to the end of the token collection. To remove a token by its text, use the ASPxClientTokenBox.RemoveTokenByText method.

Note

Tokens in a collection must be unique, so adding a token with text which is already contained in the collection, does nothing.

See Also