Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Panels, Labels, GroupBox > Radscrollable Panel

Not answered Radscrollable Panel

Feed from this thread
  • Amin avatar

    Posted on Feb 7, 2012 (permalink)

    Hi

    One
    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.

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


    Three
    Is there any link for more documentation on this control.


    Reply

  • Posted on Feb 8, 2012 (permalink)

    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
    Richard

    Reply

  • Amin avatar

    Posted on Feb 8, 2012 (permalink)

    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

    Reply

  • Boryana Boryana admin's avatar

    Posted on Feb 10, 2012 (permalink)

    Hello,

    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.

    Greetings,
    Boryana
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Panels, Labels, GroupBox > Radscrollable Panel
Related resources for "Radscrollable Panel"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]