Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error icon not displaying for broken bizrules
Message
De
19/12/2008 10:31:20
Tegron Tegron
Platinum Technologies
Ohio, États-Unis
 
 
À
15/12/2008 09:04:43
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01366817
Message ID:
01368833
Vues:
8
I am using the form method. The only way I get the rules is from the GetAllBrokenRules collection. I had to move on to other areas of the project. From the documentation the errorprovider way of error reporting should be enabled by default. I have more than adequate space after my controls so that shouldn't be the problem. I am using the most recent version of MM.Net (the hotfix version). I was going to try setting the errorprovider properties in each business object next just to rule that out.

if (this.Save(this.request, dsRequest, this.request.TableName) == mmSaveDataResult.RulesPassed)
{
this.ClearSessionState();
Response.Redirect("/Guardians/SearchGuardians.aspx");
}
else
{
//Preserve the current GuardianID and Request DataSet
Session["guardianID"] = guardianID;
Session["dsRequest"] = this.request.DataSet;

//Get Broken Rules
string BrokenRulesMsg = this.request.Rules.GetAllBrokenRules();
string WarningsMsg = this.request.Rules.GetAllWarnings();

//Display Broken Rules
MessageDisplay.DisplayMessage("Broken Rules", BrokenRulesMsg, "/Requests/MaintainRequest.aspx", 7);
}
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform