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

RadNumericUpDown Won't take a name

1 Answer 67 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
scott
Top achievements
Rank 1
scott asked on 05 Aug 2014, 06:03 PM
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.

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 06 Aug 2014, 12:40 PM
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.
 
Tags
NumericUpDown
Asked by
scott
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or