Inconsistent behavior in GridViewCellEditEndedEventArgs.Cell.Value

2 posts, 0 answers
  1. John
    John avatar
    2 posts
    Member since:
    Jul 2013

    Posted 26 Oct 2016 Link to this post

    When I handle e.Cell.Value in my Grid.CellEditEnded event handler, it will sometime have the updated value, and other times it will not.

    Is there a method I can call on the Cell to request it to write to source?

    It seems if I end editing by clicking on a cell in the same row, it will fail, but if I end editing by click on another row it will usually work.

    Thanks for the assistance.

  2. Dilyan Traykov
    Dilyan Traykov avatar
    1171 posts

    Posted 28 Oct 2016 Link to this post

    Hello John,

    Rather than using the cell's Value, would it work for you to use the NewData property of the GridViewCellEditEndedEventArgs of the CellEditEnded event which will always contain the newly-provided value?

    Dilyan Traykov
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
Back to Top