Tomáš Čeleda
Top achievements
Rank 2
Tomáš Čeleda
asked on 27 Mar 2011, 07:53 PM
Hello,
I'm using RadTreeView bound to VirtualQueryableCollectionView. I would like to have a special design of items that are currently loading. I have tried this binding (assuming that items still not loaded are being returned as nulls from VirtualQueryableCollectionView collection):
<ControlTemplate x:Key="LocalAlbumSearchResultTemplate" TargetType="telerik:RadTreeViewItem">
<Grid x:Name="RootElement" Visibility="{Binding BindsDirectlyToSource=True, Converter={StaticResource NullToInvisibilityConverter}}"
...
I wanted this grid to be visible only if the item is loaded. I'm probably missing something here, because the binding does not work and the converter is never called. Any ideas?
Thank you
Best regards,
Tomas Celeda
I'm using RadTreeView bound to VirtualQueryableCollectionView. I would like to have a special design of items that are currently loading. I have tried this binding (assuming that items still not loaded are being returned as nulls from VirtualQueryableCollectionView collection):
<ControlTemplate x:Key="LocalAlbumSearchResultTemplate" TargetType="telerik:RadTreeViewItem">
<Grid x:Name="RootElement" Visibility="{Binding BindsDirectlyToSource=True, Converter={StaticResource NullToInvisibilityConverter}}"
...
I wanted this grid to be visible only if the item is loaded. I'm probably missing something here, because the binding does not work and the converter is never called. Any ideas?
Thank you
Best regards,
Tomas Celeda
9 Answers, 1 is accepted
0
Hello,
Vlad
the Telerik team
Can you clarify where exactly you've set this template? Is it assigned from a redefined style?
Kind regards,Vlad
the Telerik team
0
Accepted
Hello,
Vlad
the Telerik team
Just a quick update.
I've attached small demo application demonstrating how to achieve something similar.
Vlad
the Telerik team
0
Tomáš Čeleda
Top achievements
Rank 2
answered on 02 Apr 2011, 10:11 AM
Hello Vlad,
thank you for your sample solution, it has solved my problem.
Regards,
Tomas Celeda
thank you for your sample solution, it has solved my problem.
Regards,
Tomas Celeda
0
ss
Top achievements
Rank 1
answered on 02 Sep 2011, 09:20 AM
Hello,
please I need same functionality for RadGridView. Can you please help me?
Thank you very much.
please I need same functionality for RadGridView. Can you please help me?
Thank you very much.
0
Hi,
You may use the same idea and define a grid as follows:
Maya
the Telerik team
You may use the same idea and define a grid as follows:
<
telerik:RadGridView
ItemsSource
=
"{Binding}"
AutoGenerateColumns
=
"False"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding ID }"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding ID,Converter={StaticResource converter}}"
/>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
</
telerik:GridViewDataColumn
>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
Greetings,
Maya
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
0
ss
Top achievements
Rank 1
answered on 14 Sep 2011, 02:22 PM
Thank you but I need to display this information over all cells within row. Is it possible?
0
ss
Top achievements
Rank 1
answered on 20 Sep 2011, 05:00 PM
Can you please help me? I cant find solution. I need to show row loading info. Thank you.
0
ss
Top achievements
Rank 1
answered on 17 Oct 2011, 07:47 AM
Hello Telerik team,
can you please help me? I cant find solution.
can you please help me? I cant find solution.
0
Hi,
Maya
the Telerik team
You can try to implement the same idea with the converter for all your columns.
Maya
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>