How to show / hide a DataField base on another DataField's value

3 posts, 0 answers
  1. Elvin
    Elvin avatar
    5 posts
    Member since:
    Aug 2013

    Posted 21 Apr 2014 Link to this post

    Hi,

    I'm using Catel as my MVVM framework.

    Now I want to control a DataField's visibility base on another DataField's value, both are actually listbox and in the same DataForm of course.

    I've tried binding visibility but seemed no luck.

    Is there any other way to do this?

    Thanks.
  2. Elvin
    Elvin avatar
    5 posts
    Member since:
    Aug 2013

    Posted 22 Apr 2014 Link to this post

    ok I figured this out by setting CommitMode="OnFieldValueChange"
  3. DevCraft banner
  4. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 24 Apr 2014 Link to this post

    Hello Elvin,

    This is the right approach that you have used.

    We will consider this thread closed for now.

    Let us know should you have further questions.

    Regards,
    Deyan
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top