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

Building a HubTile grid

1 Answer 54 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
StepTNT
Top achievements
Rank 1
StepTNT asked on 09 Oct 2013, 08:23 PM
I'm trying to build a list which has to be visualized like a grid of tiles.
I did this before getting my license for RadControls, and that's how I did:

<phone:LongListSelector Name="SearchList" Grid.Column="0" Grid.Row="1" ItemsSource="{Binding SearchResultsMovies.Result}" ItemTemplate="{StaticResource TileMovieListDataTemplate}" Grid.ColumnSpan="2" Margin="0, 10, 0, 0" LayoutMode="Grid" GridCellSize="202,202" />


Now I'm moving to RadControl and I'm following the online documentation. I've come across the "Virtualization Strategies" and it says that I can just paste this code and start from it:

<telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition>
         <telerikPrimitives:DynamicGridVirtualizationStrategyDefinition Orientation="Horizontal" StackCount="3"/>
</telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition>

This should be just the first step to get to my result, but I can't go on because adding this code will make the compiler angry!

Here are the errors that it gives (some of them are in Italian so I'll translate them but I'm not sure on how VS2013 prints them in English!):

  • Member "VirtualizationStrategyDefinition" unknown or not available
  • Attached property 'VirtualizationStrategyDefinition' not found in type 'RadDataBoundListBox'
  • Type 'telerikPrimitives:DynamicGridVirtualizationStrategyDefinition' not found. Check for missing references to assemblies 
  • The property 'VirtualizationStrategyDefinition' does not exist on the type 'Grid' in the XML namespace 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Primitives'
  • The tag 'DynamicGridVirtualizationStrategyDefinition' does not exist in XML namespace 'clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Primitives'



    Where am I wrong? I'm running the latest version of RadControls with Visual Studio 2013 RC.

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 14 Oct 2013, 11:46 AM
Hello Stefano,

Thanks for writing.

The errors you are receiving seem to be caused by missing Telerik references in your project. Make sure you reference all needed assemblies and they all are the same version.

You can try removing all the Telerik references from your project, restart Visual Studio and add the references anew.

Let me know if you need further assistance with this.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
DataBoundListBox
Asked by
StepTNT
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or