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

Error applying styles to GridViewHeaderCell

1 Answer 70 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tom McCartan
Top achievements
Rank 1
Tom McCartan asked on 08 Apr 2010, 03:18 PM
Hi,

We are trying to create a control template for gridviewheadercell and add the same to style for the gridviewheadercell.
Attached screen shot shows the xaml code for reference. TargetType is not identified after adding all the possible namespaces and assembly. Strange thing is we are able to do it in a fresh project, but not happening in the existing project. we tried adding fresh reference by deleting the old one, still not successful. the version we are using is 2009.3.1314.1030


Any help is appriciated.
Thank You,
Tom

1 Answer, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 13 Apr 2010, 08:39 AM
Hi Tom,

I have noticed you are defining the following two namespaces:

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

Could you please remove one of those and update the namespaces used in your application accordingly and let me know if this fixes the issue?
 
Best wishes,
Kalin Milanov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Tom McCartan
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Share this question
or