Page 1 of 1

ArgumentException when calling InvokeToolEditorEnable

Posted: Wed Jan 04, 2017 2:52 pm
by ScottStoneback
I'm running version 2016.1.10.0 of the viewer.

I'm trying to open a report directly in edit mode. I'm doing this by calling viewer.InvokeToolEditEnable() method inside the load event of my viewer window. When I do this, I'm getting the following exception.
exception
exception
Capture.PNG (8.96 KiB) Viewed 3683 times
If put a Thread.Sleep for 500ms prior to making that call, it often works but that seem wrong and dirty. Is there some kind of event I can handle that will be the correct time on when I can call it? Or is there a better way to open the report preview in edit mode?

Thanks,
Scott

Re: ArgumentException when calling InvokeToolEditorEnable

Posted: Thu Jan 05, 2017 3:59 pm
by Alex K.
Hello,

Please send us a simple project which reproduces the issue for analysis.

Thank you.

Re: ArgumentException when calling InvokeToolEditorEnable

Posted: Mon Jun 04, 2018 11:27 am
by unlockedluca
I'm expiriencing the same issue

Re: ArgumentException when calling InvokeToolEditorEnable

Posted: Mon Jun 04, 2018 8:30 pm
by Lech Kulikowski
Hello,

Please send us a simple project which reproduces the issue for analysis.

Thank you.