Radscrollable Panel

4 posts, 0 answers
  1. Amin
    Amin avatar
    6 posts
    Member since:
    Feb 2012

    Posted 07 Feb 2012 Link to this post


    Is there any way I can get the radscrollable panel to do the following three requirements programatically in vb.net
    1 - Scroll to the top (of the panel)
    2 - Scroll to the middle (of the panel)
    3 - scroll to the end (of the panel)

    Ideally I want to see a quick animation of the scroll taking place till it reaches the either point.

    Can you tell me how the following works (what it does):
    (I tried using it as follows: Me.RadScrollablePanel1.VerticalScrollbar.PerformScrollTo(new Point(0,200)) but it did nothing)

    Is there any link for more documentation on this control.

  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 08 Feb 2012 Link to this post

    Hi Amin,

    Can you give more information about what you want to do? It sounds like something different might be suitable for your requirements. If you want moving items, you may want to take a look at the RadCarousel instead.

    Hope that helps
  3. Amin
    Amin avatar
    6 posts
    Member since:
    Feb 2012

    Posted 08 Feb 2012 Link to this post

    I have placed an equivalent of a picture box into a radscrollable panel.
    What I need to do is programatically (eg press button1) it must move to a particular position (in this case the top) on the pic - that is move the scrollablepanel to that point.
    Press Button2 and it will move to position2 of the panel
    and press button3 it will move the bottom

    The uses are multiple - this is just an easy example to explain with what I need done.

    Ideally, there must be a scrolling from point1 to 2 etc.

    If scrolling is not possible, the least I need to do is to get to that point.

    Many thanks
  4. Boryana
    Boryana avatar
    330 posts

    Posted 10 Feb 2012 Link to this post


    Thank you for writing.

    Please note that the PerformScrollTo method requires the parameter to be in screen coordinates. In this sense, the point (0,200) will indeed not move the scrollbar. I have prepared a sample project that demonstrates how to use the method. Additionally, I can suggest you to use the PerformLargeIncrement() method.

    I hope you find my answer useful. Let me know if you have further questions.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top