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

[Solved] Cell contents are not committed when focus shifts within a HierarchyChildTemplate despite ActionOnFocusLost being set6 to CommitEdit

3 Answers 84 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Geoff Hardy
Top achievements
Rank 1
Geoff Hardy asked on 25 Feb 2010, 08:13 PM
Inside our RadGridView, we have a HierarchyChildTemplate which contains another grid and some other controls. We have the ActionOnLostFocus set to CommitEdit on both the main and child grids, however if you edit a cell in the child gridview and then click on another control in the HierarchyChildTemplate, the current edit in the grid does not get committed. Is this a bug in the RadGridView or am I just doing something wrong?

I have been attempting to find a workaround involving checking if the current cell is in edit mode when the grid loses focus, but this seems clumsy and I have not found a good way to handle it.

Any advice will be greatly appreciated!

Thanks,

Geoff

3 Answers, 1 is accepted

Sort by
0
Geoff Hardy
Top achievements
Rank 1
answered on 01 Mar 2010, 08:15 PM
I have also tried changing from using a HierarchyChildTemplate to using a RowDetailsTemplate and I still get this problem. This seems to a serious problem with the datagrid. Does anyone know if this is a bug or if it supposed to work this way?
0
Accepted
Nedyalko Nikolov
Telerik team
answered on 02 Mar 2010, 10:37 AM
Hi Geoff Hardy,

We fixed similar issue recently.
Please try your scenario with our latest internal build, it should work as expected.
Sorry for the inconvenience caused.

Kind regards,
Nedyalko Nikolov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Geoff Hardy
Top achievements
Rank 1
answered on 02 Mar 2010, 10:20 PM
Using the latest internal build did indeed fix the problem with the grid view not committing changes. Unfortunately it introduced another problem with the RadTabControl which I will post to the RadTabControl forum...
Tags
GridView
Asked by
Geoff Hardy
Top achievements
Rank 1
Answers by
Geoff Hardy
Top achievements
Rank 1
Nedyalko Nikolov
Telerik team
Share this question
or