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

GridView Crashing on row selectionchange

4 Answers 116 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sajid
Top achievements
Rank 1
Sajid asked on 27 Oct 2011, 01:08 PM

Hi there,

We are facing a strange problem in RadGridView. Upon adding a new row in GridView and input some data, application crashes after changing the focus to another row using Mouse. Whereas, if we press tab button to move focus on next column there is no crashing.

Specified argument was out of the range of valid values.
Parameter name: index

This problem occurs only on one solution whereas same usercontrol is working perfectly fine when exported to other solution having same Telerik references.

Please help us to resolve this problem. Thanks
Stack Trace is attached

Regards,
Rehan

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 27 Oct 2011, 01:14 PM
Hi,

 Please post the stack trace and more info about the grid version. 

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Sajid
Top achievements
Rank 1
answered on 27 Oct 2011, 01:57 PM
Stack Trace is attached. We are using latest version of your controls (RadControls for WPF Q2 2011 SP1).
0
Vlad
Telerik team
answered on 27 Oct 2011, 02:05 PM
Hello,

 According to the stack trace the error is raised when the grid is trying to commit the row. Can you check your data item property setters to see what's going on?

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Sajid
Top achievements
Rank 1
answered on 27 Oct 2011, 02:27 PM

 

Hi Vlad,

Thanks for your quick response. Vlad, when we move this usercontrol into another solution, it works fine without any error. So how come it is possible that item setter property is working fine in a solution and not working in another. What should be any other possible reason for this error? Please suggest. Thanks

Rehan

Tags
GridView
Asked by
Sajid
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Sajid
Top achievements
Rank 1
Share this question
or