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

GridNumericColumnEditor negative number

1 Answer 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gerry Polami
Top achievements
Rank 1
Gerry Polami asked on 16 Nov 2010, 01:02 PM

Hello,
I have a GridNumericColumnEditor wich works fine with positive numbers ,but when i insert a negative number it automaticly puts the minus sign
to the right of the number.

for example i get 33- insted of -33.
what shuld i do to get the minus sign to the left of the number.

I tried to work with the NumberFormat-NegativePattern property and set it to "-n" but it was not worked.

Here is my decleration to my GridNumericColumnEditor

 

<telerik:GridNumericColumnEditor runat="server" ID="VALUEEditor">
    <NumericTextBox runat="server" ID="txtBox1"   NumberFormat-DecimalDigits="7" EnabledStyle-Width="22"  EnabledStyle-HorizontalAlign="Left"    MaxLength="16">
    </NumericTextBox>
</telerik:GridNumericColumnEditor>

thank,
Gerry

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 19 Nov 2010, 02:09 PM
Hello Gerry Polami,

I tried to reproduce the issue locally but without success. Attached to this message is small sample that works as expected on my side. Please give it a try and let me know how it goes.

Regards,
Martin
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Gerry Polami
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or