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

RadScrollBarElement.set_Value Exception when Databinding

1 Answer 93 Views
GridView
This is a migrated thread and some comments may be shown as answers.
willie johnson
Top achievements
Rank 1
willie johnson asked on 04 Aug 2010, 02:15 AM
I receive the following error when databind RadGridView to a list<T> array.
Version Telerik 2009.3.9.1203

Value of '612' is not valid for 'Value'. 'Value' must be between 'Minimum' and 'Maximum'.
Parameter name: Value

Dev Notes:
-----------------------
I am displaying value from sort by date in decending order, as the data comes in in real time. I add new incoming data to the binding
source.

' Add to binding source the peform functions below.

How do i fix this problem? Is there a fix for this in Telerik 2010 Q1?

 

 

Me.rgvTickets.GridElement.BeginUpdate()

 

m_bsTickets.ResetBindings(

 

False)

 

 

 

Me.rgvTickets.EnableHotTracking = True

 

 

 

Me.rgvTickets.GridElement.EndUpdate(True)

 



at Telerik.WinControls.UI.RadScrollBarElement.set_Value(Int32 value)
   at Telerik.WinControls.UI.GridTableElement.UpdateVScrollBarPosition(GridViewRowInfo rowInfo)
   at Telerik.WinControls.UI.GridTableElement.EnsureRowVisible(GridViewRowInfo rowInfo)
   at Telerik.WinControls.UI.GridViewRowInfo.EnsureVisible()
   at Telerik.WinControls.UI.BaseGridNavigator.SetCurrentRow(Boolean shift, Boolean ctrl)
   at Telerik.WinControls.UI.BaseGridNavigator.SelectRow(GridViewRowInfo row)
   at Telerik.WinControls.UI.GridTableElement.UpdateCurrentPosition()
   at Telerik.WinControls.UI.GridViewInfo.SetCurrentRow(GridViewRowInfo row, Boolean setPosition, Boolean shift, Boolean control, Boolean rightMouseButton)
   at Telerik.WinControls.UI.GridViewTemplate.SetCurrentRow(GridViewRowInfo rowInfo)
   at Telerik.WinControls.Data.DataAccessComponent.InitDataGrid()
   at Telerik.WinControls.Data.DataAccessComponent.currencyManager_ListChanged(Object sender, ListChangedEventArgs e)
   at System.Windows.Forms.CurrencyManager.List_ListChanged(Object sender, ListChangedEventArgs e)
   at System.Windows.Forms.BindingSource.OnListChanged(ListChangedEventArgs e)
   at StrataGem.frmTicketSummary.LoadTicketSummary(ListProcessedFiles list, Boolean isrunningrealtime)
   at StrataGem.frmTicketSummary.tmrMain_Tick(Object sender, EventArgs e)

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 04 Aug 2010, 06:38 PM
Hello willie johnson,

This issue is addressed in our latest release Q2 2010. I recommend that you try it. It contains many new features and we will appreciate your feedback.

Kind regards,
Jack
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
willie johnson
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or