Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Grid Tech Support » EnsureVisibleVertically exception Collapse All
Subject Author Date
Pavel Murashov Apr 27, 2010 - 4:38 AM

I have stable exception at use of function EnsureVisibleVertically() for scroll after addition new row to end of the grid.


Test project (VS2010) I has sent to you the day before yesterday, but has not received the answer.


Exception text: "Index was out of range. Must be non-negative and less than the size of the collection."


Stack trace:


   at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)

   at Elegant.Ui.Grid.RenderableCollection.get_Item(Int32 index)

   at Elegant.Ui.Grid.UnboundContentRenderingManager.HitTest(Point point)

   at Elegant.Ui.Grid.GridControlBase.ProcessExpandTipOnMouseMove(MouseEventArgs e)

   at Elegant.Ui.Grid.GridControlBase.OnScrollBarValueChanged(ScrollBarOrientation scrollBarOrientation, Int32 newValue, Int32 oldValue)

   at Elegant.Ui.Grid.ScrollableControl.VerticalScrollBar_ValueChanged(Object sender, ScrollBarValueChangedEventArgs e)

   at Elegant.Ui.ScrollBarBase.OnValueChanged(Int32 oldValue)

   at Elegant.Ui.ScrollBarBase.set_Value(Int32 value)

   at Elegant.Ui.Grid.ScrollableControl.set_VerticalScrollBarValue(Int32 value)

   at Elegant.Ui.Grid.ScrollableByItemControl.EnsureVisibleVertically(Int32 itemIndex)

Technical Support Apr 29, 2010 - 5:19 AM

Thank you for the bug report. Please download a fixed version of Elegant Grid below:

http://www.prof-uis.com/download/tmp/Elegant.Ui.Grid.zip

Pavel Murashov Apr 29, 2010 - 5:58 AM

Thanks!