Cannot do anything with RadTreeView! Help!

3 posts, 0 answers
  1. Yan Moura
    Yan Moura avatar
    89 posts
    Member since:
    Feb 2010

    Posted 05 Jul 2011 Link to this post


    Working with SL controls is being a real nightmare to me. My boss has purchased the whole Telerik controls package, but I simply cannot do primary and silly things just because I am being haunted all the time by exceptions and unhandled errors that shouldn't be there. Therefore, what should be a 'Rapid Development' is turning into an endless struggle. Very frustrating.

    Let's go to the facts.

    Everything started when I tried to use the RadTreeView control in the hope that it would give me more flexibility on styling than the SL native control.

    My first problem was that the 'convertor' that should turn a SL Application into a Telerik SL Application didn't work for me, then I had to start a new project from the scratch and move everything from a project to another manually. Fine. It wasn't a real problem, just time comsuming.

    Anyway, since I got no luck on styling my new RadTreeView directly in Visual Studio, I have downloaded and installed Expression Blend in the hope that it could give me deeper access to the RadTreeView control properties.

    Well, actually now after to open my Telerik SL Application in Blend (and that works fine in VS), when I try to view my MainApp.XAML page, it spits the following scary message at my face:

    "An exception was thrown -- ObjectDisposedException: cannot access a disposed object."

    I have no idea what is that, but I suspect that maybe it is a reference problem. I have all the references added to my project.
    There is also a lot of information in the stack that Blend nicely doesn't allow me to copy for clipboard.

    I sincerelly would like to know what I am doing wrong, as it is being very very very frustrating.

  2. Yan Moura
    Yan Moura avatar
    89 posts
    Member since:
    Feb 2010

    Posted 05 Jul 2011 Link to this post

    Here is the code for my XAML page:

    <UserControl x:Class="TelerikWithBlend.MainPage"
            mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
        <Grid x:Name="LayoutRoot">
            <telerik:RadTreeView Height="250" HorizontalAlignment="Left" Margin="68,62,0,0" Name="radTreeView1" VerticalAlignment="Top" Width="500" BorderThickness="1" BorderBrush="Black">
                <telerik:RadTreeViewItem DropPosition="Inside" Header="Item 1" TabNavigation="Once" />

    Seems that Blend didn't like the very first keyword 'UserControl', as it is underlined in red. Weirdly, VS doesn't yell to me because that.

    The versions I am using: VS 2010 Pro and Expression Blend 4 Trial
  3. Petar Mladenov
    Petar Mladenov avatar
    3162 posts

    Posted 08 Jul 2011 Link to this post

    Hi Yan Moura,

    We are not aware of similar existing problems when using RadTreeView in Blend. Could you please check out this forum post and see if it could help you ?

    All the best,
    Petar Mladenov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top