RadGridView Failed object initialization

2 posts, 0 answers
  1. Paul Gallen
    Paul Gallen avatar
    156 posts
    Member since:
    Jun 2008

    Posted 16 Oct 2008 Link to this post

    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
  2. Dimitar Dobrev
    Admin
    Dimitar Dobrev avatar
    44 posts

    Posted 17 Oct 2008 Link to this post

    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.
Back to Top