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

Width must be non-negative.

4 Answers 99 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Arpit
Top achievements
Rank 1
Arpit asked on 23 Jun 2011, 10:01 AM
Hello,

I am getting below exception can any one help me on this.its 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******************

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 23 Jun 2011, 10:03 AM
Hello,

 Please post more info about your grid version! Is it our latest official - Q1 2011 SP1?

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
0
Arpit
Top achievements
Rank 1
answered on 23 Jun 2011, 10:06 AM
I am using 2011.1.419.40
0
Vlad
Telerik team
answered on 23 Jun 2011, 10:07 AM
Hi ,

 Can you post more info about your scenario and how to reproduce this? 

Best wishes,
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
0
Arpit
Top achievements
Rank 1
answered on 23 Jun 2011, 10:10 AM
I dont have any specifc scenarios as it is an Unhandel exception
Tags
GridView
Asked by
Arpit
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Arpit
Top achievements
Rank 1
Share this question
or