Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default for checking field lenghts in rules
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Vista
Miscellaneous
Thread ID:
01231814
Message ID:
01232156
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform