Support for INotifyDataErrorInfo

2 posts, 0 answers
  1. Marc
    Marc avatar
    88 posts
    Member since:
    Jul 2011

    Posted 13 Feb 2012 Link to this post

    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?
  2. Alex Fidanov
    Alex Fidanov avatar
    637 posts

    Posted 16 Feb 2012 Link to this post


    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}" />
    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 >>
Back to Top