You have a couple of options. If you want to customize the
message, you can run through ValidationRules.GetBrokenRules collection.
You can also just cast the object to IDataErrorInfo and look at the Error
property.
Sergey Barskiy
Senior Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: hyaqoob
[mailto:cslanet@lhotka.net]
Sent: Monday, April 14, 2008 8:07 AM
To: Sergey Barskiy
Subject: [CSLA .NET] how to show broken validations in Messagebox
I want to show broken validation in messagebox instead of
showing that broken validation on grid column kindly help me out. I have no too
much CSLA.NET knowledge but want to use it in my application.
Thanks
Copyright (c) Marimer LLC