Skip to content

AnnaGubareva/how-to-handle-server-side-errors-in-web-reporting-controls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to handle server-side errors in web reporting controls

This example demonstrates how to process errors that occur on web reporting controls' server side.

These classes expose the following methods:

This example contains several report layouts and emulates exceptions that can be raised when you work with reporting controls.

The following table lists errors from this example and methods used to process these errors.

Sample Error Exception Type Processing Method
Broken Report Layout XmlException GetUnknownExceptionMessage
File Not Found FileNotFoundException GetUnknownExceptionMessage
Standard Exception on BeforePrint NotImplementedException GetDocumentCreationExceptionMessage
Custom Exception on BeforePrint MyCustomException (descendant from Exception) GetDocumentCreationExceptionMessage
Invalid Report URL (Designer) FaultException GetFaultExceptionMessage
Custom Document Operation (Viewer) FaultException GetFaultExceptionMessage

Note

This examples targets the ASP.NET WebForms platform, but you can use the shown exception handler implementations in ASP.NET MVC applications.

About

.NET, Web, XtraReports Suite

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published