Kendo autocomplete does not work on Mouse click

6 posts, 0 answers
  1. Dinesh
    Dinesh avatar
    2 posts
    Member since:
    Feb 2014

    Posted 14 Mar 2014 Link to this post

    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.
  2. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 17 Mar 2014 Link to this post

    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.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Andre
    Andre avatar
    6 posts
    Member since:
    Jul 2013

    Posted 18 May in reply to Alexander Popov Link to this post

    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.

  5. Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 20 May Link to this post

    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
  6. Andre
    Andre avatar
    6 posts
    Member since:
    Jul 2013

    Posted 29 Jun in reply to Dinesh Link to this post

    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"
    >

  7. Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 01 Jul Link to this post

    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
Back to Top
UI for ASP.NET MVC is VS 2017 Ready