>Steve,
>
>>Is there a preferred way inside the framework to display broken business rules in a web app?
>
>There is...if you check out the Dev Guide section "Integrating Business Objects with a Web Form", it shows that you can call the web form's Save() method like this:
>
>
private void btnSave_Click(object sender, System.EventArgs e)
>{
> // Retrieve the original DataSet from the Session variable
> DataSet dsOrder = (DataSet)Session["dsOrder"];
>
> // Call the Web Form's Save method, passing the business object and the original data.
> // The business object raises a Saving event and all bound Web controls
> // bind their data back into the DataSet
> if (this.Save(this.oOrder, dsOrder, this.oOrder.TableName) ==
> mmSaveDataResult.RulesPassed)
> {
> Response.Redirect("CustomerOrders.aspx");
> }
>}
>
>If there are any broken rules, these are automatically displayed for you. You can also call the mmBusinessWebPage's DisplayBrokenRules() method directly.
>
>Regards,
Is there any way to get control over the display of the broken rules? I believe what you are referring to displays the broken rule next to the control on the web form. I would like to be able to display all of the broken rules in some type of summary format either on the same page or on a separate page.