DragDrop Crash on Treeview

3 posts, 0 answers
  1. Oualid
    Oualid avatar
    2 posts
    Member since:
    Nov 2013

    Posted 07 Nov 2013 Link to this post

    Hello,

    Can someone help me to resolve this problem below:
    I insert the treeview in a GridColumn, th the program crash when the Width of this GridColumn is auto (work fine when iss "*").
    you reproduce the issue by changing the sample  TreeViewDnDNew.zip in this thread :
    http://www.telerik.com/community/forums/silverlight/treeview/refactor-deprecated-code-in-sample.aspx

    Like that:

    <Grid x:Name="LayoutRoot" Background="White">

    <Grid.RowDefinitions>

    <RowDefinition Height="*" />

    </Grid.RowDefinitions>

    <Grid.ColumnDefinitions>

    <ColumnDefinition Width="Auto" />

    <ColumnDefinition Width="*" />

    </Grid.ColumnDefinitions>

    <telerik:RadTreeView x:Name="tree" IsDragDropEnabled="True"

    ItemTemplate="{StaticResource ItemTemplate}"

    ItemsSource="{Binding Items}"

    Grid.Column="0"

    />

    <Button Grid.Column="1" Content="Save" Height="24" Margin="0,23,179,238" Width="100"/>

    </Grid>

    Best regards

  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 12 Nov 2013 Link to this post

    Hello Oualid,

    This issue is already fixed and the fix is available with our latest official release. If you change the TreeViewDnDNew solution to use the 2013.3.1016 assemblies there will be no exceptions thrown. Please take a look at the attached updated solution and let me know if it works for you.

    Regards,
    Tina Stancheva
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Oualid
    Oualid avatar
    2 posts
    Member since:
    Nov 2013

    Posted 12 Nov 2013 Link to this post

    Hello Tina,
    Thank very much for your help,
    This sample work fine for me

    Yours sincerely
    Oualid RIABI
Back to Top