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.

Parents
  • 28464
    posted

    I believe a good place to start is the online samples framework located here:

    http://samples.infragistics.com/2008.2/webfeaturebrowser/default.htm

    and then navigating to the Ajax -> WebCombo examples. There are 6 examples demonstrating autocomplete with Ajax with full source code - hopefully they will help you get started with the product. 

     

Reply Children