Appearance condition not working correctly in Silverlight
Appearance condition not working correctly in Silverlight
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
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
- StimulsoftConditionSLOutput.png (56.49 KiB) Viewed 4768 times
-
- Correct rendering in Wpf and Forms
- StimulsoftConditionWpfFormsOutput.png (45.77 KiB) Viewed 4768 times
-
- Designed condition in designer
- StimulsoftCondition.png (55.93 KiB) Viewed 4768 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)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: Appearance condition not working correctly in Silverligh
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.
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.
Re: Appearance condition not working correctly in Silverligh
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
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)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: Appearance condition not working correctly in Silverligh
Hello.
Yes, we tried with business objects from our Demo. The conditions work right. 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.
Yes, we tried with business objects from our Demo. The conditions work right. 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.
Re: Appearance condition not working correctly in Silverligh
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
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)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: Appearance condition not working correctly in Silverligh
Hello.
Waiting for any information from you.
Thank you.
Waiting for any information from you.
Thank you.
Re: Appearance condition not working correctly in Silverligh
I changed the condition type from expression to value. Now it works fine!
Thanks
Thorsten Pontow
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)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: Appearance condition not working correctly in Silverligh
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.
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.
Re: Appearance condition not working correctly in Silverligh
Hello Aleksey,
ok, i will prepare a sample report for you as soon as possible.
Thanks
Thorsten
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)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: Appearance condition not working correctly in Silverligh
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
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)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)