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

Tabbing out of Edit Cell Causes 'IndexoutOfRangeException'

3 Answers 66 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Aryn
Top achievements
Rank 1
Aryn asked on 17 Sep 2014, 11:24 PM
Hello, I have a RadGridView with several columns. Only one column is editable, the rest are readOnly. When a user opens a cell in the editable column and press 'tab' an error that says IndexOutOfRangeException was unhandled' specifically: 'An unhandled eception of type 'System.IndexOutOfRangeException' occurred in Telerik.Windows.Controls.dll'. Can anyone help me understand this error and how to get rid of it to allow the user use tab to move to the next cell. Thank you.

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 18 Sep 2014, 03:00 PM
Hi,

Do you use the latest version of UI for WPF? I tested on our latest WPF Demos and I could not reproduce any issues when tabbing out from one cell to another. 
Would you please check them if there is one similar to your scenario and let me know if you can reproduce the same exception on it?

Regards,
Dimitrina
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Aryn
Top achievements
Rank 1
answered on 18 Sep 2014, 04:01 PM
Hi, I do have the latest WPF version since I got my license 2-weeks ago. I get the error when I have to write to the db and then reload the dataSource for the grid. Whereas I do not believe any of the examples are writing to the database and then reloading the grid. But upon debugging it throws the error after resetting the dataSource. 

Any Suggestions? 
0
Dimitrina
Telerik team
answered on 22 Sep 2014, 01:58 PM
Hi,

What the result is if there are more editable columns? What particular logic do you execute as the Tab key is pressed?

Would it be possible for you to isolate the issue in a demo project and send it to us? You can also take a look at this blog post for a reference on how to isolate an issue. 

Regards,
Dimitrina
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Aryn
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Aryn
Top achievements
Rank 1
Share this question
or