Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When are broken rules cleared
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
When are broken rules cleared
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01345258
Message ID:
01345258
Views:
59
I have a form on which the fields are disabled except when the user clicks on the New button (mmButtonNew) or the Edit button. When the Save or Cancel buttons are clicked, the fields are again disabled. When there are broken rules, I want to leave the fields enabled so the user can correct any problems. I am checking this in the click method of the save button but by that point, the broken rules are cleared. Where do I need to put this code to make it work correctly? Thanks.

UPDATE: Never mind. I checked the mmBusinessObject.Rules.HasBrokenRules property and that hadn't been reset yet, so I can use it.
Linda Harmes
HiBit Technologies, Inc.
Reply
Map
View

Click here to load this message in the networking platform