HRESULE E_FAIL exception switching from VS to Blend

3 posts, 0 answers
  1. Gary Davis
    Gary Davis avatar
    71 posts
    Member since:
    Oct 2003

    Posted 15 May 2011 Link to this post

    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. Gary Davis
    Gary Davis avatar
    71 posts
    Member since:
    Oct 2003

    Posted 15 May 2011 Link to this post

    Changing the StackPanel in the Popup to Border solved the trap.
  3. DevCraft banner
  4. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 19 May 2011 Link to this post

    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>>
Back to Top