Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error icon not displaying for broken bizrules
Message
From
19/12/2008 10:31:20
Tegron Tegron
Platinum Technologies
Ohio, United States
 
 
To
15/12/2008 09:04:43
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01366817
Message ID:
01368833
Views:
7
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);
}
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform