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

Support for INotifyDataErrorInfo

1 Answer 76 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 13 Feb 2012, 01:13 PM
Why do your masked input controls not support INotifyDataErrorInfo?
Looking at your templates I see different "ValidationStates" than usual and a custom "ValidationTooltip".

How can I bypass this limitation?

1 Answer, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 16 Feb 2012, 02:08 PM
Hello,

The maskedinput controls do support this interface. The errors from the interface are retrieved through the Validation.GetErrors method, which the masked controls are querying. What I tested is the business class from this MSDN article with the xaml below:

<telerik:RadMaskedTextInput Value="{Binding Path=Name, ValidatesOnNotifyDataErrors=True, ValidatesOnDataErrors=True, Mode=TwoWay}" />
Regards,
Alex Fidanov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Marc
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Share this question
or