IDataErrorInfo validation not updated on change

2 posts, 0 answers
  1. Nathan
    Nathan avatar
    3 posts
    Member since:
    Oct 2017

    Posted 19 Dec 2017 Link to this post

    I have a number of RadComboBoxes in a RadPropertyGrid, and my model has implemented IDataErrorInfo. When the property grid (and combobox) is first loaded, it validates correctly. But, once a value that should be acceptable is selected, the combobox is still marked with an error. Debugging shows that the validation only runs once.

     

    How can I have the validation run when the value of the combo box changes?

  2. Kalin
    Admin
    Kalin avatar
    1330 posts

    Posted 22 Dec 2017 Link to this post

    Hello Nathan,

    I have tested the scenario and the ComboBox validation is updated as expected. Please check the attached sample project and modify it in order to reproduce the incorrect behavior.

    I'm looking forward to hearing from you.

    Regards,
    Kalin
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top