Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Localize 'RequiredFieldMessageSuffix'
Message
 
À
01/06/2006 03:10:59
Ralph Rutschmann
Anwendungsentwicklung
Stuttgart, Allemagne
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01123808
Message ID:
01126965
Vues:
17
Ralph,

>thank you Kevin, but have you tried it? I did as advised, unfortunately with no success. The row is in the 'Message' table and the second ' is required' becomes translated as expected after using the 'Localize Messages' button. At least the row in the table. But the displayed message on screen remains the same, no matter what I'm doing.

You're right...my mistake! I have made a change to MM .NET that addresses this problem (and I give you credit in the What's New Guide). For now, you can get around it by placing the following code in the constructor of your ABusinessRule class:
this.RequiredFieldMessageSuffix = " is required";
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