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

Drag & drop between two Splitters

1 Answer 80 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Guna
Top achievements
Rank 1
Guna asked on 06 Feb 2009, 06:22 AM


I am design the master page with nested RadSplitter controls, (one is top menu area, another one is Left pane , another one is Content area). 

Left pane contain tree view, if I click the tree node corresponding page loading within the content area by using
ContentUrl property.
Now I want to drag and drop between Left pane to Content area. But drag and drop not supported here.

Any solution for this

<telerik:RadSplitter ID="MainSplitter" runat="server" EnableEmbeddedSkins="false" Skin="MySkin" Height="100%" Width="100%" VisibleDuringInit="false" Orientation="Horizontal" OnClientLoaded="OnClientLoaded" ResizeMode="Proportional">

<telerik:RadPane ID="TopPane" runat="server" Height="72" MinHeight="72" MaxHeight="120" CssClass="menuPanes" Scrolling="Both">

    Menu area

</telerik:RadPane>

<telerik:RadSplitBar ID="RadsplitbarTop" runat="server" CollapseMode="None"/>

<telerik:RadPane ID="MainPane" runat="server" Scrolling="none" MinWidth="500">

<telerik:RadSplitter ID="NestedSplitter" runat="server" EnableEmbeddedSkins="false" Skin="MySkin"
SplitBarsSize="8" VisibleDuringInit="false" LiveResize="true"  OnClientLoaded="OnClientLoaded">

<telerik:RadPane ID="LeftPane" runat="server" Width="220" BorderSize="0" Scrolling="None">

        TreeView    

<telerik:RadSplitter ID="RadSplitter2" runat="server" Orientation="Horizontal" EnableEmbeddedSkins="false" Skin="MySkin" VisibleDuringInit="false" SplitBarsSize="8" OnClientLoaded="OnClientLoaded" BorderSize="0" HeightOffset="50">

<telerik:RadSplitBar ID="RadSplitbar2" runat="server" CollapseMode="Backward" BorderSize="0" CollapseExpandPaneText="Collapse/Expand the BriefCase" ToolTip="Test" >

Grid

</telerik:RadSplitBar>

</telerik:RadSplitter>

</telerik:RadPane>

<telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward" CollapseExpandPaneText="Collapse/Expand the View Area" />

<telerik:RadPane ID="ContentPane" runat="server">

<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

Content Area

 

</asp:ContentPlaceHolder>

</telerik:RadPane>

</telerik:RadSplitter>

</telerik:RadPane>

</telerik:RadSplitter>

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Tsvetie
Telerik team
answered on 09 Feb 2009, 09:54 AM
Hi Guna,
When you set the ContentUrl property of the RadPane, the pane actually creates an IFRAME element and opens the link in that IFRAME. That is why, you are actually trying to drag content from one page onto another. As you yourself probably assume, this is not possible. Please refer to the following forum thread for one possible approach to the situation:
http://www.telerik.com/community/forums/aspnet-ajax/treeview/how-to-drag-and-drop-tree-node-onto-an-iframe.aspx

Best wishes,
Tsvetie
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Splitter
Asked by
Guna
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or