Edit this page

Getting Started

RELATED VIDEOS
Getting Started with RadAutoCompleteBox for WinForms
RadAutoCompleteBox allows the end-user to easily fill-in text thanks to auto-complete functionality and tokens of text. This behavior is similar to the “To” field of Outlook and Facebook where you are filling-in the recipients to which you are going to send a new message.
editors-autocompletebox-getting-started 004

The RadAutoCompleteBox allows your users to select multiple items from a predefined list, using auto completion as they type. You may have seen a similar type of text entry when filling in the recipient’s field, while sending messages on Facebook. RadAutoCompleteBox inherits all features of RadTextBoxControl.

Each tokenized text block is separated by character, specified by the Delimiter property. You can change the Delimiter at any time.

The code below sets text in the control at run time:

private void SetText()
{
    this.radAutoCompleteBox1.Text = "Germany;USA;Brazil;Bulgaria;Croatia;Serbia;";
}

Private Sub SetText()
    Me.RadAutoCompleteBox1.Text = "Germany;USA;Brazil;Bulgaria;Croatia;Serbia;"
End Sub

Figure 1: Set the text of RadAutoCompleteBox.

editors-autocompletebox-getting-started 001

You can determine the visibility of the remove button by changing the ShowRemoveButton property:

this.radAutoCompleteBox1.ShowRemoveButton = false;

Me.RadAutoCompleteBox1.ShowRemoveButton = False

Figure 2: The Tokenized items are not showing the close button.

editors-autocompletebox-getting-started 002

See Also