General information
Category:
The Mere Mortals .NET Framework
Environment versions
Network:
Windows 2003 Server
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only