i am having combobox inside each cell of an datagrid.the combobox is in cellediting template
and also having textblock which is in datatemplate.what i want now is when i select the item
from the combobox the selected item has to be pass to the textblock in the same cell.i tried
this code in combobox selection change event.it will display the selected item in the next cell
if anyone knows how to do it help me.
for (int i = 0; i < attendancegrid.Items.Count; i++) //ComboBox monday = (ComboBox)sender; //TextBlock txt = FindVisualChildByName(attendancegrid, "mon"); //txt.Text = monday.SelectedValue.ToString() + "/"; }