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

Additional space appears between items after two calls of BringIntoView

1 Answer 24 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alex
Top achievements
Rank 1
Alex asked on 17 Sep 2012, 11:34 PM
Hello.

I'm using BringIntoView method to set some view on the top of the DataBoundListBox. In my app's work scenario I need to call this method two times:

var viewToScroll = ItemsSource.Last();
 
listBox.BringIntoView(viewToScroll);
 
var currentView = GetCurrentView();
if (currentView != null)
{
    viewToScroll = currentView;
}
 
listBox.BringIntoView(viewToScroll);

After second call between most part of items appears additional space. If the app navigates to another page and after that navigates back to the page with the listbox then this incorrect spaces disappear.
A similar problem with standard ListBox discussed here: http://social.msdn.microsoft.com/Forums/en-US/wpdevelop/thread/53c19659-116f-4dcb-8263-5744795f4f1c/
But the described decision strongly impacts on the performance. And I can't apply it to the DataBoundListBox.

What can I do to solve this "additional space" problem?

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 18 Sep 2012, 07:00 AM
Hi Alex,

Thanks for writing and for reporting this issue.

We are not aware of similar issue. Can you please provide us with the exact steps of reproducing it or directly send us a demo project that we can use for debugging? In case we are able to identify the issue on our side, we will make sure to fix it as soon as possible.

Thanks for your time.

All the best,
Deyan
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
DataBoundListBox
Asked by
Alex
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or