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

Thread is closed for posting
3 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 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. 41CFACE1-120E-4E2E-9446-437E81873323
    41CFACE1-120E-4E2E-9446-437E81873323 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. 6AB3838B-B392-4EDE-97F0-B3F5916D8900
    6AB3838B-B392-4EDE-97F0-B3F5916D8900 avatar
    11100 posts
    Member since:
    Jan 2017

    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

This Code Library is part of the product documentation and subject to the respective product license agreement.