Y
Yoni Goldberg
Hi,
My requirements are: to have a combo box with type ahead (auto-complete)
functionality where the possible values are coming from a web service.
I tried to achieve this by putting a text box and a list controls, the list
control is bounded to the WS and being filtered by the text box value, so
that when the user is typing a letter, the list control options are being
minimized only to values starting with that letter.
This works very slowly, every typed letter is making the GUI freeze for few
seconds (the WS is being called only upon the form load, so there isn't a
call to the WS for each letter).
Questions:
1. Is there a reasonable way to fix this slowness? Does InfoPath use the
same thread both for GUI and for the event processing (such as control
filtering)?
2. Should I develop a custom control for that? Do you recommend doing that
using C# or as direct active-x component (using VB6 for example)?
3. Is there any decent third party control doing that?
Thanks,
Yoni
My requirements are: to have a combo box with type ahead (auto-complete)
functionality where the possible values are coming from a web service.
I tried to achieve this by putting a text box and a list controls, the list
control is bounded to the WS and being filtered by the text box value, so
that when the user is typing a letter, the list control options are being
minimized only to values starting with that letter.
This works very slowly, every typed letter is making the GUI freeze for few
seconds (the WS is being called only upon the form load, so there isn't a
call to the WS for each letter).
Questions:
1. Is there a reasonable way to fix this slowness? Does InfoPath use the
same thread both for GUI and for the event processing (such as control
filtering)?
2. Should I develop a custom control for that? Do you recommend doing that
using C# or as direct active-x component (using VB6 for example)?
3. Is there any decent third party control doing that?
Thanks,
Yoni