Tabbing out of Edit Cell Causes 'IndexoutOfRangeException'

4 posts, 0 answers
  1. Aryn
    Aryn avatar
    9 posts
    Member since:
    Jul 2014

    Posted 17 Sep 2014 Link to this post

    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.
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 18 Sep 2014 Link to this post

    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.
     
  3. Aryn
    Aryn avatar
    9 posts
    Member since:
    Jul 2014

    Posted 18 Sep 2014 in reply to Dimitrina Link to this post

    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? 
  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 22 Sep 2014 Link to this post

    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.
     
Back to Top