4 posts, 0 answers
  1. bfeltz
    bfeltz avatar
    4 posts
    Member since:
    May 2007

    Posted 04 Dec 2008 Link to this post

    The VS 2008 preview pane displays the following error when i add a gridview.


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


    at MS.Internal.XcpImports.CheckHResult(UInt32 hr) at MS.Internal.XcpImports.RenderTargetBitmapRender(HostingRenderTargetBitmap bitmap, UIElement visual, Int32& dirtyX, Int32& dirtyY, Int32& dirtyWidth, Int32& dirtyHeight) at System.Windows.Interop.HostingRenderTargetBitmap.Render(UIElement visual) at MS.Internal.Silverlight.Host.RuntimeInterop.RenderElementToTargetBitmap(Int32 elementKey, Int32 targetBitmapIdentifier) at MS.Internal.Silverlight.Host.Interop.RenderElementToTargetBitmap(Int32 element, Int32 targetBitmapIdentifier, ISilverlightContentDownloadCallback urlcallback) at MS.Internal.Silverlight.Host.CiderSilverlightImageHost.CiderInternalImage.UpdateBitmap() at MS.Internal.Silverlight.Host.CiderSilverlightImageHost.CiderInternalImage.UpdateTree() at MS.Internal.Silverlight.Host.CiderSilverlightImageHost.CiderInternalImage.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)


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



    at MS.Internal.XcpImports.CheckHResult(UInt32 hr) at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize) at System.Windows.FrameworkElement.MeasureOverride(Size availableSize) at Telerik.Windows.Controls.GridView.GridViewDataControl.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)


    This happens in my own project as well as the GridNamespaceTest recently posted to the forum

    The follollowing XAML causes this for me























    Width="400" Height="300">





    <Grid x:Name="LayoutRoot" Background="White">





    <telerik:RadGridView Name="RadGridView1"></telerik:RadGridView>











  2. Jimmy
    Jimmy avatar
    16 posts

    Posted 05 Dec 2008 Link to this post

    Hello bfeltz,

    The problem you are experiencing has nothing to do with your project, but it's rather minor problem that we have in our CTP which will be fixed in our Beta release coming out in mid-December.

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Sundar
    Sundar avatar
    23 posts
    Member since:
    Jun 2008

    Posted 12 Feb 2009 Link to this post

    Hi Jimmy,

    I face this problem even after I installing the 

    Any solution would be really helpful.

  4. Valeri Hristov
    Valeri Hristov avatar
    2252 posts

    Posted 13 Feb 2009 Link to this post

    Hi Sundar,

    Could you check if your project has references to Telerik.Windows.Data and Telerik.Windows.Controls? When you drag a control from the toolbox Visual Studio fails to add all needed references, hence the error.

    Best wishes,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top