Propriedade LocalReport.ShowDetailedSubreportMessages
Gets or sets a Boolean value that indicates whether detailed messages should be displayed when an error occurs in a subreport.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)
Sintaxe
'Declaração
Public Property ShowDetailedSubreportMessages As Boolean
public bool ShowDetailedSubreportMessages { get; set; }
public:
property bool ShowDetailedSubreportMessages {
bool get ();
void set (bool value);
}
member ShowDetailedSubreportMessages : bool with get, set
function get ShowDetailedSubreportMessages () : boolean
function set ShowDetailedSubreportMessages (value : boolean)
Valor de propriedade
Tipo: Boolean
true if detailed messages should be displayed; otherwise, false. The default is true.
Comentários
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.
Observação |
---|
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.