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

RadScrollablePanel

1 Answer 160 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mike Aerni
Top achievements
Rank 1
Mike Aerni asked on 27 Aug 2010, 01:10 AM
I'm trying to programmatically set the scroll value of my panel so that I can re-open a form in the same state.  I was able to get my window scrolled to the right position by setting the internal PanelContainter's VerticalScroll.Value:

this

 

 

.radScrollablePanel1.PanelContainer.VerticalScroll.Value = value;

 



However, the scrollbar is out of sync with the window (it is scrolled all the way to the bottom).  Is there something I can call to tell the scrollbar to sync?  I tried hooking into ScrollBarSynchronizationNeeded event, but that doesn't seem to help.

Thanks!!

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 01 Sep 2010, 05:01 PM
Hello Mike Aerni,

Thank you for the question. I was able to reproduce the issue.

In order to workaround it, please set the Value property of the RadVScrollBar control contained in RadScrollablePanel:
int i = 170;
this.radScrollablePanel1.PanelContainer.VerticalScroll.Value = i;
((RadVScrollBar)this.radScrollablePanel1.Controls[1]).Value = i;

We will address the issue in one of our next releases. Your Telerik points have been updated for the feedback.

Greetings,
Nikolay
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
Tags
General Discussions
Asked by
Mike Aerni
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or