I have a silverlight app. The help I need is with clearing the xamcomboboxeditor.
I have posted a sample database and my project at this location:
http://foxjazz.net/pslite.7z
and
http://foxjazz.net/pslightdb.7z
When I use the manage button, and select from the dropdown 2 levels. Then I go back and select from the first dropdown, it seems that the control doesn't clear out properly and also retains the last picked item.
I need the control to be at initial state, and I am not seeing any way to get this to work.
Ideas?
HI,
Here some code to bring the XamComboEdtior to its intial state
xcombo1.SelectedItems.Clear(); xcombo1.SelectedItem = null; xcombo1.SelectedIndex = -1 ;
Sincerely, Matt Developer Support Engineer
ok, think I figured it out.
xamcMake.ItemsSource=null;
xamcMake.Items.Clear();
xamcMake.SelectedInex = -1
xamcMake.SelectedItem = null
Wow, can't you just freaken have a clear function?
Please let me know if you need further assistance regarding this issue.
HI foxjazz,
I created a feature request for this issue PI2050004.