Hi,
I have a datagrid. In the grid i need to have a combo box that will fill with values from a service called. On the Select change event i need to call the second service to bind the second combo box. how to fill the first combo box in page load and second combo in select change of second combo box.Both are inside the datagrid.
Thanks,
Vaijy
How to bind Combo box inside a datagrid
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Farooque AliRank #7,940 · 231 reputationPosted Dec 20, 2011, 11:26 PM EST
<telerik:GridViewComboBoxColumn Header="Reason" DataMemberBinding="{Binding Reason}" UniqueName="Reason"
DisplayMemberPath="Reason" SelectedValueMemberPath="Reason" Width="*">
<telerik:GridViewComboBoxColumn.CellTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="*">ColumnDefinition>
Grid.ColumnDefinitions>
<TextBlock Text="{Binding Reason}">TextBlock>
Grid>
DataTemplate>
telerik:GridViewComboBoxColumn.CellTemplate>
telerik:GridViewComboBoxColumn>
Code for bind the values in the Combobox inside the grid
DirectCast
(Me.AdGrid.Columns("Reason"), GridViewComboBoxColumn).ItemsSource = e.ResultPriya LingeRank #785 · 2.9K reputationPosted Dec 21, 2011, 12:57 AM EST
Please check attached code file.
Hope this will help you.
Thanks.