Is there anyway to populate the list of items dynamically?
We want to make a web service call to get the list of items depending on what the user started typing (say after 2 or more characters have been typed), but I couldn't find any obvious way of doing that. Prepopulating the entire list is not an option since it contains thousands of items.
The closest thing I could find was the DropDownOpening event but I'm not sure that will work with a web service call. Besides, there doesn't seem to be a way of getting hold of the text that the user type either.
The AutoCompleteBox in Microsoft's Toolkit has a Populating event that you can hook into. Would be nice to have something similar in xamWebComboEditor.
Hi Milena
I'm just revisiting this. Sounds good that it can handle large sets of data. Unfortunately we're talking massive amounts of data in our case. Your sample contains 5000 items, we have almost 1 million items in our list.
I'll do some benchmarks on it. I have a feeling that preloading all of that will cause a problem though.
Would be great if you could consider adding some way of intercepting the populating in a future release.
Thanks
Hi bergefall,
There is no way to get the text that user types.You can load all items from web service in xamWebComboEditor because editor shows large data fast. This could be viewed here
http://labs.infragistics.com/silverlight/lobsamples/2010.1/ -> xamWebComboEditor -> Displaying A Large Number Of Items
You can use build-in default filtering StartsWith instead of filtering on character pressed.
Best regards,Milena MitovaSoftware Engineer in Test INetAdvantage for Silverlight LoB