Building a HubTile grid

Thread is closed for posting
2 posts, 0 answers
  1. StepTNT
    StepTNT avatar
    18 posts
    Member since:
    Mar 2013

    Posted 09 Oct 2013 Link to this post

    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:DynamicGridVirtualizationStrategyDefinition Orientation="Horizontal" StackCount="3"/>

    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.

  2. Deyan
    Deyan avatar
    2147 posts

    Posted 14 Oct 2013 Link to this post

    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.

    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top