Checkbox checked not recognized in DataForm

3 posts, 1 answers
  1. Thomas
    Thomas avatar
    12 posts
    Member since:
    Mar 2010

    Posted 18 Jun 2018 Link to this post

    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. Answer
    Martin Ivanov
    Admin
    Martin Ivanov avatar
    2087 posts

    Posted 20 Jun 2018 Link to this post

    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.
  3. Thomas
    Thomas avatar
    12 posts
    Member since:
    Mar 2010

    Posted 21 Jun 2018 in reply to Martin Ivanov Link to this post

    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

Back to Top