Adding Broken Rules for a Custom Property

Author Message
 Posted 4/25/2008 3:34:46 AM
StrataFrame Developer

StrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame Developer

Group: StrataFrame Developers
Last Login: 11/6/2019 9:10:28 AM
Posts: 6,610, Visits: 6,775
There have been several posts asking about how to create and show a broken rule for a custom field property on a business object.  This sample uses the StrataFrameSample database and adds a custom field property and rules that must be applied to that custom field property.  It also shows how to properly add a BrokenRule for a custom property so that all of the error provider logic will appear.

 CustomFieldBrokenRules.zip (212 views, 131.33 KB)
Post #15885
Add to Twitter Add to Facebook
 Posted 4/29/2008 5:06:09 AM
StrataFrame Developer

StrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame Developer

Group: StrataFrame Developers
Last Login: 11/6/2019 9:10:28 AM
Posts: 6,610, Visits: 6,775
Updated version that includes 3 projects:

  • Winforms Project
  • Business Class Library
  • Web Application

There was some confusion as to how to make this work on a web form, which really there isn't any additional logic within the BO that is required...so I added a Web Application so that you could see how it gets plumbed in.  Hope this helps. Smile

 CustomFieldBrokenRules.zip (205 views, 283.44 KB)

Post #15985
Add to Twitter Add to Facebook

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.