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

Scheduler inside a scrolling div

1 Answer 64 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
gershie
Top achievements
Rank 1
gershie asked on 31 Aug 2010, 05:04 PM
Hello, I have a page that has scrolling disabled on the page so that the header stays in place. Instead there is a div on the page below the header that has scrolling enabled. When I put a scheduler in the div, it does not stay within the div. This simple bit of code is enough to demonstrate the issue:

 

<div style="height:300px;width:300px;overflow:scroll;">
    <Telerik:RadScheduler runat="server" OverflowBehavior="Expand"
        DataKeyField="none" DataSubjectField="none" DataStartField="none" DataEndField="none" />
</div>

 

Another option that I have tried is to use the built-in scrolling of the scheduler:

<Telerik:RadScheduler runat="server" OverflowBehavior="Scroll"
    DataKeyField="none" DataSubjectField="none" DataStartField="none" DataEndField="none" />

 
But in this case a height for the scheduler needs to be decided ahead of time. The scheduler will either not fill the available space or it would expand outside of the div. As far as I can tell, the height can't be adjusted to take up all the available space using the client-side API when the window is resized. (I had success doing this with the RadSplitter on other pages.)

Is there a solution that would allow all the available space to be taken up without the scheduler expanding outside of the div, even when the window is resized?

Please let me know if there are other options.

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Kamen Bundev
Telerik team
answered on 03 Sep 2010, 10:42 AM
Hi Gershie,

This happens due to the position: relative bug in IE6/7. To fix it, just set position: relative to your scrolling container.

Sincerely yours,
Kamen Bundev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
gershie
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Share this question
or