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

Checkbox checked not recognized in DataForm

2 Answers 168 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Iron
Thomas asked on 18 Jun 2018, 07:12 AM
Hello,

we're currently using VS2015 and the latest Telerik WPF controls (no XAML). Our project is made with MVVM in mind.
When creating a DataForm and adding some DataForm checkbox controls there seems to be a problem when changing the "checked" state.
After the DataForm is active and a checkbox control is checked the "ok" button of the DataForm doesn't get enabled. But when adding a textbox to the DataForm and the text got changed the "ok" button is getting enabled immediately.
Is there something that needs be set in the DataForm so that the checkboxes work correctly? It looks like the INotifyPropertyChanged doesn't get fired with checkboxes.

Thank you in advance for your help.

Best Regards,
Thomas

2 Answers, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 20 Jun 2018, 03:32 PM
Hi Thomas,

May I ask you to send me some runnable code showing your set up? This way I can test it locally and see what happens.

Regards,
Martin Ivanov
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.
0
Thomas
Top achievements
Rank 1
Iron
answered on 21 Jun 2018, 08:38 AM

Hi Martin,

after creating a sample for this problem we found out that it works and we investigated the problem further.

Now it works in our project too, our DTO didn't fire "INotifyPropertyChanged" so we changed that on our side.
Thank you for your time!

Best Regards,
Thomas

Tags
DataForm
Asked by
Thomas
Top achievements
Rank 1
Iron
Answers by
Martin Ivanov
Telerik team
Thomas
Top achievements
Rank 1
Iron
Share this question
or