RadScrollablePanel

2 posts, 0 answers
  1. Mike Aerni
    Mike Aerni avatar
    3 posts
    Member since:
    Oct 2009

    Posted 26 Aug 2010 Link to this post

    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!!
  2. Nikolay
    Admin
    Nikolay avatar
    1805 posts

    Posted 01 Sep 2010 Link to this post

    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
Back to Top