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

[Solved] GridViewComboBoxColumn binding after population

1 Answer 86 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.
Daniele
Top achievements
Rank 1
Daniele asked on 30 Aug 2010, 04:59 PM
Hi all,

I have a GridView control having a GridViewComboBoxColumn column type and I have an issue when setting initial binding value.
I populate the combo box asynchronously (I set ItemsSource, DisplayMemberPath and SelectedValueMemberPath properties) from a list, but it may happen that I set the ItemsSource property of the GridView before populating the combo box.
If it happens, I can see initial binding values when I enter in edit mode in cells of that column, not before.
Is there a way to force value binding after populating the combo box?

Thanks.

Regards.

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 31 Aug 2010, 07:30 AM
Hi Daniele,

Actually it is normal to set the ItemsSource of the gridView before you set the same property of the Combobox column. So, I do not see something unusual here.

Please check this troubleshooting article, it might be relevant to  your case:
Troubleshooting > Empty Cells in Combobox column

Kind regards,
Veselin Vasilev
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
Tags
GridView
Asked by
Daniele
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or