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

Binding RadPropertyGrid.Item causes ViewModelLocator to fail?!

1 Answer 95 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Kristoffer
Top achievements
Rank 1
Kristoffer asked on 17 Jan 2013, 04:12 PM
If I put this in a MEFed dll (using MefedMVVM), I receive an exception:

<UserControl ...
     mefed:ViewModelLocator.NonSharedViewModel="MyViewModel">
<telerik:RadPropertyGrid Item="{Binding IsAsync=True}" AutoGeneratePropertyDefinitions="True" />

Error while resolving ViewModel. System.ComponentModel.Composition.ImportCardinalityMismatchException: No exports were found that match the constraint

I suppose this binding somehow conflicts with my MEF contract. Any ideas? Makes no sense... but if I remove the binding, it works!

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 22 Jan 2013, 11:23 AM
Hi,

Unfortunately, we cannot give any guidelines, as we have never received similar reports. Would it be possible for you to send us a project that reproduces the issue, so that we would be able investigate it on our side?

All the best,
Ivan Ivanov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
PropertyGrid
Asked by
Kristoffer
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or