We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Updating ItemsSource in SfMultiColumnDropDownControl removes the Search Text Entered

Thread ID:





116165 Apr 16,2014 08:31 AM UTC Apr 26,2014 06:28 AM UTC WinRT 1
Tags: SfMultiColumnDropDownControl
Asked On April 16, 2014 08:31 AM UTC

I am updating my ItemsSource on key down event. But this is removing the text I have entered. Please let me know how to solve this?

 <syncGrid:SfMultiColumnDropDownControl AllowAutoComplete="True"
                                               AllowIncrementalFiltering="True" AutoGenerateColumns="False"
                                               AllowImmediatePopup="True" AllowNullInput="True"  
                                               Grid.Column="2"  Grid.Row="0"
                                               ItemsSource="{Binding Path=SearchResults}"
                                               Height="30" Width="400"      
                                               Text="{Binding SearchText}"
                <syncGrid:GridTemplateColumn HeaderText="Icon" Width="80">
                            <Image Source="ms-appx:///Assets/Icon_Male.png" Stretch="Uniform" Margin="5" Width="12" />
                <syncGrid:GridTextColumn HeaderText="Id" Width="120" MappingName="ApplicationID" />
                <syncGrid:GridTextColumn HeaderText="Name" Width="250"  MappingName="Name" />
                <Core:EventTriggerBehavior EventName="KeyDown">
                    <Core:InvokeCommandAction Command="{Binding UserSelectionChangedCommand}"
CommandParameter="{Binding SearchText,ElementName=AutocompleteMultiselect}" />

Sivakumar R [Syncfusion]
Replied On April 26, 2014 06:28 AM UTC

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 = new NewItem();



        protected override void OnDetaching()


            this.AssociatedObject.PreviewTextInput -= AssociatedObject_PreviewTextInput;


Please let us know if you have any queries,



Attachment: MultiColumnDropDownDemo_531d14c7.zip


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon