Adding Broken Rules for a Custom Property
 
Home My Account Forum Try It! Buy It!
About Contact Us Site Map
StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      


Adding Broken Rules for a Custom PropertyExpand / Collapse
Author
Message
Posted 04/25/2008 9:34:46 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 3:24:00 PM
Posts: 3,733, Visits: 3,926
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.

  Post Attachments 
CustomFieldBrokenRules.zip (12 views, 131.33 KB)
Post #15885
Posted 04/29/2008 11:06:09 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 3:24:00 PM
Posts: 3,733, Visits: 3,926
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.

  Post Attachments 
CustomFieldBrokenRules.zip (5 views, 283.44 KB)

Post #15985
« Prev Topic | Next Topic »

Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 3:35am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.063. 11 queries. Compression Enabled.
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.