Method not found: 'Telerik.Windows.Controls.ActionOnLostFocus Telerik.Windows.Controls.GridView.GridViewDataControl.get_ActionOnLostFocus()'.

6 posts, 0 answers
  1. Peter
    Peter avatar
    1 posts
    Member since:
    Dec 2008

    Posted 19 Jan Link to this post

    Hi,

     

    When I drop a GridView on a new window, I get an exception, and the designer shows the following error. How do I avoid this?

     System.MissingMethodException
    Method not found: 'Telerik.Windows.Controls.ActionOnLostFocus Telerik.Windows.Controls.GridView.GridViewDataControl.get_ActionOnLostFocus()'.
       at Telerik.Windows.Controls.GridView.Design.GridViewDataControlMetadata.AddCommonCategoryAttributes(AttributeCallbackBuilder builder)
       at Telerik.Windows.Controls.GridView.Design.GridViewDataControlMetadata.<.ctor>b__0(AttributeCallbackBuilder b)
       at MS.Internal.Metadata.MutableAttributeTable.ExpandAttributes(Type type, AttributeList attributes)
       at MS.Internal.Metadata.MutableAttributeTable.GetExpandedAttributes(Type type, Object callbackParam, GetAttributesCallback callback)
       at MS.Internal.Metadata.MutableAttributeTable.GetCustomAttributes(Type type)
       at Microsoft.Windows.Design.Metadata.AttributeTable.GetCustomAttributes(Type type)
       at Microsoft.VisualStudio.DesignTools.Platform.Metadata.MetadataStore.<GetAttributes>d__25.MoveNext()
       at Microsoft.VisualStudio.DesignTools.Platform.Metadata.TypeUtilities.<MergeAttributesIterator>d__9.MoveNext()
       at Microsoft.VisualStudio.DesignTools.Platform.Metadata.TypeUtilities.GetAttributes(MemberInfo memberInfo, Type attributeType, Boolean checkBaseTypes, IPlatformMetadata platformMetadata, Func`3 canContinueCheckingBaseTypes)
       at Microsoft.VisualStudio.DesignTools.Platform.Metadata.TypeUtilities.GetAttributes(Type type, IPlatformMetadata platformMetadata)
       at Microsoft.VisualStudio.DesignTools.Platform.Metadata.ProjectContextType.get_Attributes()
       at Microsoft.VisualStudio.DesignTools.Platform.Metadata.TypeUtilities.IsTypeSupported(ITypeResolver typeResolver, ITypeId typeId)
       at Microsoft.VisualStudio.DesignTools.Designer.Tools.GenericControlTool.get_IsVisible()
       at Microsoft.VisualStudio.DesignTools.Designer.Tools.GenericControlTool.GetExtensibleEquivalent()
       at Microsoft.VisualStudio.DesignTools.Designer.ViewModel.Extensibility.ExtensibilityManager.ToolManager_ActiveToolChanged(Object sender, ToolEventArgs e)
       at Microsoft.VisualStudio.DesignTools.Designer.Tools.ToolEventHandler.Invoke(Object sender, ToolEventArgs e)
       at Microsoft.VisualStudio.DesignTools.Designer.Tools.ToolManager.OnActiveToolChanged(ToolEventArgs e)
       at Microsoft.VisualStudio.DesignTools.Designer.Tools.ToolManager.set_ActiveTool(Tool value)
       at Microsoft.VisualStudio.DesignTools.Designer.Tools.ToolManager.UpdateHostTool()
       at Microsoft.VisualStudio.DesignTools.Designer.Tools.ToolManager.HostToolService_ActiveToolChanged(Object sender, EventArgs e)
       at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.LocalEvent`2.<>c__DisplayClass11_0.<Invoke>b__0()
       at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()
       at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.Call.Invoke(Boolean waitingInExternalCall)
       at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.InvokeCall(Call call)
       at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.ProcessQueue(CallQueue queue)
       at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.ProcessInboundQueue(Int32 identity)
       at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.ProcessMessage(Int32 msg, IntPtr wParam, IntPtr lParam, Boolean elevatedQuery, Boolean& handled)
       at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.OnWindowMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.MessageOnlyHwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.DesignerProcess.RunApplication()
       at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.DesignerProcess.<>c__DisplayClass5_0.<Main>b__0()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

     

    My project is a C# WPF application targeting .NET 4.5.2

    My system configuration is:

    Windows 10 Enterprise
    Telerik UI for WPF 2015.3.1104.45

    Microsoft Visual Studio Enterprise 2015
    Version 14.0.24720.00 Update 1
    Microsoft .NET Framework
    Version 4.6.01038

    Installed Version: Enterprise

    Architecture and Modeling Tools   00322-80000-00000-AA045
    Microsoft Architecture and Modeling Tools
        
    UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

    Visual Basic 2015   00322-80000-00000-AA045
    Microsoft Visual Basic 2015

    Visual C# 2015   00322-80000-00000-AA045
    Microsoft Visual C# 2015

    Visual C++ 2015   00322-80000-00000-AA045
    Microsoft Visual C++ 2015

    Visual F# 2015   00322-80000-00000-AA045
    Microsoft Visual F# 2015

    .NET Reflector Visual Studio Extension   9.0.1.318
    Integrates .NET Reflector into Visual Studio to allow you to seamlessly debug into third-party code and assemblies, even if you don't have the source code for them.

    Visit www.reflector.net for more information.

    Copyright (c) 2009-2012 Red Gate Software Inc.

    ASP.NET and Web Tools 2015 (RC1 Update 1)   14.1.11120.0
    ASP.NET and Web Tools 2015 (RC1 Update 1)

    ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
    For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

    ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
    For additional information, visit http://www.asp.net/

    Azure App Service Tools v2.8.1   14.0.11123.0
    Azure App Service Tools v2.8.1

    Common Azure Tools   1.7
    Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

    DataFactoryProject   1.0
    Microsoft Data Factory Package

    GhostDoc   5.0.15325.0
    GhostDoc automatically generates XML documentation comments.

    GitHub.VisualStudio   1.0
    A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

    JetBrains ReSharper Ultimate 10.0.2   Build 104.0.20151218.120627
    JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2016 JetBrains, Inc.

    Microsoft Azure Data Factory Node Node   1.0
    Azure Data Factory extension for Visual Studio Server Explorer.

    Microsoft Azure HDInsight HQL Service   2.0.2900.0
    Language service for Hive query

    Microsoft Azure HDInsight Tools for Visual Studio   2.0.2900.0
    An integrated development environment for HDInsight application development.

    Microsoft Azure Mobile Services Tools   1.4
    Microsoft Azure Mobile Services Tools

    Microsoft Azure Tools   2.8
    Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.8.31121.1

    NuGet Package Manager   3.3.0
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

    Office Developer Tools for Visual Studio 2015 ENU   14.0.23025
    Microsoft Office Developer Tools for Visual Studio 2015 ENU

    PreEmptive Analytics Visualizer   1.2
    Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

    SQL Server Data Tools   14.0.50730.0
    Microsoft SQL Server Data Tools

    Telerik ASP.NET MVC VSExtensions   2016.1.111.0
    Telerik UI for ASP.NET MVC VSExtensions

    Telerik DataAccess VSExtensions   2015.5.1030.0
    Telerik DataAccess VSExtensions

    Telerik Reporting   
    For more information please visit http://www.telerik.com/reporting. Copyright © 2005–2016 Telerik AD

    Telerik WinForms VSExtensions   2016.1.111.0
    Telerik UI for WinForms VSExtensions

    Telerik WPF VSExtensions   2016.1.111.0
    Telerik UI for WPF VSExtensions

    TypeScript   1.7.4.0
    TypeScript for Microsoft Visual Studio

    Visual Studio Tools for Universal Windows Apps   14.0.24720.00
    The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

    Web Essentials 2015   1.0.203
    Adds many useful features to Visual Studio for web developers.

    Workflow Manager Tools 1.0   1.0
    This package contains the necessary Visual Studio integration components for Workflow Manager.

  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 21 Jan Link to this post

    Hello Peter,

    If you rebuild the project, does the error go away? Also, are you only seeing this design-time and are you able to compile and run the project?

    Could you also make sure the registered in the Visual Studio toolbox version of the assemblies targets .NET 4.5 and let me know whether they are the standard or XAML-less assemblies? You can take a look at this article for a reference on how to launch the configurator.

    We're aware of a couple of design-time issues when using the Telerik UI for WPF controls in Visual Studio 2015, but this one is not among them and we're unable to replicate it, so any additional details you can share will be appreciated.

    Regards,
    Petya
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Jeffrey
    Jeffrey avatar
    1 posts
    Member since:
    Nov 2015

    Posted 24 Feb in reply to Petya Link to this post

    I'm running into this too.

    What can be done to get passed this message?

  5. Petya
    Admin
    Petya avatar
    975 posts

    Posted 25 Feb Link to this post

    Hello Jeffrey,

    Could you share your input on the below questions? As I've mentioned, we're unable to replicate this locally and I can't say what is causing the issue or how to avoid it. We'd appreciate your cooperation in determining the cause, so we can provide a solution.

    Regards,
    Petya
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Thierry
    Thierry avatar
    1 posts
    Member since:
    May 2016

    Posted 03 May in reply to Petya Link to this post

    Got the same problem. Lose one day to understand, but fixed it.

    The problem happens when you mix Telerik DLL from the "Binaries" and the "Binaries.NoXaml" folders

    Here is a small incomplete part of my BAD csproj :

        <Reference Include="Telerik.Windows.Controls, Version=2016.1.217.45, Culture=neutral,
              
    PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
          <HintPath>..\lib\RCWPF\2016.1.217.45.NoXaml\Telerik.Windows.Controls.dll</HintPath>
          <Private>True</Private>
        </Reference>

        <!-- No HintPath for next one : -->
        <Reference Include="Telerik.Windows.Controls.Docking, Version=2016.1.217.45, Culture=neutral, 
           PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />   

        <Reference Include="Telerik.Windows.Themes.Windows8">
          <HintPath>..\lib\RCWPF\2016.1.217.45.NoXaml\Telerik.Windows.Themes.Windows8.dll</HintPath>
        </Reference>

    Some references uses <HintPath> to NoXaml folder,

    Some references uses Global libraries

    Hope that Help :-)

  7. Dmitriy
    Dmitriy avatar
    2 posts
    Member since:
    Aug 2012

    Posted 20 Jul in reply to Thierry Link to this post

    Thanks. That works. I've deleted <HintPath>... from project file
Back to Top
UI for WPF is Visual Studio 2017 Ready