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

Cell Edit behavior

1 Answer 67 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dodd
Top achievements
Rank 1
Dodd asked on 13 Nov 2013, 09:31 AM
Hi, I using an editable GridViewDataColumn and have troubles on the Edit behavior..

1. When I change the value in a cell for the first time, it works fine. However, when I try to edit the cell again, an editable TextBox is enabled alright but the value won't change. When I try it for the third time, it again works fine.
2. After editing a cell, the edited cell loses focus and the selected item of RadGridView is set to an irrelevant item.
3. I'm using a MessageBox in the CellValidating event and the event is fired twice. How can I handle this in C#?


Please help me!

1 Answer, 1 is accepted

Sort by
0
Vera
Telerik team
answered on 13 Nov 2013, 01:38 PM
Hello Dodd,

In order to reproduce the problems on our side, we will need some more details on your scenario. Could you specify the version of RadControls for WPF you are currently using? Do you use CellEditTemplates? Do you have any custom logic for editing in RadGridView? What is the validation method used?

Regards,
Vera
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Dodd
Top achievements
Rank 1
Answers by
Vera
Telerik team
Share this question
or