Hi,
I downloaded the latest internal build
RadControls_for_WPF_40_2011_1_0510_DEV_hotfix.zip
and the last item in my treelistview is not showing
I noticed this when I was trying to insert items in my collection
switched back to the 2011q1 and its fine
but I still need the performance improvement and filter fixes from the internal build
Cheers
I downloaded the latest internal build
RadControls_for_WPF_40_2011_1_0510_DEV_hotfix.zip
and the last item in my treelistview is not showing
I noticed this when I was trying to insert items in my collection
switched back to the 2011q1 and its fine
but I still need the performance improvement and filter fixes from the internal build
Cheers
4 Answers, 1 is accepted
0
Hi Tim Ge,
We have tried to reproduce the problem you are reporting, but all items in the TreeListView are shown correctly. Please, find our test application in the attached file and let us know in case of any misunderstanding. Also, you may try to modify it in a way to reproduce the issue. Thank you for your cooperation.
Regards,
Yordanka
the Telerik team
We have tried to reproduce the problem you are reporting, but all items in the TreeListView are shown correctly. Please, find our test application in the attached file and let us know in case of any misunderstanding. Also, you may try to modify it in a way to reproduce the issue. Thank you for your cooperation.
Regards,
Yordanka
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

Tim Ge
Top achievements
Rank 1
answered on 15 May 2011, 11:15 PM
Hi,
I managed to find out the part of code which is causing the problem
basically when I have a Datatemplate assigned to celltemplate for a column
then treelistview is not showing the last item porperly
below is the code how I modified the sample application that you provided
to cause the issue
I managed to find out the part of code which is causing the problem
basically when I have a Datatemplate assigned to celltemplate for a column
then treelistview is not showing the last item porperly
below is the code how I modified the sample application that you provided
to cause the issue
<
Window
x:Class
=
"RadTreeListView_WPF.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:dragAndDrop
=
"clr-namespace:Telerik.Windows.Controls.DragDrop;assembly=Telerik.Windows.Controls"
xmlns:my
=
"clr-namespace:RadTreeListView_WPF"
Title
=
"MainWindow"
Height
=
"500"
Width
=
"500"
>
<
Window.Resources
>
<
my:Folders
x:Key
=
"Folders"
/>
<
DataTemplate
x:Key
=
"FirstColumnCellTemplate"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Image
Source
=
"{Binding Image}"
/>
<
TextBlock
Text
=
"{Binding Name}"
Margin
=
"5"
/>
</
StackPanel
>
</
DataTemplate
>
</
Window.Resources
>
<
telerik:RadTreeListView
x:Name
=
"radTreeListView"
ItemsSource
=
"{Binding SampleFolders, Source={StaticResource Folders}}"
AutoGenerateColumns
=
"False"
ColumnWidth
=
"200"
>
<
telerik:RadTreeListView.ChildTableDefinitions
>
<
telerik:TreeListViewTableDefinition
ItemsSource
=
"{Binding SubFolders}"
/>
</
telerik:RadTreeListView.ChildTableDefinitions
>
<
telerik:RadTreeListView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Name}"
CellTemplate
=
"{StaticResource FirstColumnCellTemplate}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Type}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding LastModified}"
/>
</
telerik:RadTreeListView.Columns
>
</
telerik:RadTreeListView
>
</
Window
>
0

Tim Ge
Top achievements
Rank 1
answered on 15 May 2011, 11:32 PM
another thing about this internal build of treelistview control
is that while expanding
sometimes it clears the items in the control
(i.e. it shows 'blank', then after a second or two
it shows the actually content that has been expanded)
I tried to reproduce it, but it seems a bit random
cannot find a specific senario which will always cause that to happen
is that while expanding
sometimes it clears the items in the control
(i.e. it shows 'blank', then after a second or two
it shows the actually content that has been expanded)
I tried to reproduce it, but it seems a bit random
cannot find a specific senario which will always cause that to happen
0
Hi Tim Ge,
Thank you for the details.
We were able to reproduce the problem you are pointing. It is caused by the set Margin to the TextBlock. Removing it will show the last item correctly. Since this behavior is wrong, we will do our best to address it as soon as possible.
According to the second issue, we couldn't reproduce it locally. Could you try the latest internal build which will be available for downloading later today? Let us know in case the "blank" items still occur. It will be of great help if you manage to isolate steps to reproduce it. Thank you in advance.
Please, excuse us for the inconvenience. Your Telerik points have been updated accordingly.
Regards,
Yordanka
the Telerik team
Thank you for the details.
We were able to reproduce the problem you are pointing. It is caused by the set Margin to the TextBlock. Removing it will show the last item correctly. Since this behavior is wrong, we will do our best to address it as soon as possible.
According to the second issue, we couldn't reproduce it locally. Could you try the latest internal build which will be available for downloading later today? Let us know in case the "blank" items still occur. It will be of great help if you manage to isolate steps to reproduce it. Thank you in advance.
Please, excuse us for the inconvenience. Your Telerik points have been updated accordingly.
Regards,
Yordanka
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items