Hello,
I use the xamDataPresenter 2008-1 with the HotFix and I got the following error. It is an error I have since a long time and I m unable to find a solution.
I can send you the source code if needed with the steps to reproduce the problem.
Thanks
ArgumentOutOfRangeException "Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index"" at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.ThrowHelper.ThrowArgumentOutOfRangeException() at System.Collections.Generic.List`1.get_Item(Int32 index) at System.Collections.ObjectModel.Collection`1.System.Collections.IList.get_Item(Int32 index) at Infragistics.Windows.DataPresenter.DataRecordCollection.AllocateNewRecord(Int32 index) at bk.a(Int32 A_0, Boolean A_1, Boolean A_2, Boolean& A_3) at ao.a(SparseArray A_0, Int32 A_1) at Infragistics.Windows.Helpers.SparseArray.a(ICreateItemCallback A_0, g A_1, Int32 A_2, Int32 A_3) at Infragistics.Windows.Helpers.SparseArray.GetItemAtVisibleIndex(Int32 visibleIndex, ICreateItemCallback createItemCallback) at ao.b(Int32 A_0) at Infragistics.Windows.DataPresenter.ViewableRecordCollection.c(Int32 A_0) at Infragistics.Windows.DataPresenter.ViewableRecordCollection.System.Collections.IList.get_Item(Int32 index) at System.Windows.Data.ListCollectionView.InternalItemAt(Int32 index) at System.Windows.Data.ListCollectionView.GetItemAt(Int32 index) at System.Windows.Controls.ItemCollection.GetItemAt(Int32 index) at System.Windows.Controls.ItemCollection.get_Item(Int32 index) at System.Windows.Controls.ItemContainerGenerator.Generator.GenerateNext(Boolean stopAtRealized, Boolean& isNewlyRealized) at System.Windows.Controls.ItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.GenerateNext(Boolean& isNewlyRealized) at Infragistics.Windows.Controls.XamCarouselPanel.c(Int32 A_0, Int32 A_1) at Infragistics.Windows.Controls.XamCarouselPanel.b(Int32 A_0, Int32 A_1) at Infragistics.Windows.Controls.XamCarouselPanel.a(Int32 A_0, Int32 A_1, Nullable`1 A_2, Int32 A_3) at Infragistics.Windows.Controls.XamCarouselPanel.a(Size A_0, Boolean A_1) at Infragistics.Windows.Controls.XamCarouselPanel.ArrangeOverride(Size finalSize) at Infragistics.Windows.DataPresenter.CarouselViewPanel.ArrangeOverride(Size finalSize) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) at System.Windows.UIElement.Arrange(Rect finalRect) 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) at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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) at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter) at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.Run() at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run(Window window) at System.Windows.Application.Run() at ViewOn.App.Main() in D:\\ViewOn\\ViewOn\\App.xaml.cs:line 28"
Hi,
Sorry to hear of this problem you face. I suggest you create a small demo project, and send it to our Developer Support group for further review. That is the formal process used to resolve product defects, and ensure that you are notified once a fix is ready.
Thanks,
Josh
Thanks Josh
I have introduce it, the cas number is : CAS-04971-2XHCZI
I'll wait for your feedback
Thanks again and have a nice day ;-)
Was this issue ever resolved. I am running into exactly the same problem.
The abovementioned issue might have been caused by using Visual Studio 2005, which Microsoft no longer supports for WPF development. Since Microsoft no longer provides the tools for using Visual Studio 2005 for WPF development, we instead support using Visual Studio 2008 for development.
If you're encountering a similar issue as reported above, and you're developing using Visual Studio 2008, I strongly recommend that you submit a support request to provide details. The most important detail I suggest you include is a sample project that we can compile, run, and debug that demonstrates the issue.