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

strange behavior numerictextbox

1 Answer 55 Views
Input
This is a migrated thread and some comments may be shown as answers.
Marc Schaaks
Top achievements
Rank 1
Marc Schaaks asked on 27 Jan 2011, 11:09 AM
Hi all i have a very strange behavior concerning he RadNumericTextbox. I have numeric textboxes that are used in a grid edit template. These numeric textboxes allow for decimal typed values.

After initial insert the values are displayed correctly in the grid (see picture "numeric_tb_issue_p1.png"). when i however edit the record again the numeric values seem to be multiplied by 10.000 (see picture "numeric_tb_issue_p2.png" ). I have no clue whats so ever what's causing this behavior.

Doe anyone have any ideas how to solve this ? Below you can find the settings of one of the numeric textboxes for reference. 

 

<telerik:RadNumericTextBox ID="UnitPrice_RadNumericTextBox" runat="server"

 

 

NumberFormat-DecimalDigits="2" NumberFormat-GroupSeparator="" MaxLength="6" Text='<%# Bind("UnitPrice") %>' Type="Currency"

 

 

ontextchanged="UnitPrice_RadNumericTextBox_TextChanged" AutoPostBack="true"

 

 

CssClass="orderline-input">

 

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 31 Jan 2011, 10:47 AM
Hi Marc Schaaks,

I revised your code but was not able to see anything obvious that may cause the problem. Could you please let me know what code is executed in the input ontextchanged event?

Kind regards,
Maria Ilieva
the Telerik team

Browse the vast support resources we have to jump start 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
Input
Asked by
Marc Schaaks
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or