LocalReport.ShowDetailedSubreportMessages Property
Gets or sets a boolean value that indicates whether detailed messages should be displayed when an error occurs in a subreport.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
public bool ShowDetailedSubreportMessages { get; set; }
public:
property bool ShowDetailedSubreportMessages {
bool get();
void set(bool value);
}
member ShowDetailedSubreportMessages : bool with get, set
Public Property ShowDetailedSubreportMessages As Boolean
Property Value
Type: System.Boolean
true if detailed messages should be displayed; otherwise, false. The default is true.
Remarks
This property is useful for debugging subreport errors. If it is set to false, the generic message "An error occurred during subreport processing" is displayed.
Note
Errors in subreport processing do not affect whether the main report is processed successfully. You can still view and interact with the main report, such as exporting and printing it.
Changing this property causes the report definition to be updated and the report to be reprocessed.
See Also
LocalReport Class
Microsoft.Reporting.WinForms Namespace
Return to top