LaregeChange error

2 posts, 0 answers
  1. Kevin
    Kevin avatar
    1 posts
    Member since:
    Oct 2010

    Posted 29 Oct 2012 Link to this post

    Upgraded to the latest version of telerik.  From v.2012.1.301 to v2012.3.1017.  We now get the following exception when UI adds a UserControl, which has a RadTreeView to a RadPageViewTabPage:



    ExceptionMessageBoxShown@Value of '-2147483648' is not valid for 'LargeChange'. 'LargeChange' must be greater than or equal to 0.
    Parameter name: LargeChange
    System.ArgumentOutOfRangeException: Value of '-2147483648' is not valid for 'LargeChange'. 'LargeChange' must be greater than or equal to 0.
    Parameter name: LargeChange
       at Telerik.WinControls.UI.RadScrollBarElement.set_LargeChange(Int32 value)
       at Telerik.WinControls.UI.RadTreeViewElement.UpdateOnMeasure(SizeF availableSize)
       at Telerik.WinControls.UI.VirtualizedScrollPanel`2.MeasureOverride(SizeF availableSize)
       at Telerik.WinControls.RadElement.MeasureCore(SizeF availableSize)
       at Telerik.WinControls.RadElement.Measure(SizeF availableSize)
       at Telerik.WinControls.RootRadElement.MeasureOverride(SizeF availableSize)
       at Telerik.WinControls.RootRadElement.MeasureCore(SizeF availableSize)
       at Telerik.WinControls.RadElement.Measure(SizeF availableSize)
       at Telerik.WinControls.RadElementTree.PerformInnerLayout(Boolean performMeasure, Int32 x, Int32 y, Int32 width, Int32 height)
       at Telerik.WinControls.RadControl.OnLoad(Size desiredSize)
       at Telerik.WinControls.UI.RadTreeView.OnLoad(Size desiredSize)
       at Telerik.WinControls.RadControl.LoadElementTree(Size desiredSize)
       at Telerik.WinControls.RadControl.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
       at System.Windows.Forms.Control.set_Visible(Boolean value)
       at Telerik.WinControls.UI.RadPageViewPage.set_Visible(Boolean value)
       at Telerik.WinControls.UI.RadPageViewElement.SetSelectedContent(RadPageViewItem item)
       at Telerik.WinControls.UI.RadPageViewElement.SetSelectedItem(RadPageViewItem item)
       at Telerik.WinControls.UI.RadPageViewStripElement.SetSelectedItem(RadPageViewItem item)
       at Telerik.WinControls.UI.RadPageViewElement.OnSelectedPageChanged(RadPageViewEventArgs e)
       at Telerik.WinControls.UI.RadPageView.SetSelectedPage(RadPageViewEventArgs e)
       at Telerik.WinControls.UI.RadPageView.set_SelectedPage(RadPageViewPage value)
       at MainApp.MainShell.Display(IContent aContent) in C:\svn\dev\source\ui\MainApp\MainShell\MainShell.cs:line 1832
  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 01 Nov 2012 Link to this post

    Hi Kevin,

    Thank you for writing.

    I am not able to reproduce the issue with the supplied information. Could you send me a sample project where the issue occurs? 

    I am looking forward your response.

    All the best,
    Peter
    the Telerik team
    Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
Back to Top