Format within value field of Telerik.Reporting.Textbox

2 posts, 0 answers
  1. mSchmidt
    mSchmidt avatar
    47 posts
    Member since:
    Aug 2007

    Posted 13 Nov 2008 Link to this post

    =Fields.[calculation_bruttoAvance] + "(" + Format("{0:0.00}",Fields.[calculation_bruttoAvanceProcent]) + ")" 


    a

    I would like to do something like the above within the value field of a Telerik.Reporting.Textbox, however it gives me an error.
    Is this not possible or am i doing something wrong with the syntax ?

  2. Steve
    Admin
    Steve avatar
    10942 posts
    Member since:
    Feb 2014

    Posted 13 Nov 2008 Link to this post

    Hello mSchmidt,

    Change the first argument of the Format function to {0:P2} and let us know of the outcome. You can see what the correct representation of a format is by checking the Format property of the textbox items first.

    Kind regards,
    Steve
    the Telerik team


    Check out Telerik Trainer, the state of the art learning tool for Telerik products.



Back to Top