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

RadMaskedNumericInput Value change does not update Mask value

1 Answer 66 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Joel Palmer
Top achievements
Rank 2
Joel Palmer asked on 06 May 2013, 07:11 PM
When I set the .Value property of the control using code-behind the .Text property is not consistently updated.  I have a video of this and it is too big to attach.  Let me know who I can send it to.

RadMaskedNumericInput num = (RadMaskedNumericInput)control;
 
double dbl = 0.0;
 
if ((value == null) ||
    (double.TryParse(value.ToString(), out dbl) == false))
{
    dbl = double.Parse(DefaultValueByDataTypeName(cell.DataTypeName));
}
 
num.Value = dbl;

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 08 May 2013, 11:09 AM
Hi Joel,

 I am afraid this code is not sufficient and we are not able to use it in order to reproduce the mentioned issue. Could you elaborate more on your scenario? Any runnable sample will be highly appreciated and we will be better able to investigate this better and advice you.
On the other hand, you can try Jing for video capturing and send us the produced link.

Regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Joel Palmer
Top achievements
Rank 2
Answers by
Petar Mladenov
Telerik team
Share this question
or