Radscrollablepanel scrolls up automatically

5 posts, 0 answers
  1. lore jairus
    lore jairus avatar
    1 posts
    Member since:
    Mar 2014

    Posted 12 Mar 2014 Link to this post

    Hello,

    I have this annoying issue about the radscrollablepanel, what i do is inside the scrollablepanel  i put a radgridview on it.
    When the gridview is populated the radscrollablepanel adjust and works well, but the issue is when you scroll at the middle or bottom part 
    of gridview and click on row or cell. It automatically scrolls you up into the top instant and by that you cant edit something in rows which you have scrolled.
    Is there any ways to stop the scrollablepanel in scrolling automatically?
  2. George
    Admin
    George avatar
    500 posts

    Posted 17 Mar 2014 Link to this post

    Hi Lore,

    Thank you for contacting us.

    This functionality comes from the Panel (since RadScrollablePanel derives from it) class which is a part of the standard .NET controls. This behavior is standard, you can search through the forums, such as StackOverflow about how to modify it. For example the following post seems interesting: c# - Why does clicking in a text box cause an AutoScroll panel to scroll back to the top? - Stack Overflow.

    Let me know if you need further assistance.

    Regards,
    George
    Telerik
     

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

     
  3. Tyler
    Tyler avatar
    3 posts
    Member since:
    Mar 2017

    Posted 07 Apr Link to this post

    I am having the same issue.. the only solution I have found is to NOT use the RadScrollablePanel, but instead use a regular Panel then override the ScrollToControl and return the AutoScrollPosition.  

     

    BUT I need the theme we are using from telerik to be extended to the scrollbars.  Is there an easy way of doing this with the RadScrollablePanel.  I tried to override the ScrollToControl, but it does nothing and never gets hit in the RadScrollablePanel wrapper.

  4. Tyler
    Tyler avatar
    3 posts
    Member since:
    Mar 2017

    Posted 07 Apr Link to this post

    ooops, sorry!  I found my answer here in the forums.  :) 
  5. Hristo
    Admin
    Hristo avatar
    888 posts

    Posted 10 Apr Link to this post

    Hello Tyler,

    I am glad that you have managed to resolve your issue. 

    Please let me know if you need further assistance.

    Regards,
    Hristo
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top