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

RadPane and scrolling DIV within

1 Answer 174 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
mike
Top achievements
Rank 1
mike asked on 09 Aug 2010, 02:06 AM

 

I have a RadPane Scrolling="None".
Inside is 2 divs one a heading the other content.
I want the content to scroll if it overflows keeping the heading up top.
Content displays scroll bars but cannot scroll, any ideas?

 

<telerik:RadPane RadPane Scrolling="None">
   
 <div id="Heading">Heading and buttons</div>
 
 <div id="content" class="pnlBar" style="overflow:scroll>
    ..........................
 </div>
</telerik:RadPane>

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 09 Aug 2010, 04:03 PM
Hello mike,

Please, note, that your question is not directly related to RadSplitter but to general ASP and CSS knowledge. To make a DIV element scrollable, you should make sure that it fulfils the following:

- has explicit size in pixels set
- has overflow auto.

On a side note, you can also achieve the same by nesting another splitter in the RadPane instead of DIVs and set the header with explicit size and the second pane with Scrolling="Both".

Kind regards,
Svetlina
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
Splitter
Asked by
mike
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or