hI,
I am working in wpf - mvvm model.
I have a textbox which holds- "marketName". In xaml I am binding the property - "newmarketname"(which is defined in my viewmodel) to this textbox. Once if user enter a new market name in that text box, the "set" method of the "newmarketname" get called.
In set method of the "newmarketname", I call the PropertyChanged event.
And the property changed handler will call a fucntion, in which I check f the market name is already existing..if "yes"...i will assign string.Empty to the property "newmarketname". So the set method of "newmarketname" again get called followed by PropertyChanged event.
But issue is...even though the value of "newmarketname" is getting changed to empty, it is not getting reflected in UI.
Whats the issue ???