AutoCompleteBox why i cant databinding link to value

2 posts, 0 answers
  1. Tanser
    Tanser avatar
    10 posts
    Member since:
    Nov 2013

    Posted 12 Feb 2014 Link to this post


    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.
  2. Dimitar
    Dimitar avatar
    2983 posts

    Posted 13 Feb 2014 Link to this post

    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.


    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).

Back to Top