Welcome to the Xceed Community | Help
Community Search  
More Search Options

WPF DataGrid 3.7 ArgumentOutOfRangeException

Sort Posts: Previous Next
  •  08-30-2010, 10:01 AM Post no. 28102

    WPF DataGrid 3.7 ArgumentOutOfRangeException

    Since updating from 3.6 to 3.7.10418.12160 I keep getting ArgumentOutOfRangeException(s) when using xceed datagrids. Code always worked since version 3.2, until now.

     Error detail :

    System.ArgumentOutOfRangeException :The specified start position is outside the range of the Generator content.

      Xceed.Wpf.DataGrid.dll!Xceed.Wpf.DataGrid.CustomItemContainerGenerator.StartGenerator(System.Windows.Controls.Primitives.GeneratorPosition startPos = {GeneratorPosition (-1,2)}, System.Windows.Controls.Primitives.GeneratorDirection direction = Backward) + 0xf8 bytes 
      Xceed.Wpf.DataGrid.dll!Xceed.Wpf.DataGrid.CustomItemContainerGenerator.CustomItemContainerGeneratorDisposableDisposer.CustomItemContainerGeneratorDisposableDisposer(Xceed.Wpf.DataGrid.CustomItemContainerGenerator generator = {Xceed.Wpf.DataGrid.CustomItemContainerGenerator}, System.Windows.Controls.Primitives.GeneratorPosition startGenPos = {GeneratorPosition (-1,2)}, System.Windows.Controls.Primitives.GeneratorDirection direction = Backward) + 0x8a bytes 
      Xceed.Wpf.DataGrid.dll!Xceed.Wpf.DataGrid.CustomItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.StartAt(System.Windows.Controls.Primitives.GeneratorPosition position = {GeneratorPosition (-1,2)}, System.Windows.Controls.Primitives.GeneratorDirection direction = Backward, bool allowStartAtRealizedItem = true) + 0x10b bytes 
      Xceed.Wpf.DataGrid.dll!Xceed.Wpf.DataGrid.Views.TableViewItemsHost.GenerateContainers(Xceed.Wpf.DataGrid.ICustomItemContainerGenerator generator = {Xceed.Wpf.DataGrid.CustomItemContainerGenerator}, double pageHeight = 272.04, Xceed.Wpf.DataGrid.Views.LayoutedContainerInfoList layoutedContainersToRecycle = Count = 0, bool measureInvalidated = true, ref Xceed.Wpf.DataGrid.Views.TableViewItemsHost.PageIndexes pageIndexes = {Xceed.Wpf.DataGrid.Views.TableViewItemsHost.PageIndexes}, out double containersHeight = 0.0) + 0x137 bytes 
      Xceed.Wpf.DataGrid.dll!Xceed.Wpf.DataGrid.Views.TableViewItemsHost.GeneratePage(double availableHeight = 272.04, bool measureInvalidated = true, ref Xceed.Wpf.DataGrid.Views.TableViewItemsHost.PageIndexes generatedPage = {Xceed.Wpf.DataGrid.Views.TableViewItemsHost.PageIndexes}, out double containersHeight = 0.0) + 0x162 bytes 
      Xceed.Wpf.DataGrid.dll!Xceed.Wpf.DataGrid.Views.TableViewItemsHost.GeneratePageAndUpdateIScrollInfoValues(System.Windows.Size availableSize = {1336;272,04}, ref double viewportHeight = 0.0) + 0x38c bytes 
      Xceed.Wpf.DataGrid.dll!Xceed.Wpf.DataGrid.Views.TableViewItemsHost.MeasureOverride(System.Windows.Size availableSize = {1336;272,04}) + 0xb6 bytes 

    When : Window + DataGridControl with DataContext => Load, UnLoad window, Load, UnLoad with different DataContext (different Data), 10 to 20 times then exception

  •  09-01-2010, 5:40 PM Post no. 28556 in reply to 28102

    Re: WPF DataGrid 3.7 ArgumentOutOfRangeException

    Hi Krijn,

    Could you send us a small test project that reproduces the issue? Please send it to support@xceed.com and include a link to this forum thread for reference. We would then be able to confirm this as a bug and submit a fix request to the development team. Thank you.

     


    Diane Lafontaine
    Technical Support / Technical Support Team Lead
    Xceed Software Inc.
  •  10-18-2010, 5:33 AM Post no. 28994 in reply to 28556

    Re: WPF DataGrid 3.7 ArgumentOutOfRangeException

    Hi

     I have sent you a sample application. Please notify me if you did not receive it.

  •  10-26-2010, 5:04 PM Post no. 29055 in reply to 28994

    Re: WPF DataGrid 3.7 ArgumentOutOfRangeException

    This was continued through email support. But for others looking in this thread for an answer, the issue is fixed and will be included in the next release that should be coming out in 2 weeks.

     


    Diane Lafontaine
    Technical Support / Technical Support Team Lead
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.