Type ahead combox box control - InfoPath Dev
in

InfoPath Dev

Type ahead combox box control

Last post 01-22-2009 03:41 AM by Yonatann. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-21-2009 05:41 AM

    Type ahead combox box control

    Normal 0 false false false EN-US X-NONE HE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

    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

  • 01-22-2009 03:41 AM In reply to

    Re: Type ahead combox box control

     Not looking for a complete answer, just a direction or tip. thanks.

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.