ConnectOnStart bug

Stimulsoft Reports.WPF discussion
koraykazgan
Posts: 16
Joined: Tue Feb 01, 2011 4:29 am
Location: Germany

ConnectOnStart bug

Post by koraykazgan »

Hi Stimulsoft,

we think, we have found a problem with the property "ConnectOnStart" of data sources in reports. In the sample provided, the "ConnectOnStart" property is checked. The result is, that the queries are executed when the viewer is opened and if submit button is clicked. In earlier Versions, we unchecked this property to prevent executing the queries on start. But with the current version (2014.1.1900.0) if we uncheck "ConnectOnStart", the query is not executed on startup and also not on submit-button-click. We have found no option, to execute the query only on submit-button-clicks and not on startup.

Regards,
Koray
Attachments
WpfApplication1.zip
(442.97 KiB) Downloaded 251 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: ConnectOnStart bug

Post by Alex K. »

Hello,

As a way, please try to use the RequestedParameters property for report.

Thank you.
koraykazgan
Posts: 16
Joined: Tue Feb 01, 2011 4:29 am
Location: Germany

Re: ConnectOnStart bug

Post by koraykazgan »

Hello

thanks for the hint. We have found the similar called property RequestParameters on the StiReport-Object but unfortunately doesnt solve the problem.
Do you have other ideas how to solve this?

Thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: ConnectOnStart bug

Post by Alex K. »

Hello,

Please check the modified report in the attachment.

Thank you.
Attachments
Report_modified.mrt
(6.32 KiB) Downloaded 394 times
stp
Posts: 4
Joined: Tue Aug 12, 2014 1:33 pm

Re: ConnectOnStart bug

Post by stp »

Hi Aleksey,
thanks very much for your reply which solves the initial problem.

We have currently a refresh problem when the submit button has been pushed.
First whe you resize the window the result is shown properly.

Did you encounter that problem? Do you have any suggestions how to solve that problem?

Thanks.
stp
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: ConnectOnStart bug

Post by HighAley »

Hello.
stp wrote:We have currently a refresh problem when the submit button has been pushed.
First whe you resize the window the result is shown properly.
Sorry, maybe we didn't understand your problem. Could you describe it more detailed?

Thank you.
stp
Posts: 4
Joined: Tue Aug 12, 2014 1:33 pm

Re: ConnectOnStart bug

Post by stp »

When we open the report viewer, it shows a blank page.
Then we click on the "Submit"-Button, but the page is still blank.
The content will only show up, when we zoom in or out, or scroll to the bottom of the report.
Otherwise the page will stay blank.

We also observed another difference to the old version we use (2011.2.1004.0):
The table header is also not shown until we 'refresh' the screen.

Best
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: ConnectOnStart bug

Post by HighAley »

Hello.

Could you specify which version of WPF Viewer do you use now?
We have recently made some fixes. Please, try our latest prerelease build.

Thank you.
stp
Posts: 4
Joined: Tue Aug 12, 2014 1:33 pm

Re: ConnectOnStart bug

Post by stp »

Hello Aleksey,

We use the version 2014.1.1900.0.
Which prerelease build do you mean?

stp
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: ConnectOnStart bug

Post by Alex K. »

Hello,

Please try to check the build 2014.2.1919 from 08-Aug-2014.

Thank you.
Post Reply