Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AddRequiredField Error provider
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00936642
Message ID:
00938293
Views:
30
Nick,

>1. I tried that, didn't work. The scenario is the same as before. Now I have the icon sitting next to the region field, even it has value in it and nothing next to the country field which is the required one and the one with the problem.
>2. I thought that the rule should be applied to the current record, because this is the record being changed, therefore - being checked.
>3. What if I want to implement just required fields in the constructor and not to override CheckRulesHook.
>Correct me if I am wrong, when I use AddRequiredField method to add fields as required, and save method fires, there should be a check in the save method for the required fields. How can I trace that?

My apologies...I answered too quickly! As it turns out there is an "issue" in the current version with the logic that checks required fields. I've fixed the problem and it will be in the next MM .NET release (with your name on it <s>). For now, you can simply create business rules that manually check for required fields and it works fine.

Regarding stepping through the code, the business rule object's CheckRequiredFields() method is called from the CheckRules() method.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform