Cannot find RadPivotGrid

2 posts, 0 answers
  1. hamish
    hamish avatar
    44 posts
    Member since:
    Jun 2007

    Posted 13 May 2014 Link to this post

    I have created a user control as follows:
    <UserControl x:Class="SpdrRiskDetail.SpdrRiskDetailControl"
     
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                  
                 xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                 xmlns:pivot="http://schemas.telerik.com/2008/xaml/presentation/pivot"
                 xmlns:data="clr-namespace:SpdrRiskDetail"
                 mc:Ignorable="d"
                 d:DesignHeight="300" d:DesignWidth="300">
        
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="3*" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="*" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            
            <pivot:RadPivotGrid x:Name="mainPivotGrid" Grid.RowSpan="2" />
            <pivot:RadPivotFieldList x:Name="mainFieldList" Grid.Column="1" Margin="4 0 0 0"/>
        </Grid>
    </UserControl>
    I have referenced the follows Telerik DLL's:
    Pivot.Core, Windows.Controls.Windows.controls.pivot,windows.controls.pivotfieldlist, telerik.windows.data. I have checked that they are all the same version
    (2014.1.414.45 ) however I get the error "The name "RadPivotGrid" does no exist in the namespace http://schemas.telerik.com/2008/xaml/presentation/pivot. I also get exactly the same error for "RadPivotFieldList". What am I missing - please advise as I have been running around in circles for hours now. Thank you






  2. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 13 May 2014 Link to this post

    Hello Hamish,

    When you want to use RadPivotFieldList in your project, you have to add references to Telerik.Windows.Controls.Navigation.dll, Telerik.Windows.Controls.Input.dll. Could you try adding them and see if it works for you? Also you can check the TargetFramework of your application and verify it is .Net 4.5.

    Hope this helps.

    Regards,
    Rosen Vladimirov
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top