This is a migrated thread and some comments may be shown as answers.

Autocomplete with no database

1 Answer 126 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Felice
Top achievements
Rank 1
Felice asked on 28 Mar 2014, 08:29 PM
Is there any demo for an autocomplete textbox without database  but with the possibility to add a list of  selected items and save those added by the users?
i would like to add this in a radgrid template form with a list of countries.

thanks,
Felice

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 02 Apr 2014, 11:34 AM
Hello Felice,

I would suggest you to set the DataSource to an empty string. In addition, you could use the EntriesCollection, in order to add the desired list of entries. I have prepared a sample page for you, demonstrating the suggested approach.

Note : Please keep in mind that the demonstrated approach should be implemented not later then the Page_Load event, since the control works upon callbacks, in order to request its underlying data source.

Regards,
Nencho
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
AutoCompleteBox
Asked by
Felice
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or