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

Cannot find RadPivotGrid

1 Answer 51 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
hamish
Top achievements
Rank 1
hamish asked on 13 May 2014, 08:38 PM
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






1 Answer, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 13 May 2014, 10:30 PM
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.
 
Tags
PivotGrid
Asked by
hamish
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Share this question
or