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

ASPxClientTokenBox.GetText Method

Gets the token texts, separated with a sign, specified by the ASPxTokenBox.TextSeparator property.

Declaration

GetText(): string

Returns

Type Description
string

A string value consisting of token texts separated by a text separator.

Remarks

Use the GetText property to get a string containing editor token texts, separated with a sign specified by the ASPxTokenBox.TextSeparator property.

To set the token text, use the ASPxClientTokenBox.SetText method.

Note

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

Examples

ASPxTokenBox_SetGetText

//this code results in an image above
myToken.SetText('naomi.moreno@example.net;heidi.lopez@example.net;jessie.she@example.net');

//now the GetText() method returns the initial string
See Also