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

Scroll into View not working on text search

9 Answers 119 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 26 Oct 2010, 11:12 AM
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

9 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 28 Oct 2010, 03:14 PM
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
0
Tyree
Top achievements
Rank 2
answered on 16 Nov 2010, 05:35 AM
I assume this did not make it into Q3?
0
Bruno
Top achievements
Rank 1
answered on 16 Nov 2010, 08:44 AM
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.
0
Tyree
Top achievements
Rank 2
answered on 17 Nov 2010, 07:10 PM
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);
            }
        }
    }
}
0
Boyan
Telerik team
answered on 18 Nov 2010, 11:06 AM
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
0
Sergey Arutchev
Top achievements
Rank 1
answered on 06 Dec 2010, 07:21 PM
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
0
Boyan
Telerik team
answered on 09 Dec 2010, 01:10 PM
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
0
Sergey Arutchev
Top achievements
Rank 1
answered on 09 Dec 2010, 03:05 PM
Hi Boyan,
Thank you for the info. Will wait for next build.
0
Chad
Top achievements
Rank 1
answered on 21 Sep 2011, 08:24 PM
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
Tags
ComboBox
Asked by
Paul
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Tyree
Top achievements
Rank 2
Bruno
Top achievements
Rank 1
Sergey Arutchev
Top achievements
Rank 1
Chad
Top achievements
Rank 1
Share this question
or