Vibrant discussion about CSLA .NET and using the framework to build great business applications.
Hi, I'm trying to check the rules on my BO and do something when the validation is complete.
On the BO I have a Required rule on a property and an async ObjectRule on the BO itself. Since one of the rules is async, I have to register on the BO.ValidationComplete event in my ViewModel so I can do something when it's done.
And of course, in the continuation callback of my async rule I call context.Complete().
But the event is never raised. Is there something I'm missing, or have I misunderstood the purpose of this event?
Nevermind, I found the problem: I was cloning the object AFTER registering the event!
Thanks anyways!