Page 1 of 2

New bug in 2011.2 with Data Source flag "Connect on Start"

Posted: Fri Sep 23, 2011 6:54 am
by hagena
Hi there,

the flag Connect on Start was disabled in a report created with Reports.WPF 2011.1 so no data was loaded from database until the user hit the submit button. Worked perfectly.
Now in the 2011.2 version the user can hit submit as often as he likes no data is loaded. But if the flag Connect on Start is enabled the data is loaded with no problems.

Hope you can fix that.
Thanks

New bug in 2011.2 with Data Source flag "Connect on Start"

Posted: Fri Sep 23, 2011 8:39 am
by Alex K.
Hello,

If you set the Connect on Start property to false, then you need to connect itself to the database in the event code.

Thank you.

New bug in 2011.2 with Data Source flag "Connect on Start"

Posted: Fri Sep 23, 2011 10:21 am
by hagena
Hi,

doesn't it connect when I press the submit button?

Thanks.

New bug in 2011.2 with Data Source flag "Connect on Start"

Posted: Mon Sep 26, 2011 1:52 am
by Alex K.
Hello,

Yes, this is the correct behavior. You need to set the connection yourself DataSource.Connect()

Thank you.

New bug in 2011.2 with Data Source flag "Connect on Start"

Posted: Tue Sep 27, 2011 3:56 am
by hagena
Hi,

1. Ok but how/where do I get access to the click event of the submit button?

2. Why did you change the behavior in 2011.2 in comparison to 2011.1?

Thanks.

New bug in 2011.2 with Data Source flag "Connect on Start"

Posted: Wed Sep 28, 2011 9:18 am
by Jan
Hello,

This problem is result of fixing bug in previous version. By default ConnectOnStart property can't changed automatically from report engine. New behavior is correct.

We have added new static property Stimulsoft.Report.StiOptions.Dictionary.EnableConnectOnStartOnSecondPass to solve this problem. Please set this property to true before report rendering. Changes will be available in build from today. Changes from today have 2011.2.1100 version and contains only fixes for release version.

Thank you.

New bug in 2011.2 with Data Source flag "Connect on Start"

Posted: Wed Sep 28, 2011 9:32 am
by hagena
Ok thank you we'll check on that.

Thanks.

New bug in 2011.2 with Data Source flag "Connect on Start"

Posted: Wed Sep 28, 2011 11:08 pm
by Andrew
Hello,

Ok! Please let us know about the result.

Thank you.

New bug in 2011.2 with Data Source flag "Connect on Start"

Posted: Thu Sep 29, 2011 3:27 am
by hagena
Morning,

I replaced the files with your new ones from yesterdays version Reports.WPF 2011.2.1100.0 .
Result:
The error of compilation is found in the 'Report' report:
"StiOptions.Dictionary" has no definition for "EnableConnectOnStartOnSecondPass".
Thanks

New bug in 2011.2 with Data Source flag "Connect on Start"

Posted: Thu Sep 29, 2011 7:51 am
by HighAley
Hello.
hagena wrote:I replaced the files with your new ones from yesterdays version Reports.WPF 2011.2.1100.0 .
Result:
The error of compilation is found in the 'Report' report:
"StiOptions.Dictionary" has no definition for "EnableConnectOnStartOnSecondPass".
Did you update assemblies in GAC?

Thank you.