This project is read-only.

SingleConceptMapping Control

Jan 13, 2010 at 10:03 PM
Edited Jan 21, 2010 at 10:23 PM

 

After I click  InputBox "Clear" button, InputBox data source did not change, still shows previous list.

For example, first I search for "Heart", I got a list of concept, then I click "Clear" button, and enter "Skin" in InputBox to serach, the InputBox still shows the list of concept for "Heart", if someone could give me some advise please.

These are code are used in C#:

private void theConceptMatching_Cleared(object sender, RoutedEventArgs e)
        {
            theConceptMatching.Clear();
            theConceptMatching.InputBoxItemsSource = null;
            theConceptMatching.SubsetPickerSelectedItem = lstSubset.FirstOrDefault();
            theConceptMatching.FocusInputBox();
           
        }

In Xaml:

<StackPanel Grid.Row="3" Grid.Column="1" Orientation="Horizontal" >
            <mscui:SingleConceptMatching x:Name="theConceptMatching"
                FilterSelectedIndexChanged ="theConceptMatching_FilterSelectedIndexChanged"
                InputBoxSearchButtonClicked="theConceptMatching_InputBoxSearchButtonClicked"
                Cleared="theConceptMatching_Cleared"               
                 >
              </mscui:SingleConceptMatching>
</StackPanel>

Thanks,