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

RadGridView EditorManager

3 Answers 119 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kevin Meyer
Top achievements
Rank 1
Kevin Meyer asked on 25 Mar 2008, 11:08 PM
There appears to be a bug somewhere in grid editors.  I have two GridViewComboBoxColumns in a grid.  Each has their own datasource setup during initialization.  When the user edits the row, they get the same values in both combo boxes, regardless of the GridViewComboBoxColumn.DataSource.  It looks like the first editor to be used of a particular type is cached and reused without its datasource refreshed.

3 Answers, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 26 Mar 2008, 04:53 PM
Hi Kevin Meyer,

Thank you for reporting this issue.

It will be addressed for the our official release Q1 2008. 

Your Telerik points have been updated. If you have any other questions do not hesitate to contact me again.

Sincerely yours,
Martin Vasilev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kevin Meyer
Top achievements
Rank 1
answered on 26 Mar 2008, 06:02 PM
Here's a temporary work-around:

1. Register for RadGridView.CellBeginEdit
2. In the event handler, clear the RadGridView.EditorManager.CachedEditors dictionary
0
Jordan
Telerik team
answered on 27 Mar 2008, 03:47 PM
Hi Kevin Meyer,

Thank you for sharing your workaround with the Telerik community.

Your workaround is correct. We traced the issue to incorrect caching of properties of the combobox editor. it has now been addressed and will not appear in the Q1 2008 version.

If you have additional questions or suggestions, do not hesitate to contact me again.

Kind regards,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
Kevin Meyer
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Kevin Meyer
Top achievements
Rank 1
Jordan
Telerik team
Share this question
or