A newer version of this page is available. Switch to the current version.

BootstrapClientTagBox.RemoveTagByText(text) Method

Removes a tag specified by its text from the tag box on the client.

Declaration

RemoveTagByText(text: string): void

Parameters

Name Type Description
text string

A string value that is the text of the tag to be removed.

Remarks

Use the RemoveTagByText method to remove a tag with the specified text from the tag collection (BootstrapTagBox.Tags). You can remove a tag specified by its index using the BootstrapClientTagBox.RemoveTag method. To add a tag to the end of the control's tag collection, use the BootstrapClientTagBox.AddTag method.

See Also