System.MissingMethodException at design time

2 posts, 1 answers
  1. Dario Concilio
    Dario Concilio avatar
    129 posts
    Member since:
    Apr 2016

    Posted 15 Apr Link to this post

    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>

  2. Answer
    Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 15 Apr Link to this post

    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 dlls).
    2. Make sure that the .NET version of the Telerik dlls 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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top