Conditional Formatting Question

2 posts, 1 answers
  1. Johnathan
    Johnathan avatar
    21 posts
    Member since:
    Jul 2010

    Posted 01 Aug 2011 Link to this post

    What is the syntax for the conditional formatting dialog to have the style in one textbox change based on the value of another textbox?

    I have tried:

    =textBox1.Value < =textBox2.Value
    =textBox1 < =textBox2
    textBox1.Value < textBox2.Value
    textBox1 < textBox2
    =Fields.textBox1 < =Fields.textBox2
  2. Answer
    Peter avatar
    1611 posts

    Posted 04 Aug 2011 Link to this post

    Hi Johnathan,

    Telerik Reporting is data driven reporting solution. Thus for conditional formatting rules our suggestion is to utilize the data field used by the another textbox. For example if you have textboxes with the following values:
    • textbox1.Value =Fields.MyField1
    • textbox2.Value =Fields.MyField2
    our suggestion is to set the conditional formatting rule as shown in the following example:
     Expression Operator  Value 
     <=  =Fields.MyField2

    Additionally you may find useful Conditional Formatting Rules Dialog and Conditional Formatting help articles.

    Best wishes,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. DevCraft R3 2016 release webinar banner
Back to Top