Are you updating it on the right tread? Remember all UI elements need to be updated in the main thread.
On Fri, Nov 11, 2011 at 10:47 AM, Mittchel Van Vliet <[email protected]> wrote: > Hello everyone, > For my application I'm using an Entry element (MonoTouch.Dialog) which > allows the user to fill in a product name. > I am setting the value of this entry element in a property so I can get it > from a different class but I am facing a problem retrieving the value > outside the entry element. > It seems that when I am typing in and my focus is still on the entry element > and I press the Search button then the entry element is empty. But if I move > the focus into a different element then the value gets set I think with the > result that it works perfectly. > How am I able to fix this? because I know people are going to type in a > product name and hit search straightaway with the focus still on the entry > element. > I tried the Changed action of the EntryElement but that gets fired when the > focus is moved from the entry element and the value gets set, so that > doesn't quite work. > I hope someone can assist me with this problem! > Regards, > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > > -- Med Venlig Hilsen / With Best Regards Tomasz Cielecki http://ostebaronen.dk _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
