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