Show signs

2 posts, 1 answers
  1. Steve
    Steve avatar
    17 posts
    Member since:
    Mar 2012

    Posted 30 Apr 2012 Link to this post

    Hi all,


        I am new to telerik, i have been searching for a way to add signs for numebers in the RadNumericTextbox for many days and couldn't find any. I have a RadnumericTextBoxe were user should give numbers with there sign (positive/negative).like: -45/+67...

                                Please help me with a solution as soon as possible. Its too ugent...Thannks in advance..

    -ST-
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 30 Apr 2012 Link to this post

    Hi Steve,

    You can set PositivePattern for formatting positive values and NegativePattern for formatting negative values as follows.

    ASPX:
    <telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server">
          <NumberFormat PositivePattern="+ n" NegativePattern="- n" />
    </telerik:RadNumericTextBox>

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top