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

The property 'telerik:RadGridView.Columns' is not declared as an attachable property.

1 Answer 90 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michael Ruddick
Top achievements
Rank 1
Michael Ruddick asked on 23 Apr 2010, 10:11 PM

EDIT:  Disregard.  I just re-built the solution and it cleared it up.

I just installed the 2010 SP1 release for VS 2010, loaded up a project, and updated everything.  To make sure all was well, I grabbed a RadGridView from the newly created toolbox section and dragged it over to the design surface.

What I noticed different this time is that instead of adding this:

xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" 
  

 

it added this:

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 

 

 

As a result of this, when I try to add columns to the GridView, like this:

<telerik:RadGridView x:Name="radGridView1" > 
    <telerik:RadGridView.Columns> 
    </telerik:RadGridView.Columns> 
</telerik:RadGridView>  

I get the error in the title of this message:

The property 'telerik:RadGridView.Columns' is not declared as an attachable property.

I am still able to use the RadGridView fine using the normal xmlns with the assembly reference - just wanted to let you guys know that this is happening on a fresh install, so others might experience the same.

Thanks!

Michael

1 Answer, 1 is accepted

Sort by
0
Daniel
Top achievements
Rank 1
answered on 15 Sep 2012, 03:46 PM
I'm getting the same problem.
Any solutions out there?
Tags
GridView
Asked by
Michael Ruddick
Top achievements
Rank 1
Answers by
Daniel
Top achievements
Rank 1
Share this question
or