Dear all:
how could i avoid a selectionchanged event when i bind data source to a combobox?
ex:
void getVersionCompleted(...)
{
....
combobox1.ItemsSource = e.result;
//then it will call combobox1.selectionchanged event but i don't want
}
i try add combobox1.items.clear() before "combobox1.ItemsSource = e.result;"
but got a error message: System.InvalidOperationException was unhandled by user code
please kindly help...
thanks~
how could i avoid a selectionchanged event when i bind data source to a combobox?
ex:
void getVersionCompleted(...)
{
....
combobox1.ItemsSource = e.result;
//then it will call combobox1.selectionchanged event but i don't want
}
i try add combobox1.items.clear() before "combobox1.ItemsSource = e.result;"
but got a error message: System.InvalidOperationException was unhandled by user code
please kindly help...
thanks~