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

Treeview is Not loading in Blend4 beta

5 Answers 111 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Raj A R
Top achievements
Rank 1
Raj A R asked on 30 Apr 2010, 08:33 AM
Hi Team,

I have tried to design th treeview through the Blend4 betra version and am getting the following error.

"Exception Error HRESULT E_FAIL has been returned from a call to a COM Component "

I tried the same dll in the ZVisual studio and it is loading correctly there.

Please help me with solving the issue

-Raj

5 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 05 May 2010, 11:58 AM
Hello Raj,

Unfortunately, we were not able to reproduce the error you've encountered. Please find attached a sample file. You can compare it with your project. If you still have any problems you can send us the your project.


Greetings,
Dimitrina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Richard Newson
Top achievements
Rank 2
answered on 13 Jun 2010, 02:28 AM
The project in the ZIP file does not contain any TreeView components on the XAML page.

I have the same problem. The application compiles OK, it Runs OK, when it first loads into Blend it displays OK but after any editing or after a short time the error appears in the design pane - Exception: Error HRESULT E_FAIL has been returned from a call to a COM component.

This only is occuring when I add a RadTreeView to my RadPane. The following code has all the bits in there - uncomment the TreeView, there are 2 of them and either one will cause the error.

<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"   
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"   
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"   
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"   
    xmlns:radDock="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking"   
    xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 
    xmlns:pc="http://schemas.microsoft.com/prototyping/2010/controls" 
    xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing" 
    x:Class="MyDockingSample" 
    Width="1024" Height="600">  
 
    <Grid x:Name="LayoutRoot" Background="White">  
        <Grid.RowDefinitions> 
            <RowDefinition Height="80" /> 
            <RowDefinition /> 
        </Grid.RowDefinitions> 
        <TextBlock Grid.Row="0" Margin="0,10,0,0" Style="{StaticResource TitleLeft-Sketch}" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="48" Text="LOGO" HorizontalAlignment="Right" FontWeight="Bold" TextAlignment="Right"/>  
        <Button Grid.Row="0" Content="Save" Margin="0,0,268,11" HorizontalAlignment="Right" Height="26" Style="{StaticResource Button-Sketch}" VerticalAlignment="Bottom" Width="90"/>  
        <Button Grid.Row="0" Content="New" Margin="0,0,165,11" HorizontalAlignment="Right" Height="26" Style="{StaticResource Button-Sketch}" VerticalAlignment="Bottom" Width="90"/>  
 
        <radDock:RadDocking x:Name="radDocking1" Grid.Row="1" Margin="10,10,10,10" FontFamily="Fonts/BuxtonSketch.ttf#Buxton Sketch">  
            <radDock:RadDocking.Background> 
                <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">  
                    <GradientStop Color="Black"/>  
                    <GradientStop Color="White" Offset="1"/>  
                </LinearGradientBrush> 
            </radDock:RadDocking.Background> 
 
            <radDock:RadDocking.DocumentHost> 
                <radDock:RadSplitContainer> 
                    <radDock:RadPaneGroup> 
                        <radDock:RadDocumentPane Title="MainDoc" CanUserClose="False">  
                            <TextBlock TextWrapping="Wrap" Text="Placeholder." /> 
                              
                        </radDock:RadDocumentPane> 
                    </radDock:RadPaneGroup> 
                </radDock:RadSplitContainer> 
            </radDock:RadDocking.DocumentHost> 
 
            <radDock:RadSplitContainer radDock:DockingPanel.InitialSize="200,150" MaxWidth="600" 
                x:Name="LeftContainer" InitialPosition="DockedLeft">  
                <radDock:RadPaneGroup x:Name="Group1">  
                    <radDock:RadPane x:Name="rpServerTree" Header="Server Explorer" CanUserClose="False">  
                        <!--<telerikNavigation:RadTreeView   
                            x:Name="rtvServers"   
                            IsLineEnabled="True"   
                            IsEditable="False" 
                        > 
 
                           <telerikNavigation:RadTreeViewItem Header="Server 1">  
                               <telerikNavigation:RadTreeViewItem Header="Service A"/>  
                               <telerikNavigation:RadTreeViewItem Header="Service B"/>  
                           </telerikNavigation:RadTreeViewItem> 
                           <telerikNavigation:RadTreeViewItem Header="Server 2">  
                               <telerikNavigation:RadTreeViewItem Header="Service B"/>  
                           </telerikNavigation:RadTreeViewItem> 
                           <telerikNavigation:RadTreeViewItem Header="Server 3">  
                               <telerikNavigation:RadTreeViewItem Header="Service B"/>  
                           </telerikNavigation:RadTreeViewItem> 
                           <telerikNavigation:RadTreeViewItem Header="Server 4">  
                               <telerikNavigation:RadTreeViewItem Header="Service A"/>  
                               <telerikNavigation:RadTreeViewItem Header="Service B"/>  
                               <telerikNavigation:RadTreeViewItem Header="Service C"/>  
                           </telerikNavigation:RadTreeViewItem> 
                           <telerikNavigation:RadTreeViewItem Header="Server 8">  
                               <telerikNavigation:RadTreeViewItem Header="Service D"/>  
                           </telerikNavigation:RadTreeViewItem> 
 
                        </telerikNavigation:RadTreeView>--> 
                    </radDock:RadPane> 
                    <radDock:RadPane x:Name="rpServiceTree" Header="Services Explorer" CanUserClose="False">  
                        <!--<telerikNavigation:RadTreeView   
                            x:Name="rtvServices"   
                            IsLineEnabled="True"   
                            IsEditable="False" 
                        > 
 
                           <telerikNavigation:RadTreeViewItem Header="Service A">  
                               <telerikNavigation:RadTreeViewItem Header="Server 1"/>  
                               <telerikNavigation:RadTreeViewItem Header="Server 4"/>  
                           </telerikNavigation:RadTreeViewItem> 
                           <telerikNavigation:RadTreeViewItem Header="Service B">  
                               <telerikNavigation:RadTreeViewItem Header="Server 1"/>  
                               <telerikNavigation:RadTreeViewItem Header="Server 2"/>  
                               <telerikNavigation:RadTreeViewItem Header="Server 3"/>  
                               <telerikNavigation:RadTreeViewItem Header="Server 4"/>  
                           </telerikNavigation:RadTreeViewItem> 
                           <telerikNavigation:RadTreeViewItem Header="Service C">  
                               <telerikNavigation:RadTreeViewItem Header="Server 4"/>  
                           </telerikNavigation:RadTreeViewItem> 
                           <telerikNavigation:RadTreeViewItem Header="Service D">  
                               <telerikNavigation:RadTreeViewItem Header="Server 8"/>  
                           </telerikNavigation:RadTreeViewItem> 
 
                        </telerikNavigation:RadTreeView>--> 
                    </radDock:RadPane> 
                </radDock:RadPaneGroup> 
            </radDock:RadSplitContainer> 
 
            <radDock:RadSplitContainer radDock:DockingPanel.InitialSize="150,200" MaxWidth="600" 
                x:Name="RightContainer" InitialPosition="DockedRight">  
                <radDock:RadPaneGroup x:Name="Group2">  
                    <radDock:RadPane x:Name="rpToolBox" Header="Toolbox" CanUserClose="False">  
                        <StackPanel> 
                            <TextBlock Text="Placeholder 1"/>  
                            <TextBlock Text="Placeholder 2"/>  
                        </StackPanel> 
                    </radDock:RadPane> 
                    <radDock:RadPane x:Name="rpLayouts" Header="Layouts" CanUserClose="False">  
                        <TextBlock Text="Placeholder"/>  
                    </radDock:RadPane> 
                </radDock:RadPaneGroup> 
            </radDock:RadSplitContainer> 
 
            <radDock:RadSplitContainer radDock:DockingPanel.InitialSize="200,150" x:Name="BottomContainer" InitialPosition="DockedBottom">  
                <radDock:RadPaneGroup radDock:ProportionalStackPanel.RelativeSize="100,100" x:Name="rpgBusHours">  
                    <radDock:RadPane x:Name="Pane5" Header="Email - During Business Hours" CanUserClose="False">  
                        <TextBlock Text="Placeholder"/>  
                    </radDock:RadPane> 
                </radDock:RadPaneGroup> 
                <radDock:RadPaneGroup radDock:ProportionalStackPanel.RelativeSize="100,100" x:Name="rpgAfterHours">  
                    <radDock:RadPane x:Name="Pane6" Header="After Hours" CanUserClose="False">  
                        <TextBlock Text="Placeholder"/>  
                    </radDock:RadPane> 
                </radDock:RadPaneGroup> 
            </radDock:RadSplitContainer> 
        </radDock:RadDocking> 
    </Grid> 
</UserControl> 
 

Expression Blend 4 Beta
Telerik RadControls for Silverlight Q1 2010 - 2010.1.309.1030
{NB: Upgraded RadControls to 2010.1.527.2 - still same problem}
0
Dimitrina
Telerik team
answered on 16 Jun 2010, 02:52 PM
Hello Richard ,

Unfortunately, we were not able to reproduce the issue you've encountered.
Please find attached a project and a  video where you can see the steps i took to reproduce the issue.  You can compare it with your project. If you still have any problems you can send us your project.

Best wishes,
Dimitrina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Richard Newson
Top achievements
Rank 2
answered on 18 Jun 2010, 04:43 AM
In trying to resolve another problem I was having - I uninstalled ORM and installed the latest version. Although the app didn't have any ORM in it - the problem has gone away - I suspect there was some clean up stuff needed to happen with one of my installs.
0
Tina Stancheva
Telerik team
answered on 21 Jun 2010, 08:50 AM
Hi Richard Newson,

We are glad to hear that you resolved your issue. However, should you need further assistance, please do not hesitate to contact us.

On a side note, I'd like to inform you that we've just released an online tool that allows you to reduce the size of your Silverilght applications. For more information, please visit http://blogs.telerik.com/blogs/posts/10-06-10/telerik_assembly_minifier.aspx.

Kind regards,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TileView
Asked by
Raj A R
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Richard Newson
Top achievements
Rank 2
Tina Stancheva
Telerik team
Share this question
or