I have a DataGridTemplateColumn containing a combobox in its datatemplate in a datagrid wpf. the combobox has a name ie x:name="teh_cdcombo" and a selectionchanged event handler associated with this combobox. I got its reference in c# as this.columnname.
CellTemplate.LoadContent().SetValue(
ComboBox.ItemsSourceProperty, myDataSet.tablename.DefaultView);
but it is not working. can anyone help me?.