This is a migrated thread and some comments may be shown as answers.

Have LoadOnDemand box refresh every time

1 Answer 39 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 1
Max asked on 14 Jun 2016, 03:12 PM
Hello, I want a combobox to completely refresh the list of items it's getting from a web service every time a user opens the dropdown. Other fields on the page get sent as argument for the web service method and so when the dropdown is opened a second time it may be the case that it has a completely different set of results.

1 Answer, 1 is accepted

Sort by
0
Max
Top achievements
Rank 1
answered on 16 Jun 2016, 09:28 PM
In case anyone was wondering, I solved this by just adding an OnClientBlur function to the combobox that just calls sender.clearItems()
Tags
ComboBox
Asked by
Max
Top achievements
Rank 1
Answers by
Max
Top achievements
Rank 1
Share this question
or