Updating ItemsSource in SfMultiColumnDropDownControl removes the Search Text Entered
Hi Puneet,
We have tried to replicate the issue by changing
the ItemsSource on Key press but we are not able to replicate the reported
issue in our end. Could you please check the below sample and let us know more
details on your requirement,
Code snippet:
|
protected override void OnAttached()
{ this.AssociatedObject.PreviewTextInput
+= AssociatedObject_PreviewTextInput;
}
private void
AssociatedObject_PreviewTextInput(object sender,
System.Windows.Input.TextCompositionEventArgs e)
{ var
dropDown = sender as SfMultiColumnDropDownControl; var
dataContext = dropDown.DataContext as MovieRepositoryViewModel; dataContext.MoviesLists.Clear(); dataContext.MoviesLists = new NewItem();
}
protected override void OnDetaching()
{ this.AssociatedObject.PreviewTextInput
-= AssociatedObject_PreviewTextInput; } |
Please let us know if you have any queries,
Regards,
Sivakumar
Attachment: MultiColumnDropDownDemo_531d14c7.zip
- 1 Reply
- 2 Participants
-
PU Puneet
- Apr 16, 2014 08:31 AM UTC
- Apr 26, 2014 06:28 AM UTC