This is a migrated thread and some comments may be shown as answers.

Kendo autocomplete does not work on Mouse click

5 Answers 343 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Dinesh
Top achievements
Rank 1
Dinesh asked on 14 Mar 2014, 06:01 AM
Hello Everyone,
I am using autocomplete feature of Kendo. I am getting autocomple feature when I type something in text box( in my case I am showing company Names in autosuggestion).
My requirement is to select a autocomplete suggestions from list on click of mouse and then fetch Address correspond to selected company.

It is working on enter of Keyboard but is not working with Mouse click.
Please suggest me how can I achieve this.
Which Event of mouse should I use to achieve this.

5 Answers, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 17 Mar 2014, 04:11 PM
Hi Dinesh,

I tried to reproduce this behavior, but to no avail. As you can see in this screencast, selecting the suggestion using the mouse works as expected. Could you please provide a runnable project where the issue is reproduced? This would help us pinpoint the exact reason for this behavior.

Regards,
Alexander Popov
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
0
Andre
Top achievements
Rank 1
answered on 19 May 2016, 01:23 AM

We have a similar problem; in SuggestAppend mode, mouse click on a suggested item that is NOT selected.

The dropdown will disappear, but clicked item will not be the selected item.

I don't think that's what the user will expect.

0
Ivan Danchev
Telerik team
answered on 20 May 2016, 11:32 AM
Hello Andre,

I recorded a short video showing how the clicked items are selected with automatic suggestion enabled. Have you observed a different behavior at your end, from the one demonstrated in the video?

Regards,
Ivan Danchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Andre
Top achievements
Rank 1
answered on 29 Jun 2016, 07:22 PM

Apologies for the delay. The problem is around how it matches, when you type. Looking at the attached screen captures, once there is a strong match found, clicking on a different row, does not change the selection. If the is no specific selection it works as expected.

 Hope that helps

<busControls:TaxAutoCompleteBox
    SearchText="{Binding Path=TaxRate.Code, UpdateSourceTrigger=PropertyChanged, FallbackValue={x:Null}}"
    ItemsSource="{Binding  Path=Content.ProxyDataContext.TaxRates}"
    SelectedItem="{Binding Path=TaxRate, Mode=TwoWay, UpdateSourceTrigger=LostFocus, FallbackValue={x:Null}}"
                                                 
    TextSearchMode="Contains"
    TextSearchPath="Code"
                                                 
    SelectionMode="Single"
    AutoCompleteMode="SuggestAppend"
    DropDownWidth="Auto"
    TextBoxStyle="{StaticResource TkAutoCompleteTextBoxStyle}"
    HorizontalAlignment="Stretch"
>

0
Ivan Danchev
Telerik team
answered on 01 Jul 2016, 12:55 PM
Hello Andre,

I see you are using AutoCompleteBox for WPF. Since the current thread is for the AutoCompleteBox for ASP.NET MVC I would ask you to open a new thread in the corresponding WPF Forum section or in the ticketing system and attach a sample runnable project, which reproduces the issue you are facing, in order for the colleagues supporting the WPF product to be able to provide further assistance. 

Regards,
Ivan Danchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
AutoComplete
Asked by
Dinesh
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Andre
Top achievements
Rank 1
Ivan Danchev
Telerik team
Share this question
or