Search code examples
asp.net-ajaxautocompleteajaxcontroltoolkit

ASP.NET AJAX Toolkit: AutocompleteExtender: How to add suffix character to a selection?


I would like to add the delimiter after the selection after it is selected.

Say, if I select "beautiful", then it will add "beautiful; " into the textbox.


Solution

  • I have got an answer from the ASP.NET forum:

    you can fire the Text change event of the Textbox where you can add the Delimiter to the Textbox. like this and in code file txtAutoComplete.Text = txtAutoComplete.Text + ";";

    The post on the forum