RadNumericUpDown Value is not binded?

2 posts, 0 answers
  1. Roman Kurdadze
    Roman Kurdadze avatar
    4 posts
    Member since:
    Sep 2009

    Posted 30 Aug 2010 Link to this post

    Hi All,

    The problem that i've got is Value property of the RadNumericUpDown:

    The Binding is done through Value propertry, like:
    Value="{Binding field, Mode=TwoWay}"
    and the Datasource is set in Grid in which this control is placed (its a details dataform).

    I have set up Minimum and Maximum - so the default value which is shown in RadNumericUpDown is Minimum when I insert new record for example (is that correct behavor?).

    Now, here is the problem:
    When I add new record the value of the field to which its binded to is NULL...... But, when I change value in RadNumericUpDown - the value inserted in DB is correct....

    My question is: how can I insert this default values in DB, which are shown when i just open my form for insertion? Because when user sees this form with all values filled (with default meanings) - it presses OK, but in reality NOTHING is inserted in database.....
  2. George
    George avatar
    1332 posts

    Posted 02 Sep 2010 Link to this post

    Hi Roman,

    Thank you for contacting us.

    When the default value for RadNumericUpDown does not fall in the range you set, the default value is the Minimum. This is the expected behavior. 
    I tried to reproduce the problem, but to no avail. Attached you can find the sample I made. Please, feel free to modify it so that you could reproduce the problem. I will be glad to assist you further.

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