View not being updated from MVVM

1 reply. Last post: October 14, 2012 11:56 PM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

I am using your ClientUI2010_Samples sample app.

I have amended this line  

this._name = value

to 

this._name = value.ToUpper();


public string Name 
		{
			get { return this._name; }
			set 
			{
				if (this._name != value)
				{
					this._name = value.ToUpper(); <<<<-----???????
					this.ClearError("Name");
					this.OnPropertyChanged("Name");
				}
			}
		}

The Name propery is updated correctly but the View is not updated after tabbing off the field.If I save and return then the Name is in UpperCase.  Can you please explain why the view is   not being udpated.


All times are GMT -5. The time now is 9:20 AM.
Previous Next