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

System.MissingMethodException at design time

1 Answer 141 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dario Concilio
Top achievements
Rank 2
Dario Concilio asked on 15 Apr 2016, 07:34 AM

Hi to all,

I have this problem in design-time, sometimes it appears this error when I show a GridView.

My XAML is this:

<Window
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                mc:Ignorable="d"
                x:Class="TelerikCustomGridView.MainWindow"
                Title="MainWindow" Height="350" Width="525">
    <Grid>
        <telerik:RadGridView ItemsSource="{Binding Clienti}" GroupRenderMode="Flat" AutoExpandGroups="True">
            <telerik:RadGridView.GroupDescriptors>
                <telerik:GroupDescriptor Member="NAZIONE" SortDirection="Ascending"/>
                <telerik:GroupDescriptor Member="PROVINCIA" SortDirection="Ascending"/>
            </telerik:RadGridView.GroupDescriptors>
            <telerik:RadGridView.FilterDescriptors>
                <telerik:FilterDescriptor Member="PROVINCIA" Operator="IsNotNull"/>
            </telerik:RadGridView.FilterDescriptors>
        </telerik:RadGridView>
    </Grid>
</Window>

1 Answer, 1 is accepted

Sort by
0
Accepted
Yoan
Telerik team
answered on 15 Apr 2016, 11:32 AM
Hello,

I believe that this is a kind of dependency issue, you can try the following:

1. Make sure that all referenced UI for WPF assemblies or of the same version (XAML or NoXaml, release version, .NET version of the ).
2. Make sure that the .NET version of the Telerik is the same as the Target Framework of the VS project.
3. You can remove all assemblies and add them again from the installation folder of the UI for WPF suite.

Regards,
Yoan
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
Dario Concilio
Top achievements
Rank 2
Answers by
Yoan
Telerik team
Share this question
or