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

RadWindow as a UserControl HRESULT E_FAIL in Blend 4

4 Answers 98 Views
Window
This is a migrated thread and some comments may be shown as answers.
dwhite
Top achievements
Rank 1
dwhite asked on 16 Sep 2010, 04:48 PM
I created a "UserControl" that acts like a RadWindow.  The steps are outlined in this HowTo

This is a plain control, nothing additional in the code-behind (like service calls or anything, just a call to InitializeComponents() like in the example).

This is Silverlight 4, and opening the "window" within Blend 4, I can't get design-time support.  The error is:

"Exception: Error HRESULT E_FAIL has been returned from a call to a COM component."

The source code is just:

<telerik:RadWindow
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
    mc:Ignorable="d"
    x:Class="Sample.UserControl1"
    d:DesignWidth="640" d:DesignHeight="480">
  
    <Grid x:Name="LayoutRoot"/>
</telerik:RadWindow>

I've worked around it by putting all my content into yet another UserControl, but this isn't the best solution.  With my current approach, I have a lot of pass-through methods and bindings going on.  Note that Blend 4 fully supports a ChildWindow.  Also the designer in Visual Studio 2010 renders it perfectly, but I prefer to do my designing in Blend.

The file version of my Telerik.Windows.Controls.Navigation is 2010.2.812.1040

Thanks in advance for your help.
-Damien


4 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 17 Sep 2010, 03:23 PM
Hi Damien,

I tried to reproduce the problem with RadWindow in Blend 4, but to no avail. Could you please specify on what OS you are running Blend 4.

I will be glad to assist you further.
 

Best wishes,
George
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
dwhite
Top achievements
Rank 1
answered on 17 Sep 2010, 03:40 PM
I'm running Windows 7 x64 with Blend Version 4.0.20525.0.

-Damien
0
George
Telerik team
answered on 22 Sep 2010, 01:15 PM
Hi,

Could you check if your project has references to Telerik.Windows.Controls.Navigation and Telerik.Windows.Controls? Also, if you send a running sample that reproduces the problem it would be of great help.

I will be glad to assist you further.


All the best,
George
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
dwhite
Top achievements
Rank 1
answered on 23 Sep 2010, 12:11 AM
I ended up solving the issue.  In the project I was referencing the two assemblies from outside of the GAC.  Once I changed the references to the GAC, Blend started working...

-Damien
Tags
Window
Asked by
dwhite
Top achievements
Rank 1
Answers by
George
Telerik team
dwhite
Top achievements
Rank 1
Share this question
or