Drag & drop between two Splitters

2 posts, 1 answers
  1. Guna
    Guna avatar
    12 posts
    Member since:
    Dec 2008

    Posted 06 Feb 2009 Link to this post

    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: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">


    <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" >





    <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








  2. Answer
    Tsvetie avatar
    1517 posts

    Posted 09 Feb 2009 Link to this post

    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:

    Best wishes,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top