No errorProvider unless rule severity = Error??

No errorProvider unless rule severity = Error??

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


barryfz posted on Wednesday, December 10, 2008

I am using csla3.6.  I had never used the rules severity level in past versions but I have a need for it now. The problem is in my winform, the errorProvider does not show unless the severity is error. Is there a way to always have error provider show if there is a rule broken?  Is there another errorProvider type control out there?

ajj3085 replied on Wednesday, December 10, 2008

Yes, there's another control you can use with Csla instead of the ErrorProvider.  It's on the Cslacontrib site.

rsbaker0 replied on Wednesday, December 10, 2008

Just as an aside, the DevExpress controls suite supports an enhanced data error info interface (very easy to map/translate from the CSLA broken rules), so this is another bonus for moving to DevExpress if you had considered going that route. If you implement the interface, then you get Information, Warning, and Error indicators throughout the control suite (grid, forms, etc).

RockfordLhotka replied on Thursday, December 11, 2008

Also, CSLA .NET 3.6 includes the PropertyStatus control for WPF and Silverlight, which understands severities and also understands property-level authorization rules.

Copyright (c) Marimer LLC