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

[Solved] rsContentScrollArea autoscroll

4 Answers 143 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rune
Top achievements
Rank 2
Rune asked on 13 May 2009, 11:41 AM
Hi

I'm currently battling the scroll functionality of the rsContentScrollArea when the scheduler is set to monthview. Some javascript is desiding the height of this element and overflowY is set to scroll. At the same time the javascript makes the element 1px to short wich means that if I set overflowY to auto, there will allways be scroll anyways.

I want the scroll... but only when there is more than 5 rows. Anyone have a suggestion?

4 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 14 May 2009, 02:30 PM
Hi Rune,

Have you tried setting Height for RadScheduler and OveflowBahavior="Scroll". I wonder if those settings will help you achieve your goal.

Best wishes,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rune
Top achievements
Rank 2
answered on 15 May 2009, 06:21 AM
Hi Peter

I did that. But no matter how high I set the Height Attribute there is ALLWAYS at least 1 px of scroll. What happens is that the div.RadScheduler gets the height from the height attribute. The div.rsContent  only gets the height of the content... BUT, 1 px shorter than the content.

This means that there will allways be scroll. Why is that? If div.rsContent just took the height of the content if smaller than the Height attribute there would be no scroll before it was larger than the Height attribute
0
Rune
Top achievements
Rank 2
answered on 15 May 2009, 06:27 AM
By the way. I think what I am looking for is a kind of OverflowBehavior = "auto". Like in normal CSS. Where there is no scroll if the content is smaller than the chosen height.
0
Peter
Telerik team
answered on 16 May 2009, 02:37 PM
Hi Rune,

I recall an incident with similar issue, which we managed to fix recently. Please, try with the latest build and let us know if it solves the problem.

http://www.telerik.com/account/latest-internal-builds.aspx


All the best,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
Rune
Top achievements
Rank 2
Answers by
Peter
Telerik team
Rune
Top achievements
Rank 2
Share this question
or