strange behavior numerictextbox

2 posts, 0 answers
  1. Marc Schaaks
    Marc Schaaks avatar
    16 posts
    Member since:
    May 2010

    Posted 27 Jan 2011 Link to this post

    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"





  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 31 Jan 2011 Link to this post

    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.
Back to Top