Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Localization and BrokenRulesProvider
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Localization and BrokenRulesProvider
Divers
Thread ID:
00931053
Message ID:
00931053
Vues:
65
Hi All,
I have added a broken rules object to by Business Object.
In the code I added error messages via the AddErrorProviderBrokenRule
This item receives two parameters, one being the column name and the other being the message.

I do not want the message to have the column name displayed, I just want the message displayed, how can I turn this off.

Also how do I call the localization in code to get the message localized.
How do I do it in the example below.
	Message = "The Company User ID already exists in the database please select another Company User ID";
	this.AddErrorProviderBrokenRule("CompanyUserID",Message);
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform