Exception on simply adding the control to a Grid

2 posts, 0 answers
  1. Giorgio Galante
    Giorgio Galante avatar
    3 posts
    Member since:
    Sep 2008

    Posted 29 Nov 2008 Link to this post

    <

    Telerik_Windows_Controls:RadGridView Margin="0,0,6,183" Height="400" AutoGenerateColumns="true" MinHeight="400" MinWidth="400" Width="400"/>

    Produces the following stacktrace (removing the height/minheight/width/minwidth and margin still cause this error) in VS.NET and in Expression Blend 2.5:

     

    Object reference not set to an instance of an object.

     

    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)

     

  2. Jimmy
    Admin
    Jimmy avatar
    16 posts

    Posted 01 Dec 2008 Link to this post

    Hello Giorgio Galante,

    Thank you for taking the time to write to us. The exception you are referring to is a known issue in our GridView for Silverlight CTP and it will be fixed in the Beta that is scheduled in mid December.

    If you have any more questions or find other bugs please consider writing to us again.

    Regards,
    Jimmy
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
Back to Top