Hello,
I used RadNumericTextbox in FormView and in RadGrid. I used the methods Select, Insert and Update to bind data in this control.
I have some problems when I'm binding a data from type "Decimal" : on the loading, the value in the RadNumericTextbox is multiplied by 100 (because my decimal type is defined with 2 decimals).
This problem occurs when I'm using Text or Value property of my RadNumericTextbox.
If I used DbValue instead on Text or Value, the loaded value in my field is the good, but when I when to update my line, I have a conversion error :
Object of type 'System.Double' cannot be converted to type 'System.Decimal'.
How can I good configure my RadNumericTextbox to use correctly decimal values to bind in the 2 ways ?
Than you in advance,
Christophe.
I used RadNumericTextbox in FormView and in RadGrid. I used the methods Select, Insert and Update to bind data in this control.
I have some problems when I'm binding a data from type "Decimal" : on the loading, the value in the RadNumericTextbox is multiplied by 100 (because my decimal type is defined with 2 decimals).
This problem occurs when I'm using Text or Value property of my RadNumericTextbox.
If I used DbValue instead on Text or Value, the loaded value in my field is the good, but when I when to update my line, I have a conversion error :
Object of type 'System.Double' cannot be converted to type 'System.Decimal'.
How can I good configure my RadNumericTextbox to use correctly decimal values to bind in the 2 ways ?
Than you in advance,
Christophe.