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
1960
Load data on demand - how?
posted

Hello,

I want to use the WebCombo to implement the autocomplete feature. The list of possible values is huge (millions of words), so I can only load a small set of data while the user types the data in the combobox.

The logic to build the DataSet to be displayed is custom, which means I have to pass the search string and the max number of elements to return and my logic returns a DataSet containing words starting with the search string. I guess the webcombo has to make an out of band call to the server so that my logic runs, a new DataSet is generated and the list is updated on the client.

Can you show me an example on how to do this?

 Thanks.