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

Grouping Grid and refresh DataSource -> Specified argument was out of the range of valid values.

3 Answers 54 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 26 Jul 2012, 10:17 AM
Hi Telerik Team,

I am getting a strange exception, when have a grouped gridview and refresh the datasource. 
I delete in a background operation some rows and go to the database to refresh the datasource, which is binded to the grid. I get a "Specified argument was out of the range of valid values. Parameter name: index" - Exception on the setter of the datasource. 

I similar problem was discriped in this thread, but I couldn't solve it for WPF.
http://www.telerik.com/community/forums/aspnet-ajax/grid/expanded-hierarchical-grid-hit-error-specified-argument-was-out-of-the-range-of-valid-values-parameter-name-itemhierarchicalindex.aspx 

Best,
Thomas

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 26 Jul 2012, 02:03 PM
Hi,

 I have tested refreshing the ItemsSource of a grouped GridView with some groups expanded but so far I did not observed any errors.  I have tested with the latest binaries.

May I ask you if you have the problem with our most recent version - Q2 2012 Service Pack? 


All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Andreas
Top achievements
Rank 1
answered on 01 Aug 2012, 08:27 AM
Hello Didie,

I am currently using 2012.1.215.40 (Q1 2012) controlls.

Thanks for your reply
0
Dimitrina
Telerik team
answered on 01 Aug 2012, 08:42 AM
Hello,

According to the Q2 2012 Release Notes : "Expand group row with no columns throws exception is now fixed."  May I ask you to download the latest assemblies and test with them?
Please let me know about the result.

All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Andreas
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Andreas
Top achievements
Rank 1
Share this question
or