Two Listbox DragandDrop in RadGroup each other

3 posts, 0 answers
  1. small
    small avatar
    4 posts
    Member since:
    Nov 2010

    Posted 25 Nov 2010 Link to this post

        When I DragandDrop two Listbox in RadGroup each other ,it appear a question. I must DragandDrop the item to Listboxitem nearside,or I can't drop the item to other listbox.

            <telerik:RadPane Header="ListBox1" AllowDrop="True">
                <ListBox  x:Name="lstbox" telerik:RadDragAndDropManager.AllowDrop="True"
             ItemContainerStyle="{StaticResource draggableItemStyle}">
                            <Image Source="{Binding Url}" Width="35" HorizontalAlignment="Center" Height="32" Margin="0 0 10 0" />
                            <TextBlock  TextWrapping="Wrap" Width="50" Text="{Binding Title}"/>

    1.    <ListBox.Template>


    2.                     <ScrollViewer VerticalScrollBarVisibility="Auto" BorderBrush="{x:Null}">
    3.                         <ItemsPresenter />
    4.                     </ScrollViewer>
    5.                 </ControlTemplate>
    6.     </ListBox.Template>


                        <telerik:RadWrapPanel  Orientation="Horizontal" Name="rad" />

       Please download Sample Application from below link:Below is my link of my sample application:

        Part of the source, with two pictures

  2. Maya
    Maya avatar
    4062 posts

    Posted 26 Nov 2010 Link to this post

    Hello small,

    I am sending your project back with some slight changes made. Once you run the application, you will notice that the background is changed depending on the possibility to drop in this area.

    All the best,
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. small
    small avatar
    4 posts
    Member since:
    Nov 2010

    Posted 28 Nov 2010 Link to this post

    Thank you very much.!
Back to Top