Scroll into View not working on text search

10 posts, 0 answers
  1. Paul
    Paul avatar
    113 posts
    Member since:
    May 2009

    Posted 26 Oct 2010 Link to this post

    Hi,
        In the latest Silverlight 4 Q2 controls and even on your demo's of the combobox when you do a textsearch by pressing keys the item is highlighted in the dropdown list but does not scrollintoview you have to scroll your self to see thats it's highlighted and then select it.

    So if the dropdown is showing and I type I want the item that is being highlighted brought into view.

    Is this a bug that has reappeared?

    Thanks
  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 28 Oct 2010 Link to this post

    Hello Paul,

    We are aware of this problem and we will do our best to fix it for the upcoming Q3. It will be released in a couple of weeks.

    Please, excuse us for the inconvenience. We have added points to your account for the report. Don't hesitate to contact us if you have other questions.


    Regards,
    Boyan
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Tyree
    Tyree avatar
    105 posts
    Member since:
    Dec 2006

    Posted 15 Nov 2010 Link to this post

    I assume this did not make it into Q3?
  5. Bruno
    Bruno avatar
    54 posts
    Member since:
    Jul 2012

    Posted 16 Nov 2010 Link to this post

    Hi,
    I've the same Problem - using Q3 2010.
    Is there an easy work-around? Or is there an update in the next few days?

    Thank you.
  6. Tyree
    Tyree avatar
    105 posts
    Member since:
    Dec 2006

    Posted 17 Nov 2010 Link to this post

    This isn't 100% depending on how you use the combobox but based on the settings I use this works for me. If you put it in DropDownOpened and IsFilteringEnabled=False it should work every time the dropdown is opened. Or put it in both...

    Good luck

    private void RadComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
    {
        var cmb = sender as RadComboBox;
        if (cmb != null) {
            if (cmb.SelectedItem == null) return;
            if (cmb.IsDropDownOpen)
            {
                RadComboBoxItem cmbItem = cmb.GetItemsAndContainers<RadComboBoxItem>().Where(item => item.Key == cmb.SelectedItem).Select(item => item.Value).FirstOrDefault();
                if (cmbItem != null)
                {
                    cmb.GetScrollHost().ScrollIntoView(cmbItem);
                }
            }
        }
    }
  7. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 18 Nov 2010 Link to this post

    Hi Guys,

    First  thank you for your involvement and the workaround Robert.

    This fix didn't make it for the Q3 release, we know it is important and we will do our best to provide it for the next week's internal build. Hope this timeframe is acceptable for you.

    Sorry to all, for the inconvenience caused.

    Best wishes,
    Boyan
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  8. Sergey Arutchev
    Sergey Arutchev avatar
    14 posts
    Member since:
    Sep 2009

    Posted 06 Dec 2010 Link to this post

    Hi Boyan,

    I've just downloaded latest internal build (2010.3.1129.1040) and issue is still there. When user type in edit area and drop-down list is presented selected item does not scrolled into view. If user simply press down arrow to see list of available choices currently selected item does not scrolled into view. Application I'm woking on has a lot of drop-downs and implement some strange work around for VERY BASIC AND STANDARD behavior does not look right for me. I hope you will be able to fix it.  Do you have more accurate estimate on when it can be done?  

    Thanks,
    Sergey
  9. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 09 Dec 2010 Link to this post

    Hello Sergey Arutchev,

    The fix was delayed a little bit. And didn't make it for the internal build. However it is now ready and it will be available in the next internal build or in the service pack which will be released very soon.

    Sorry again for the caused inconvenience.

    Greetings,
    Boyan
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  10. Sergey Arutchev
    Sergey Arutchev avatar
    14 posts
    Member since:
    Sep 2009

    Posted 09 Dec 2010 Link to this post

    Hi Boyan,
    Thank you for the info. Will wait for next build.
  11. Chad
    Chad avatar
    1 posts
    Member since:
    Sep 2011

    Posted 21 Sep 2011 Link to this post

    Thanks Tyree for the code.  It was exactly what I was looking for.  I found another solution that I want to share.  Using Virtualization fixes this issue.

    Thanks again for sharing your solution.
    Chad
Back to Top
DevCraft banner