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

Filter data from database

3 Answers 69 Views
AutocompleteBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marian
Top achievements
Rank 1
Marian asked on 07 Nov 2012, 11:46 PM
Hi,

in this forum post you wrote about support for third-party data sources, e.g. web services or databases. In the documentation I could find some stuff about web service support, but nothing about databases.

I assume that it's possible to write a custom database provider based on AutoCompleteProvider but I couldn't find any details. Could you give me some hints how to do that?

Thanks,
Marian

3 Answers, 1 is accepted

Sort by
0
Accepted
Deyan
Telerik team
answered on 08 Nov 2012, 07:45 AM
Hello Marian,

Thanks for writing and for your question.

RadAutoCompleteBox provides you with the ability to generate the filtered suggestions list by calling a remote service: be it a web service or a database. This is done by using the WebServiceAutoCompleteProvider which allows you to handle events when the input changes and return a custom filtered source. Please take a look at this help article which explains how this is done:

http://www.telerik.com/help/windows-phone/radautocompletebox-features-webservice.html

I hope this helps.

All the best,
Deyan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Marian
Top achievements
Rank 1
answered on 08 Nov 2012, 10:45 AM
Hi Deyan,

thanks for your quick reply. I've seen the documentation about WebServiceAutoCompleteProvider but I wasn't aware that it could also be used to access a (local) database in the same fashion. Maybe the documentation should be more clear about that.

Thanks,
Marian
0
Deyan
Telerik team
answered on 09 Nov 2012, 01:48 PM
Hello Marian,

Thanks for getting back to us and for your feedback.

Indeed, the documentation seems to be a bit misleading. We are going to look into it.

Let me know if you have further questions related to using RadAutoCompleteBox.

Kind regards,
Deyan
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
AutocompleteBox
Asked by
Marian
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Marian
Top achievements
Rank 1
Share this question
or