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

SplitterBar goes under PDF viewer

1 Answer 84 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Dwayne Trott
Top achievements
Rank 1
Dwayne Trott asked on 12 Jan 2011, 05:35 PM
I display pdf documents in a RadPane and when I use the SplitterBar to reduce the size of the viewing area it goes under the PDF viewer and I am not able to release it to resize.

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 13 Jan 2011, 04:35 PM
Hello Dwayne Trott,

 This problem occurs because the PDF loaded by the browser is a heavy weight object which "consumes" the standard DOM events, and this is causing the mousemove event which is responsible for the resize is not executed correctly.

A possible solution for such scenario (when loading heavy weight objects in RadPane) you can set RadSplitter's LiveResize property to true, e.g.:

Copy Code
<telerik:RadSplitter ID="RadSplitter1" Width="100%" Height="100%" runat="server" LiveResize="true">
    <telerik:RadPane ID="RadPane1" runat="server" Width="150px"></telerik:RadPane>
    <telerik:RadSplitBar ID="RadSplitBar1" runat="server" />
    <telerik:RadPane ID="RadPane2" runat="server" ContentUrl="RadControlsAJAXCourseware.pdf"></telerik:RadPane>
</telerik:RadSplitter>


All the best,
Svetlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Splitter
Asked by
Dwayne Trott
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or