ArgumentException when calling InvokeToolEditorEnable

Stimulsoft Reports.WPF discussion
Post Reply
ScottStoneback
Posts: 18
Joined: Tue Jan 12, 2016 11:13 pm

ArgumentException when calling InvokeToolEditorEnable

Post 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 2639 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: ArgumentException when calling InvokeToolEditorEnable

Post by Alex K. »

Hello,

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

Thank you.
unlockedluca
Posts: 3
Joined: Mon May 14, 2018 11:32 am

Re: ArgumentException when calling InvokeToolEditorEnable

Post by unlockedluca »

I'm expiriencing the same issue
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: ArgumentException when calling InvokeToolEditorEnable

Post by Lech Kulikowski »

Hello,

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

Thank you.
Post Reply