RadNumericUpDown Won't take a name

2 posts, 0 answers
  1. scott
    scott avatar
    1 posts
    Member since:
    Aug 2014

    Posted 05 Aug 2014 Link to this post

    Hello, I want to use a RadNumericUpDown control in a WPF application. If I do not give the control a name or x:name everything works as expected. If however I provide a name it throws the error below.

    What to do? I need to reference the control.



    System.Windows.Markup.XamlParseException occurred
      _HResult=-2146233087
      _message='Set connectionId threw an exception.' Line number '6' and line position '29'.
      HResult=-2146233087
      IsTransient=false
      Message='Set connectionId threw an exception.' Line number '6' and line position '29'.
      Source=PresentationFramework
      LineNumber=6
      LinePosition=29
      StackTrace:
           at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
      InnerException: System.IO.FileLoadException
           _HResult=-2146234304
           _message=Could not load file or assembly 'Telerik.Windows.Controls.Input, Version=2012.1.326.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
           HResult=-2146234304
           IsTransient=false
           Message=Could not load file or assembly 'Telerik.Windows.Controls.Input, Version=2012.1.326.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
           Source=TemplateNinja.UserControls
           FileName=Telerik.Windows.Controls.Input, Version=2012.1.326.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7
           FusionLog==== Pre-bind state information ===
    LOG: DisplayName = Telerik.Windows.Controls.Input, Version=2012.1.326.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7
     (Fully-specified)
    LOG: Appbase = file:///C:/Users/sbaldridge/Source/Workspaces/TemplateNinja/TemplateNinja/bin/Debug/
    LOG: Initial PrivatePath = NULL
    Calling assembly : TemplateNinja.UserControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.

  2. Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 06 Aug 2014 Link to this post

    Hi Scott,

    We are not aware of the explained issue and I was not able to reproduce it. Could you please share some more details and a sample code, so we can try to reproduce it on our side? However you can check if you have the correct binaries referenced in the project - the NumericUpDown requires: Telerik.Windows.Controls.dll and Telerik.Windows.Controls.Input.dll.

    I'm looking forward to hearing from you.

    Regards,
    Kalin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top