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

Tristate Mode behavior

3 Answers 67 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
gans
Top achievements
Rank 1
gans asked on 30 Apr 2012, 10:54 PM
I am using one of your example codes and seeing a different behavior when running the Project between .NET Framework 4 and 3.5 Framework in the Target framework property of the Project. 
When I run in 4, I get a RED line between two Parent nodes. If I run in 3.5 I am not getting that red line. 

This Red line appears when the Tree is in Tristate mode. It disappears when all the nodes are selected.  Have you guys seen this problem?

Is this a bug? I am attaching screen shot of this.  

I have used the example shown in this post.

http://www.telerik.com/community/forums/wpf/treeview/tristate-and-binding.aspx 


 


3 Answers, 1 is accepted

Sort by
0
gans
Top achievements
Rank 1
answered on 02 May 2012, 12:44 PM
Any help Guys? 
0
Tina Stancheva
Telerik team
answered on 03 May 2012, 02:36 PM
Hello Ganesh,

I wasn't able to reproduce this issue and the solution attached in the thread you sent doesn't contain Flanders family so can you send us the sample you used to reproduce the issue. Also can you tell us which Telerik version do you use to reproduce it?

However, the thread you're looking into is a bit outdated so if you want to implement a 'tri-state' logic using an MVVM approach, it's best to take a look at this code library thread demonstrating a sample solution.

All the best,
Tina Stancheva
the Telerik team

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

0
gans
Top achievements
Rank 1
answered on 03 May 2012, 03:25 PM
Thanks for the response. Yes, I am trying to implement tristate behaviour and having tough time with it since the "CheckState" property doesn't seem to work very well(its not propagating to all the children correctly) with the MVVM approach. I am going to try the approach you had suggested in that thread and will let you know if it works for me. 

Tags
TreeView
Asked by
gans
Top achievements
Rank 1
Answers by
gans
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or