Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Autocomplete questions
posted

What is the best way to accomplish an intellisense/autocomplete capability using Infragistics text boxes in an n-tier client/server deployment?

Here is the scenario, the user begins to type into the textbox, however there is a potential for thousands of rows to be returned from the database. This could be a performance problem. One possible solution is to not return a dataset until a sufficient number of characters have been entered to return a managable resultset... that is my thinking, anyway.

Another suggestion was to simply truncate at some number, but I think that would be confusing to the user if he did not see his expected value in the dropdown.

 Also, is there an Infragistics control that at least gives some of the autocomplete capability out of the box?

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi,

        UltraCombo and UltraComboEditor both have built-in AutoComplete functionality.

        If yu want to use a TextBox and do this yourself, the my advice would be to use a Timer. What happens is that you re-start the time on each keystroke and then you don't actually perform the search until the timer expores. This way, the UI stays responsive if the user types a few keys, but the search takes place as soon as the user pauses for a bit.  

Children