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

Can't instantiate RagGridView

1 Answer 21 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Valerio Giorgi
Top achievements
Rank 1
Valerio Giorgi asked on 26 Nov 2009, 01:35 PM
Hi, i am trying to use RadGridView
i have add the reference dll and add namespace definition, 
and use this Code in my project 

<Controls1:RadGridView ItemsSource="{Binding Orders}" AutoGenerateColumns="True"></Controls1:RadGridVie> 


I have no compiler error, but when i lunch the application i get the follow exception:

Can not assign value  '/Telerik.Windows.Controls.GridView;component/themes/office/black/GridViewToggleButton.xaml' to property 'Source' of object 'System.Windows.ResourceDictionary'. Object reference not set to an instance of an object. Error at object 'System.Windows.ResourceDictionary' at markup file 'Telerik.Windows.Controls.GridView;;;Component/Themes/GenericOfficeBlack.xaml'.

How Can i solve my problem ? 


1 Answer, 1 is accepted

Sort by
0
Accepted
Rossen Hristov
Telerik team
answered on 30 Nov 2009, 01:36 PM
Hi Valerio Giorgi,

Can you send us the whole project or a sample project that reproduces this. We cannot guess what is going on from the little fragment that you sent us.

After a quick look I have noticed that there is a "w" missing in </Controls1:RadGridVie>.

Greetings,
Ross
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Valerio Giorgi
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or