AutoComplete scroll to view

6 posts, 0 answers
  1. Simon yang
    Simon yang avatar
    15 posts
    Member since:
    Sep 2009

    Posted 21 Jan 2010 Link to this post

    I use the edited cbo,and my cbo have 20 items.when type a character,it match the last item.I think it can scroll to the last item,but in fact not.I tried many times,found it can only scroll to the second or third item from the bottom.Can you tell me why?Isn't it a bug?
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 21 Jan 2010 Link to this post

    Hi Simon,

    I suppose you are using older version of RadComboBox. I suggest trying the latest service pack assemblies that were released a couple of weeks ago.

    Greetings,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Simon yang
    Simon yang avatar
    15 posts
    Member since:
    Sep 2009

    Posted 21 Jan 2010 Link to this post

    Thanks for your quick reply!
    I have another problem,still in editable cbo.I scroll mouse wheel in the edit text box of cbo,I want the popup open,and it can scroll and highlight items in popup.Please give a method to do this?
  4. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 25 Jan 2010 Link to this post

    Hi Simon,

    You could add an event handler to the MouseWheel event and in that handler set the IsDropDownOpen property of RadComboBox to true.

    Kind regards,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Simon yang
    Simon yang avatar
    15 posts
    Member since:
    Sep 2009

    Posted 28 Jan 2010 Link to this post

    Maybe you did not understand what I said.I add an event handler to the MouseWheel event and in that handler set the IsDropDownOpen property of RadComboBox to true,but It is not what I want.Firstly,the popup open not as soon as I wheel the mouse;Secondly,I want it can scroll every item in the popup,like the mouse over the items from first to last,not only move the scroll bar.

    Do you know what I mean?
  6. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 28 Jan 2010 Link to this post

    Hi Simon,

    I understand now. I tried to recreate your requirement and now I think that it is not currently possible with RadComboBox. First, when the dropdown is closed, on mouse wheel RadComboBox will try to change its selection and if it succeeds, it will handle the event, preventing the external event handler from executing (e.g. while the selection can be changed the event handler will not be executed and the dropdown cannot be open). On the other hand, when the dropdown is open, RadComboBox will not change its selection, but will only scroll its dropdown. Unfortunately both behaviors cannot be overridden or customized.

    Sincerely yours,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top