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.
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.