TreeView: How to create a 'tri-state' CheckBox logic using MVVM

3 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 25 Apr 2012 Link to this post

    Requirements

    RadControls version 2012.1.326
    Silverlight version 5.0
    Visual Studio version 2010
    programming language C#
    browser support

    all browsers supported by RadControls


    PROJECT DESCRIPTION
    This project demonstrates how to implement a 'tri-state' CheckBox logic in the RadTreeView while using an MVVM approach. As the built-in RadTreeView 'tri-state' support is designed to work in a declaratively defined RadTreeView, in an MVVM approach you need to create custom logic. You can add a CheckBox control in the ItemTemplate of the RadTreeView and implement the 'tri-state' logic in the view models.
  2. Marc
    Marc avatar
    1 posts
    Member since:
    Jul 2012

    Posted 26 Jul 2012 Link to this post

    I think your zip file (TreeViewMVVMCheckBoxSample.zip) is corrupts. I try to download it and once done, it can't be opened by any decompressor ...

    Bye

  3. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 27 Jul 2012 Link to this post

    Hello,

    I've just tried the attached archive however everything worked as expected on my end using the default Windows 7 unzip.

    All the best,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top