.net - WP7 AutoCompleteBox going crazy -


good morning all,

i’m wondering, since last wp7 sdk update there’s new autocompletebox included in ns: microsoft.phone.controls. using system.windows.controls.autocompletebox, , saw new 1 told myself “hey! phone oriented autocompletebox ! let’s replace oldy one”. thing that, buggy… doesn’t seem work @ all, when click on it, type letter autocompletion, choose value text property gets filled alright but keyboard never goes off (either after taping elsewhere or switching screen)…. has big flaw… textchanged event never triggered… either there’s wrong in update, or emulator going nut.

did run already? if not, suggestions anyway?

thanks in advance, cheers

miloud b.

the november update silverlight toolkit windows phone first time "official" autocompletebox has been made avaialble phone.

the sample on codeplex works fine me.

can confirm versions using.
also, how , why wiring textchanged event handler?

this how did it:

xaml:

<toolkit:autocompletebox verticalalignment="top" itemssource="{staticresource words}" margin="0,12" textchanged="autocompletebox_textchanged" /> 

code:

    private void autocompletebox_textchanged(object sender, system.windows.routedeventargs e)     {         // arbitrary use of messagebox confirm getting value entered         messagebox.show(((autocompletebox)(sender)).text);     } 

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -