locked
Autocomplete Combobox in Windows Mobile - how to implement? RRS feed

  • Question

  • Hello,

    Does anyone have any recommendations on how to implement an Autocomplete combobox in Windows Mobile?  In my searching, I was brought to the following link:  

    http://social.msdn.microsoft.com/Forums/en-US/c3501bd0-e02c-4140-bf1a-d9fe3cb7e351/how-to-make-autocomplete-on-combobox-windows-mobile-?forum=windowsmobiledev

    However, that solution simply doesn't work.  The for loop doesn't work and a runtime error occurs on the box.items[num] line due to the fact that num is -1.  Does anyone have any other alternatives?

    Thanks!

    Wednesday, April 2, 2014 11:12 PM

Answers

All replies

  • Hi CCGPlayer,

    Welcome to msdn forum.

    Here is a sample:

    #Autocomplete ComboBox (Windows Mobile)

    http://www.c-sharpcorner.com/uploadfile/vimal_sttl/autocomplete-combobox-windows-mobile/

    Hope this helps you.

    Best Regards,

    Eileen


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, April 3, 2014 7:39 AM
  • Hi Eileen,

    Unfortunately that is the exact code I provided in my original link, but just on a different site.  The for loop isn't properly set and it'll hit a null reference exception due to variable num that equals -1 in the beginning.

    Thursday, April 3, 2014 4:38 PM
  • Hi,

    Please try the code from this blog. You can directly download and run sample.

    http://dalelane.co.uk/blog/?p=166

    Please let me know if it does not work.


    -Malleswar

    • Marked as answer by Eileen ni Thursday, April 17, 2014 1:30 AM
    Wednesday, April 9, 2014 11:45 AM