Why Csla object validation rules not fire Silverlight ValidationSummary control?

Why Csla object validation rules not fire Silverlight ValidationSummary control?

Old forum URL: forums.lhotka.net/forums/t/10158.aspx


ddredstar posted on Friday, March 11, 2011

When break business rules, like Required, i want to fire ValidationSummany control on page to notify user, but it seems that Csla not compatible with ValidationSummary control. please help me.

i know System.ComponentModel.DataAnnotations validation work well.

RockfordLhotka replied on Friday, March 11, 2011

CSLA supports the standard .NET IDataErrorInfo and INotifyDataErrorInfo (on Silverlight) interfaces for validation notification.

If the ValidationSummary doesn't honor these standard Microsoft validation interfaces, there's not a lot CSLA can do to solve that problem.

ajj3085 replied on Friday, March 11, 2011

Are you setting ValidatesOnNotifyDataErrors in your bindings?

ddredstar replied on Thursday, March 24, 2011

I tried set ValidatesOnNotifyDataErrors=True ,still not work

Copyright (c) Marimer LLC