Adding Broken Rules for a Custom Property


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.
Attachments
CustomFieldBrokenRules.zip (471 views, 131.00 KB)
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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

Attachments
CustomFieldBrokenRules.zip (473 views, 283.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search