This is a migrated thread and some comments may be shown as answers.

Telerik Reports -- Conditional Formatting to set visibility

1 Answer 437 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Raka
Top achievements
Rank 1
Raka asked on 23 Jul 2013, 12:20 PM
Hi

I am having problems with setting the visibility of icons in my pdf reports.
I have placed the image of an icon in a column (pictureBox).  I set its default visibility to 'False'.  Then I use ConditionalFormatting to set the visibility with expression --

Expression               Operator            Value
Fields.HasFlags        =                        True

And in the Style section, I check the 'visible' box.

It seems to behave differently in two different reports even though the property is set in exactly the same way.  In one report, it shows up correctly; in the other it does not. 

Please help.
Thanks, Raka

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 26 Jul 2013, 11:12 AM
Hello Raka,

Without having the report definitions it is hard to say what is going wrong with the used conditional formatting rule. Please double check the set Visible property, the used expression for the rule and the set data(whether the Fields.HasFlags has value and what it is). Additionally make sure the property value is serialized by uncheck and then check again the Visibility checkbox.

If you need further help, please post the code for generating the reports and some sample data structure that will reproduce the issue. Any additional details as used Telerik Reporting version and in which format or preview the layout is not as it is expected will be helpful.

Regards,
Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

Tags
General Discussions
Asked by
Raka
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or