conditional formatting rule

2 posts, 0 answers
  1. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 15 Dec 2011 Link to this post


    I have a Style called "Data" with background color white.
    I create a conditional formatting rule and only set the ForeColor to red for example.
    Now, I change the style "Data", the background color for example to Ivory.
    Now, when the rule applies, I see the background color of white, that should be Ivory. 

    So, apparently the rule creates a copy of the style when creating the rule, and applies a background color that I do not think is part of the rule. I know other applications that do this differently.

    I see two options I think are logical:
    1) in the style rule, allow a base style to be inputed (data in my example) 
    2) When a rule applies, let me say what style to use. So, I have style "data", l create style "DataRule1" and say in my rule that when condition is met, style "DataRule1" must be applied.


  2. Steve
    Steve avatar
    10941 posts

    Posted 19 Dec 2011 Link to this post

    Hello Erik,

    We have not been able to reproduce such a problem on our end and would appreciate if you elaborate:
    • what style rule do you create?
    • to what item have you applied this style?
    • is the conditional formatting applied to the same item?

    It would be of great help if you provide us with instructions or a sample report that shows the behavior you think is wrong. We also highly recommend reviewing the Style Inheritance and Overriding help article for more info on style priorities and inheritance.

    Kind regards,
    the Telerik team

    Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Back to Top