How to load suggestions dynamically, while user typing text

63 Views Asked by At

I'm trying to achieve the following result: I intend using TokenEdit from Devexpress. The goal is to make suggestions of available tokens while user is typing. The available tokens are stored in Db.

So, I have at least two issues.

The first one: I intend to handle KeyDown event. Count 3 letters and to make query to Db. Is my approach good or are there other more efficient approaches?

The second one: I can't get typing text in the KeyDown event. For instance, the EditValue and EditText properties contain already validated and accepted tokens. How can I get the typed text?

0

There are 0 best solutions below