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

Width must be non-negative

1 Answer 104 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vivek
Top achievements
Rank 1
Vivek asked on 23 Jun 2011, 03:56 PM

Hello,

 

I am using 2011.1.419.40 version telerik dll's and getting below exception.

There is no specific scenario to reproduce this issue

 

Can anyone help me on this. it’s a bit urgent

 

STACK-TRACE

   at System.Windows.Rect.set_Width(Double value)

   at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.MakeVisible(Visual visual, Rect rectangle)

   at System.Windows.Controls.ScrollViewer.ExecuteNextCommand()

   at System.Windows.Controls.ScrollViewer.OnLayoutUpdated(Object sender, EventArgs e)

   at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()

   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.AnimatedRenderMessageHandler(Object resizedCompositionTarget)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

INNER EXCEPTION

Width must be non-negative.

STACK-TRACE

   at System.Windows.Rect.set_Width(Double value)

   at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.MakeVisible(Visual visual, Rect rectangle)

   at System.Windows.Controls.ScrollViewer.ExecuteNextCommand()

   at System.Windows.Controls.ScrollViewer.OnLayoutUpdated(Object sender, EventArgs e)

   at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()

   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.AnimatedRenderMessageHandler(Object resizedCompositionTarget)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

*****************END******************

Reply

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 24 Jun 2011, 02:36 PM
Hi,

Unfortunately we cannot reproduce such problem so far. Please send us small project demonstrating your scenario. We will try to test it locally to see if we can reproduce the same.

Regards,
Vlad
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
Tags
GridView
Asked by
Vivek
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or