Oct 24, 2010

Silverlight TextBox Databinding not triggering

In Silverlight, the data binding of textbox gets triggered only when the controls loses focus. Trying to handle this using TextChanged doesn't help either.

If you do design/dev with Silverlight, the chances are you have seen this issue at least once.

The simplest solution i have seen is to use behaviors. Check the link below for the solution.

Binding update on TextBox.TextChanged event using Behaviors | Zoltan's .NET Blog

No comments:

Post a Comment