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

DragDrop Crash on Treeview

2 Answers 48 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Oualid
Top achievements
Rank 1
Oualid asked on 07 Nov 2013, 04:32 PM
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 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 12 Nov 2013, 02:26 PM
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 >>
0
Oualid
Top achievements
Rank 1
answered on 12 Nov 2013, 03:25 PM
Hello Tina,
Thank very much for your help,
This sample work fine for me

Yours sincerely
Oualid RIABI
Tags
DragAndDrop
Asked by
Oualid
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Oualid
Top achievements
Rank 1
Share this question
or