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

How do I get the GridView Cell Value when I direct click on the Save Button after typing something in a GridView Cell, without tab-out/Lost Focus?

1 Answer 85 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Muhammad
Top achievements
Rank 1
Muhammad asked on 29 Feb 2020, 09:46 AM
I am using Telerik RadGridView for WPF. I have a scenario where a user types some value in the RadGridView cell and then clicks on the save button. I want to get the updated value that the user just typed in the cell. When I tab-out from the cell then I can get the updated value in CellEditEnded event. But in my scenario I don't want to tab-out from the RadGridView cell.

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 04 Mar 2020, 04:14 PM

Hello Muhammad,

If I understand your requirement properly, you need to get the updated value of the cell on button click. Please correct me if I am wrong. If this is your scenario, you can call the CommitEdit property of RadGridView when you click on the Save button. Can you please try this approach and let me know how it goes?

Regards,
Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Muhammad
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or