Conditions are applied to multiple objects

Stimulsoft Reports.NET discussion
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Conditions are applied to multiple objects

Post by Jennypi »

Hi all,

When I select a text component and define a condition for it, this condition gets automatically applied to all text components of the same DataBand.
Condition field in the properties panel then shows:

Code: Select all

System.Windows.Forms.PropertyGridInternal.MergePropertyDescriptor+MultiMergeCollection
How can I avoid this?

Thank you.


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

Conditions are applied to multiple objects

Post by Alex K. »

Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Conditions are applied to multiple objects

Post by Jennypi »

Hi

More details, hope it will be more understandable:
- I click on one of the text components of my databand
- in the property panel I click on "Condition" and I define a condition (for example: if location = "CH" then text component in yellow)
- I click OK to close the condition window
- the condition "flag" is then visible for all the text components of the databand, not only the one that I have selected
- then, when I select all those text components, I can see that condition property in the panel contains

Code: Select all

System.Windows.Forms.PropertyGridInternal.MergePropertyDescriptor+MultiMergeCollection
Image


But I selected only 1 component, so why is my condition applied to all??
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Conditions are applied to multiple objects

Post by Alex K. »

Hello,

Which version of Stimulsoft Reports.Net do you use?

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Conditions are applied to multiple objects

Post by Jennypi »

Version 2010.3.900 from 1 December 2010
.Net Framework v2.0.50727
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Conditions are applied to multiple objects

Post by Alex K. »

Hello,

We couldn't reproduce this bug. Could you explain your issue in more details and, if possible, send us a step-by-step guide or short video how to reproduce the issue?

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Conditions are applied to multiple objects

Post by Jennypi »

Hi

I recorded and uploaded a video here:
http://demo.ovh.com/fr/0a1b13fd4f748f7e ... 8c6789e7c/

And I uploaded my report here:
http://demo.ovh.com/fr/2be451fea65e00b8 ... 8f93d5a70/

thank you for your help.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Conditions are applied to multiple objects

Post by Alex K. »

Hello,

Please try to download release version again. Perhaps this error occurs in the first version, we fixed it and re-uploaded the release. Also, please check the latest prerelease build.

Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Conditions are applied to multiple objects

Post by Jennypi »

I have asked my IT colleague to download and install report application with the latest version of the Stimulsoft libraries.
I have now version 2011.1.919 from 1 February 2011, .Net FrameWork v2.0.50727.
And the problem is still here!

What can I do to fix it?
Thank you.
Jennypi
Posts: 361
Joined: Mon Nov 17, 2008 7:13 am
Location: France

Conditions are applied to multiple objects

Post by Jennypi »

I saved the page, deleted it and open it again in the report.
It seems that it solved the problem, conditions are ok now...

Thank you for your help.
Post Reply