Hi there!
I've builded a small sample to demonstrate the issue I've found.
From a page, you click on a button to show a report, which is on another page (it has only the viewer and a back button).
You clik back and return to the previous page. Then you click again the button to show the report. App crashes with the message
"A method was called at an unexpected time.\r\n\r\nOnly one handler for the PrintTaskRequested event may be registered at a time."
Best regards
Aline
Navigation
Re: Navigation
Hello.
Sorry, but we couldn't find any sample.
Thank you.
Sorry, but we couldn't find any sample.
Thank you.
Re: Navigation
Hi!
Sorry, my mistake!
Here it goes!
Aline
Sorry, my mistake!
Here it goes!
Aline
- Attachments
-
- STNavigate.zip
- (10.84 MiB) Downloaded 351 times
Re: Navigation
Hello.
When you click on the back button you should call Dispose() method, then there will be no error.
Thank you.
When you click on the back button you should call Dispose() method, then there will be no error.
Code: Select all
reportViewer.Dispose();
Re: Navigation
Hello Aleksey!
It worked, thank you!
Aline Almeida
It worked, thank you!
Aline Almeida
Re: Navigation
Hello.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.