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.
Unfortunately, activation email could not send to your email. Please try again.

Updating ItemsSource in SfMultiColumnDropDownControl removes the Search Text Entered

Thread ID:

Created:

Updated:

Platform:

Replies:

116164 Apr 16,2014 04:30 AM Apr 26,2014 02:30 AM WinRT 1
loading
Tags: SfMultiColumnDropDownControl
Puneet
Asked On April 16, 2014 04:30 AM

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?

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

Sivakumar R [Syncfusion]
Replied On April 26, 2014 02:30 AM

Hi Puneet,
Can you follow the below forum thread with same query asked ,
http://www.syncfusion.com/support/forums/winrt/sfmulticolumndropdowncontrol/116165

Thanks,
Sivakumar


CONFIRMATION

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.

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.

;