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

LaregeChange error

1 Answer 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 29 Oct 2012, 06:25 PM
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

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 01 Nov 2012, 01:11 PM
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.
Tags
General Discussions
Asked by
Kevin
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or