Hi all,
I'm using one view model and two views. both views containg a text box which binds to same value in the view model. My problem is that, If I changed tat value in one view, its not getting updated in another view? Y is it so? what mistake I have done?
Mvvm
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Feb 22, 2011, 11:26 AM EST
Possible missings:
Are you inheriting the INotifyChanged like this
public class YourViewModel : INotifyPropertyChanged Are you raising the method like this public string YourProperty { get { return this._YourProperty; } set { this._YourProperty = value; NotifyPropertyChanged("YourProperty"); } } Are you settnig the Binding Mode as TwoWay ?. If you feel this helped you please make this as ANSWERMythi Viswa6 reputationPosted Feb 22, 2011, 6:08 PM EST