Page 1 of 1

WebViewerFx - Errors aren't raised to user - just blank

Posted: Tue Sep 01, 2015 2:47 am
by james.crossley
Have been using the WebViewerFx for some time in our application.

I'm looking for a way to notify users errors when the following occurs;
a. there's a server-side error when creating the report
b. there's a time-out if a report takes too long to create on the server

When either a. or b. occurs, nothing is displayed in the viewer to indicate something is wrong which is frustrating.

I can't see any way of catching these errors and showing a meaningful message(s).

At the minimum, it would be useful for the WebViewerFx component to display an error:

"An server error has occurred when generating the report"
or;
"A time-out has occurred when generating the report"

Is this possible?

Thanks
James

Re: WebViewerFx - Errors aren't raised to user - just blank

Posted: Tue Sep 01, 2015 11:26 am
by HighAley
Hello, James.

To find out if there any error while the report is rendered you could use Render() method.
Before passing the report to WebViewerFx you could Render() the report and catch any exception. Then report will not render again by the Viewer.

What version of our product do you use? We had added timeout error message to the Viewer.

Thank you.

Re: WebViewerFx - Errors aren't raised to user - just blank

Posted: Tue Sep 01, 2015 5:17 pm
by james.crossley
Hi Aleksey

Thanks for the suggestion for using Render(). I'll look into it.

The version we're currently using is 2014.1.1900.0.

Thanks
James

Re: WebViewerFx - Errors aren't raised to user - just blank

Posted: Wed Sep 02, 2015 9:36 am
by HighAley
Hello.

Please, try our latest build. There will appear a error message at timeout.

Let us know if you need any additional help.

Thank you.

Re: WebViewerFx - Errors aren't raised to user - just blank

Posted: Wed Sep 02, 2015 9:39 am
by james.crossley
Hi Aleksey

I will try it.
Thanks very much for your help.

James

Re: WebViewerFx - Errors aren't raised to user - just blank

Posted: Wed Sep 02, 2015 10:38 am
by HighAley
Hello, James.

We are always glad to help.
Let us know if you need any additional help.

Thank you.