Silverlight4 disable textbox required validation when form loads with initial value (null)
Posted
by Jay
on Stack Overflow
See other posts from Stack Overflow
or by Jay
Published on 2010-03-31T15:29:38Z
Indexed on
2010/03/31
15:33 UTC
Read the original article
Hit count: 588
silverlight-4.0
|validation
I am trying to implement validation using IDataErrorInfo or INotifyDataErrorInfo but either way I am struggling to make it work only once user start entering data or clicking save button. Since I am using MVVM, I am setting my view's datacontext to ViewModel and my ViewModel is implementing IDataErrorInfo / INotifyDataErrorInfo. I need to make sure validation happens but not when form loads up. Anyone has got any suggestion how I can implement?
Thanks
© Stack Overflow or respective owner