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

GridViewComboBoxColumn DropDown Event

1 Answer 120 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 2
Greg asked on 23 Aug 2011, 04:21 PM
Hello,

I need to be able to update a GridViewComboBoxColumn's ItemsSource when it drops down. How can I capture the drop down event of the GridViewComboBoxColumn? An example would be appreciated.

G

p.s. I am NOT using MVVM. I am binding the GridViewComboBoxColumn using ItemsSource of a List<int>.

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 23 Aug 2011, 05:02 PM
Hello Greg,

You might try to handle the PrepareingCellForEdit event of the grid. However, depending on your specific requirements, you may use the ItemsSourceBinding of the GridViewComboBoxColumn. Thus you will be able to specify the source of the column for each item. You may also run through this blog post for a reference.
Please let me know whether the suggested approaches fit into your scenario. 


All the best,
Maya
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
GridView
Asked by
Greg
Top achievements
Rank 2
Answers by
Maya
Telerik team
Share this question
or