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

IDataErrorInfo validation not updated on change

1 Answer 160 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Nathan
Top achievements
Rank 1
Nathan asked on 19 Dec 2017, 09:20 PM

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?

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 22 Dec 2017, 07:07 PM
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.
Tags
ComboBox
Asked by
Nathan
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or