Appearance condition not working correctly in Silverlight

Stimulsoft Reports.Silverlight discussion
User avatar
tpontow
Posts: 206
Joined: Thu Sep 06, 2012 8:46 am
Location: Bonn, Germany

Appearance condition not working correctly in Silverlight

Post by tpontow »

Hello,

in one of my reports (*.mrt report file) i have a databand with one StiText component that has a condition for apperearance. Values greater 100.0 should be green and values less than 50.0 should be red. Report is rendering correct in Wpf and Forms but not in Silverlight. In Silverlight only the style of the first condition is used regardless what value the cell has. See my attached screenshots.

Any suggestions how to get a correct rendering in Silverlight? I am using Stimulsoft.Reports.Ultimate Build 2012.2.1400.0.

Kind regards
Thorsten Pontow
Attachments
Incorrect rendering in SL
Incorrect rendering in SL
StimulsoftConditionSLOutput.png (56.49 KiB) Viewed 4764 times
Correct rendering in Wpf and Forms
Correct rendering in Wpf and Forms
StimulsoftConditionWpfFormsOutput.png (45.77 KiB) Viewed 4764 times
Designed condition in designer
Designed condition in designer
StimulsoftCondition.png (55.93 KiB) Viewed 4764 times
Thorsten Pontow

It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Appearance condition not working correctly in Silverligh

Post by HighAley »

Hello.

We couldn't reproduce your issue on the latest prerelease build.
Please, try it. If it will not help send us your report template.

Thank you.
User avatar
tpontow
Posts: 206
Joined: Thu Sep 06, 2012 8:46 am
Location: Bonn, Germany

Re: Appearance condition not working correctly in Silverligh

Post by tpontow »

I forgot to say that i am using business objects as datasource for the report. I already had problems with business objects and datetime functions in Silverlight. Can you try it with business objects and conditions in your Silverlight report?

Thank you
Thorsten Pontow

It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Appearance condition not working correctly in Silverligh

Post by HighAley »

Hello.

Yes, we tried with business objects from our Demo. The conditions work right.
Conditions.png
Conditions.png (55.02 KiB) Viewed 4749 times
Some problems occurs with exact business object so we need to see at least your report template.

Did you try your report with the latest prerelease build?

Thank you.
User avatar
tpontow
Posts: 206
Joined: Thu Sep 06, 2012 8:46 am
Location: Bonn, Germany

Re: Appearance condition not working correctly in Silverligh

Post by tpontow »

Ok, thanks for the information. I will try it next week with the new prerelease build and will come back to you then.

Kind regards
Thorsten Pontow
Thorsten Pontow

It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Appearance condition not working correctly in Silverligh

Post by HighAley »

Hello.

Waiting for any information from you.

Thank you.
User avatar
tpontow
Posts: 206
Joined: Thu Sep 06, 2012 8:46 am
Location: Bonn, Germany

Re: Appearance condition not working correctly in Silverligh

Post by tpontow »

I changed the condition type from expression to value. Now it works fine!

Thanks
Thorsten Pontow
Thorsten Pontow

It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Appearance condition not working correctly in Silverligh

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
If possible, can you please prepare the simple report with test data (maybe our Demo) which reproduces the issue for analysis.

Thank you.
User avatar
tpontow
Posts: 206
Joined: Thu Sep 06, 2012 8:46 am
Location: Bonn, Germany

Re: Appearance condition not working correctly in Silverligh

Post by tpontow »

Hello Aleksey,

ok, i will prepare a sample report for you as soon as possible.

Thanks
Thorsten
Thorsten Pontow

It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
User avatar
tpontow
Posts: 206
Joined: Thu Sep 06, 2012 8:46 am
Location: Bonn, Germany

Re: Appearance condition not working correctly in Silverligh

Post by tpontow »

Hello Aleksey,

I changed Stimulsolf Silverlight Pure BusinessObjects sample and uses both value and expression conditions and everything is fine. I think the reasons are our data types which are the base of the report binding. But it's not so easy to send you a sample because for that you need our application framework. So i think it's ok for me to use value conditions.

Thanks for your help
Thorsten
Last edited by tpontow on Fri Oct 26, 2012 7:19 am, edited 1 time in total.
Thorsten Pontow

It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Locked