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

Radscrollablepanel scrolls up automatically

4 Answers 164 Views
ScrollablePanel
This is a migrated thread and some comments may be shown as answers.
lore jairus
Top achievements
Rank 1
lore jairus asked on 13 Mar 2014, 03:34 AM
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?

4 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 17 Mar 2014, 05:55 PM
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.

 
0
Tyler
Top achievements
Rank 1
answered on 07 Apr 2017, 05:39 PM

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.

0
Tyler
Top achievements
Rank 1
answered on 07 Apr 2017, 09:45 PM
ooops, sorry!  I found my answer here in the forums.  :) 
0
Hristo
Telerik team
answered on 10 Apr 2017, 02:02 PM
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.
Tags
ScrollablePanel
Asked by
lore jairus
Top achievements
Rank 1
Answers by
George
Telerik team
Tyler
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or