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.....
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.....