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:
01232501
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform