Treeview invisible

2 posts, 0 answers
  1. Matt
    Matt avatar
    5 posts
    Member since:
    May 2013

    Posted 17 May 2013 Link to this post

    I am evaluating the DevCraft suite for WPF, and I've run into an odd problem.  

    I'm developing an internal application for my company.  It uses .NET 4.5, WPF, Prism, and Entity Framework 5.0.

    When I instantiate a RadTreeView control and populate it with static RadTreeViewItem objects in the XAML, it doesn't display.  If I set the background color, I get a colored rectangle with no items.  Using Snoop I can see that it exists in the visual tree and the HasItems property is true.  This behavior is the same regardless of whether I navigate to a region using Prism or declare it manually in the shell window.

    If I create a separate application and place the static test RadTreeView in it, it behaves as expected.

    Any ideas?

  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1167 posts

    Posted 20 May 2013 Link to this post


    I already answered to your question in your support ticket. However I will post the same answer here so others from the community can find it.

    I can not be sure about your scenario and the reason behind this behavior. However, such behavior may occur if you use our NoXaml dlls. If you do, the controls used in your project will be created (added to the visual tree) but they will not be visualized because their visual representation (XAML code) is not available. You can read more information about the usage of our NoXaml dlls in this article. If you are not using the NoXaml dlls we will kindly ask you to provide us with more information (and snippets) about your scenario. How you load your modules and how are they structured? If we reproduce that behavior on our side we will be able to suggest the best approach in your case.

    I am looking forward to hearing from you.

    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top