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

[Solved] Argument Out Of RangeException ?

0 Answers 144 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
kannan
Top achievements
Rank 1
kannan asked on 11 Jan 2011, 02:47 PM

Hi,
 i am getting below error when i drag records from one grid to another grid.

[Arg_ArgumentOutOfRangeException]

Arguments:

Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50917.0&File=mscorlib.dll&Key=Arg_ArgumentOutOfRangeException

 Parameter name: index

Telerik.Windows.Data.QueryableCollectionView.GetItemAt(Int32 index)
at Telerik.Windows.Data.DataItemCollection.get_Item(Int32 index)
at Telerik.Windows.Data.Selection.ItemSelectionHandler.EnsureSelectionAnchor()
at Telerik.Windows.Data.Selection.ItemSelectionHandler.PerformExtendedSelection(Object item, SelectionModificationOptions options)
at Telerik.Windows.Data.Selection.ItemSelectionHandler.PerformSelection(Object item, SelectionModificationOptions options)
at Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.PerformRowSelection(Object dataItem, SelectionModificationOptions modificationOptions)
at Telerik.Windows.Controls.GridView.Selection.CellAndRowSelectionDispatcher.HandleSelectionForValidRowInput(SelectionModificationOptions allowedModifications, GridViewRow row)
at Telerik.Windows.Controls.GridView.Selection.CellAndRowSelectionDispatcher.HandleSelectionForRowInput(GridViewRow row, SelectionModificationOptions allowedModifications)
at Telerik.Windows.Controls.GridView.Selection.SelectionDrag.TrySelectRowUnderMouse(Boolean scrollAdjusted)
at Telerik.Windows.Controls.GridView.Selection.SelectionDrag.TrySelectElementUnderMouse(Boolean scrollAdjusted)
at Telerik.Windows.Controls.GridView.Selection.SelectionDrag.ScrollCoordinator_ScrollViewerAdjusted(Object sender, ScrollViewerAdjustedEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Telerik.Windows.Controls.GridView.Scrolling.ScrollViewerCoordinator.OnScrollViewerAdjusted(Point adjustments)
at Telerik.Windows.Controls.GridView.Scrolling.ScrollViewerCoordinator.OnScrollViewerScrollChanged(Object sender, EventArgs e)
at Telerik.Windows.Controls.GridView.Scrolling.GridViewScrollViewerAdapter.OnScrollChanged(EventArgs args)
at Telerik.Windows.Controls.GridView.Scrolling.GridViewScrollViewerAdapter.<

 

 

.ctor>b__0(Object s, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Telerik.Windows.Controls.GridView.GridViewScrollViewer.OnScrollChanged(ScrollChangedEventArgs e)
at Telerik.Windows.Controls.GridView.GridViewScrollViewer.OnLayoutUpdated(Object sender, EventArgs e)
at System.Windows.FrameworkElement.OnLayoutUpdated(Object sender, EventArgs e)
at MS.Internal.JoltHelper.RaiseEvent(IntPtr target, UInt32 eventId, IntPtr coreEventArgs, UInt32 eventArgsTypeIndex)

 

 

Can you please explain ?

Thanks

Tags
GridView
Asked by
kannan
Top achievements
Rank 1
Share this question
or