Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default for checking field lenghts in rules
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Vista
Divers
Thread ID:
01231814
Message ID:
01232156
Vues:
23
Craig,

>I am getting an error when field sizes are too large - should I be managing this in the business rule or in the UI?
>
>the error I am getting is:
>The value violates the MaxLength limit of this column.
>
>which is happening lower in the framework - i.e. circumnventing the business rule check for field length that I

You can put the check in the business rules, but by default, MM .NET sets the MaxLength on UI controls in both the web and Windows forms. At what point are you getting this error?

Best 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform