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

Show signs

1 Answer 56 Views
Input
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 30 Apr 2012, 01:40 PM
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-

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 30 Apr 2012, 01:49 PM
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.
Tags
Input
Asked by
Steve
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or