Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Rules and Default Values don't work!?
Message
 
À
25/05/2005 01:25:41
Dave Porter
Medical Systematics, Inc.
Merced, Californie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01016948
Message ID:
01017509
Vues:
21
What are your form properties for .DisplayErrorDialog and .DisplayErrorProvider?

Not 100% sure about this (too lazy to look at the help), but I think you need to have .DisplayErrorDialog set to true when your business rule uses this.AddBrokenRule. Similarly, if your form has .DisplayErrorProvider set to true, then your business rule class should be using this.AddErrorProviderBrokenRule.

Of course, I could be wrong.

Mike

Thought I'd read the help a little before I pressed "send" - check out the help topic "Displaying Broken Rules and Warnings in Windows Forms"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform