Check Box not check when we enter the space in WPF Telerik Treeeview

2 posts, 0 answers
  1. Pri
    Pri avatar
    1 posts
    Member since:
    Dec 2013

    Posted 26 Dec 2013 Link to this post


    We  are using Telerik TreeView in which checkbox have been added. When we enter the space bar, check box is not checked.
    But when we enter three times space bar then checkbox will be checked.
    The same scenario, when we trying to simple WPF tree view control all working as well. But in Telerik Treeview we have noticed, while entering the space bar in first hit Index will be focused, in second hit focus will be lost and when we enter third time space, the checkbox will be checked.
    NOTE: In our treeview control have not child items of their parents.
     I have tried lots but no effect....

    Please help Is it either Telerik Treeview issue or we are missing something.
  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 31 Dec 2013 Link to this post

    Hello Pri,

    Unfortunately I was not able to reproduce this behavior using our latest assemblies. I attached a sample solution where I defined two separate RadTreeView components. The firs one is declaratively defined in XAML and therefore it uses the built-in CheckBox support of the component. However, as the built-in CheckBox logic is designed to work only in a declaratively defined RadTreeView, if you have data-bound the ItemsSource of the component to a business collection, then I would recommend defining a  CheckBox in the ItemTemplate of the tree.

    In both cases the CheckBoxes work as expected and they can be checked/unchecked on a single stroke of the space bar. Please have a look at the attached solution and let me know if it works for you or if I missed anything.

    Tina Stancheva
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top