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

RadNumericUpDown Value is not binded?

1 Answer 145 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Roman Kurdadze
Top achievements
Rank 1
Roman Kurdadze asked on 30 Aug 2010, 02:51 PM
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.....

1 Answer, 1 is accepted

Sort by
0
Accepted
George
Telerik team
answered on 02 Sep 2010, 03:31 PM
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.

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
Tags
NumericUpDown
Asked by
Roman Kurdadze
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or