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

AutoCompleteBox why i cant databinding link to value

1 Answer 32 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Tanser
Top achievements
Rank 1
Tanser asked on 12 Feb 2014, 07:26 AM
Hi,

I'm developing an application similar to the Mail application. I used AutoCompleteBox for TO List and i want to store selected items values in db. But i didnt find Value field in Databinding Properties. How can store seleceted values in db and restore back?

Thank you.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 13 Feb 2014, 02:24 PM
Hi Tanser,

Thank you for contacting Telerik support.

There is no way to create such binding where the database will be automatically updated depending on the items in the autocompletebox. In this case you can use the AutoCompleteDataSource, AutoCompleteDisplayMember and AutoCompleteValueMember properties to set the auto complete items (they will be available in the drop down). Then you can subscribe to the CollectionChanged event of the Items collection and make the appropriate changes to the database there.

I hope this information helps. Should you have any other questions, I will be glad to assist you.

Regards,
Dimitar
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

Tags
AutoCompleteBox
Asked by
Tanser
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or