WPF and WinForms version in same application

Stimulsoft Reports.NET discussion
Post Reply
ChristianMyksvoll
Posts: 18
Joined: Thu Sep 22, 2011 8:42 am
Location: Norway

WPF and WinForms version in same application

Post by ChristianMyksvoll »

Hi.
I am using the WinForms version and the WPF version of Stimulsoft Reports in the same application, and I have discovered a problem with this related to CheckedListBox in report forms...

I have created a simple Visual Studio solution to demonstrate the problem (attached). This example program includes two reports:
1) A simple report only containing a text
2) A report with a form. The form includes a CheckedListBox control.

If I first open report 1 with the WPF viewer, and then a report 2 with the WinForms viewer i get the following error:
"Control 'StiCheckedListBoxControl' is not supported in WPF forms!"

If I don't open a report in the WPF viewer first, report 2 opens nicely in the WinForms viewer.

Is this a known issue and is there a workaround?
Attachments
StimulsoftWinformsWPF.zip
Solution with two reports using WPF and WinForms
(11.49 KiB) Downloaded 211 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: WPF and WinForms version in same application

Post by HighAley »

Hello.

We have reproduced the issue.
We are working on the improvement.
We will let you know when it will be available.

Thank you.
ChristianMyksvoll
Posts: 18
Joined: Thu Sep 22, 2011 8:42 am
Location: Norway

Re: WPF and WinForms version in same application

Post by ChristianMyksvoll »

Does that mean we need to upgrade to the newest version when a fix is available or is there a workaround?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: WPF and WinForms version in same application

Post by HighAley »

Hello.

We have already fixed the issue. The patch will be available in our next prerelease build.
The build will be available on our site later today.

Thank you.
Post Reply