Browse by Tags
» Binding (RSS)
I have the .NET grid (not WPF) with a column that contains a combobox, that is bound to a datatable in a dataset.
I do the binding like this:
void MyCombo_ActivatingControl(object sender, CellEditorEventArgs e)
WinComboBox myCombo = e.Control as WinComboBox;
I am using Model View ViewModel pattern. I have a button inside a DataCell of Xceed DataGrid. I want to use DelegateCommand to handle the click event of the button.
Also, I dont want to write anything for the same in my Code Behind. I want everything to reside in my ViewModel.
How can this be achieved. I thought of RoutedEvents / ...
I'm trying to link two ComboBoxes in a DataGrid so one is filtered according to the selection of the other. I can get it to work fine outside of the DataGrid, but think I need to change the way I reference the master ComboBox.
They are bound to LINQ to SQL Classes.
Thank you in ...
I tried the example given over there. But it failed. I have pasted the XAML of my Grid control.
<xceed:DataGridControl Margin=''10'' Height=''350'' Name=''MappingGrid'' Width=''Auto'' VerticalAlignment=''Top'' ...
How to bind a DataTable in the same code-behind to the ComboBox column of the DataGrid?