how to show broken validations in Messagebox

how to show broken validations in Messagebox

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


hyaqoob posted on Monday, April 14, 2008

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

sergeyb replied on Monday, April 14, 2008

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

cid:_2_0648EA840648E85C001BBCB886257279
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