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:
01232501
Views:
19
Craig,

>I am not seeing the MaxLength set in the UI. All are set to the default 32767.
>
>If I set this manually everything works correctly.

The code that sets the MaxLength in a Windows Forms application is found in mmBindingStragetySimple.BindDate():
TxtControl.MaxLength = ds.Tables[tableName].Columns[fieldName].MaxLength;
I recommend setting a breakpoint in this code to see what's happening.

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
Reply
Map
View

Click here to load this message in the networking platform