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

HRESULE E_FAIL exception switching from VS to Blend

2 Answers 36 Views
ListPicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gary Davis
Top achievements
Rank 2
Gary Davis asked on 15 May 2011, 09:32 PM
I added the PopupItemTemplate to my RadListPicker and wanted to style it in Blend. In switching from Visual Studio to Blend for the xaml page, I got an exception within Blend related to the RadListPicker (see attached image).

   Exception: Error HRESULT E_FAIL has been returned form a call to a COM component

I searched the forums and found several hits on this error but no relevant solutions.

This is the first attempt to use Blend for this page so it may not be related to the popup.

Most of the datatemplate is copied from your sample project (Modes.xaml).

Thanks,
Gary Davis

2 Answers, 1 is accepted

Sort by
0
Gary Davis
Top achievements
Rank 2
answered on 15 May 2011, 10:05 PM
Changing the StackPanel in the Popup to Border solved the trap.
0
Victor
Telerik team
answered on 19 May 2011, 09:48 AM
Hello Gary Davis,

 It is great that you found the cause.
Unfortunately Silverlight is prone to crashing with such obscure errors and there really is no other way to find the cause other than commenting out code and xaml in order to narrow down on it. Also there is no way to know for certain if our controls are causing the crash and if so, how they are causing it.

Greetings,
Victor
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
ListPicker
Asked by
Gary Davis
Top achievements
Rank 2
Answers by
Gary Davis
Top achievements
Rank 2
Victor
Telerik team
Share this question
or