Bug with null value

6 posts, 0 answers
  1. Frank Wanicka
    Frank Wanicka avatar
    20 posts
    Member since:
    Jun 2010

    Posted 12 Aug 2010 Link to this post

    I am seeing an odd behavior. I have the following code:

    <telerikInput:RadNumericUpDown Minimum="0"
                Maximum="999999"
                NullValue=""
                ValueFormat="Currency"
                Value=""
                ShowButtons="False"
                Width="79"
                ValueChanged="TotalPrice_ValueChanged"
                UpdateValueEvent="PropertyChanged" />

    The first time I mouse into or tab into the box and start typing, I can type one number, and then the box immediately formats it. For example, if I type "1", the box immediately updates to "1.00". the bug is that the cursor is to the left of the 1. So, if I tab into the box and type 123, the box actually now has a value of 231.00. If I select the whole value and click delete, then starting typing, the behavior changes. I can now type a series of numbers and the formatting is not applied until the box loses focus. Please advise if this is a known issue and if there are any workarounds. I have tried it with 2010.1 and 2010.2 and both exhibit the same behavior.
  2. Frank Wanicka
    Frank Wanicka avatar
    20 posts
    Member since:
    Jun 2010

    Posted 12 Aug 2010 Link to this post

    It appears to be caused by 

    UpdateValueEvent="PropertyChanged"

    I can remove the ValueChanged event and it still occurs.

    If I change the UpdateValueEvent then the behavior is as expected.

    Unfortunately, I need to know every time the value changes as the user types. I am using this to filter an entityset.
    
    
  3. DevCraft banner
  4. George
    Admin
    George avatar
    1332 posts

    Posted 18 Aug 2010 Link to this post

    Hi Frank Wanicka,

    Proceed the conversation in the Support ticket due the private information and attachments.

    Greetings,
    George
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Valdo
    Valdo avatar
    26 posts
    Member since:
    Aug 2010

    Posted 16 Nov 2010 Link to this post

    I have the same issue. Is there any common solution for this?
  6. Frank Wanicka
    Frank Wanicka avatar
    20 posts
    Member since:
    Jun 2010

    Posted 16 Nov 2010 Link to this post

    It has not been fixed unfortunately:

    PITS# 3329

    and I never found a workaround. I had to use another vendor's control to get the desired behavior.
  7. Valdo
    Valdo avatar
    26 posts
    Member since:
    Aug 2010

    Posted 16 Nov 2010 Link to this post

    Frank Wanicka, thanks for the info.
Back to Top
DevCraft banner