Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When are broken rules cleared
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
When are broken rules cleared
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01345258
Message ID:
01345258
Vues:
60
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform