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

RadGridView Failed object initialization

1 Answer 29 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Paul Gallen
Top achievements
Rank 1
Paul Gallen asked on 16 Oct 2008, 02:50 PM
Hi

I have created a windows user control (non wpf) which comprises of :- the WPF RadGridView control hosted in a ElementHost.

When adding a my user control to a controls collection at runtine I get the following error:-

Failed object initialization (ISupportInitialize.EndInit). The result of a query cannot be enumerated more than once.  Error at object 'Telerik.Windows.Controls.GridView.GridViewItemsControl' in markup file 'Telerik.Windows.Controls.GridView;;;Component/Themes/GridView/Telerik/TableView.Templates.xaml'.

any Ideas?

P

1 Answer, 1 is accepted

Sort by
0
Dimitar Dobrev
Telerik team
answered on 17 Oct 2008, 02:28 PM
Hello Paul,

I was unfortunately unable to reproduce your problem. In the attached archive you can find the project with which I tried to replicate the error. I'd like to ask you to either change the project so that the exception occurs, or send a sample project of your own.

I am looking forward to continuing our discussion.

Best wishes,
Dimitar Dobrev,
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Paul Gallen
Top achievements
Rank 1
Answers by
Dimitar Dobrev
Telerik team
Share this question
or