This question is locked. New answers and comments are not allowed.
in mainpage.xaml i have a button which opens a radwindow on clicking it.
on the xaml of radwindow i have code like this..
<Controls:RadMap x:Name="radMap" Grid.Row="0" />
</Grid>
but i get error on debugging
Failed to create a 'System.Windows.DependencyProperty' from the text 'AxisStroke'. [Line: 8 Position: 36]
any help would be gr8...
also how can i show multiple hotspots for the same point
see attached pic.
on the xaml of radwindow i have code like this..
<Controls:RadMap x:Name="radMap" Grid.Row="0" />
</Grid>
but i get error on debugging
Failed to create a 'System.Windows.DependencyProperty' from the text 'AxisStroke'. [Line: 8 Position: 36]
any help would be gr8...
also how can i show multiple hotspots for the same point
see attached pic.
11 Answers, 1 is accepted
0
Hello Mohd,
Unfortunately we can't reproduce the problem using the Q2.2011 release. Could you, please, provide us with a small sample solution which reproduces it? Thanks.
Best regards,
Andrey Murzov
the Telerik team
Unfortunately we can't reproduce the problem using the Q2.2011 release. Could you, please, provide us with a small sample solution which reproduces it? Thanks.
Best regards,
Andrey Murzov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
figueiredorj
Top achievements
Rank 1
answered on 07 Feb 2012, 05:57 PM
Actually I am having a similar issue.
In my case I actually have a control using RadMap that throws exactly same thing.
"Failed to create a 'System.Windows.DependencyProperty' from the text 'AxisStroke'. [Line: 8 Position: 36]"
my message
The type initializer for 'Telerik.Windows.Controls.Sparklines.RadSparklineBase' threw an exception.
my inner exception
{System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Windows.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at Telerik.Windows.Controls.Sparklines.RadSparklineBase..cctor()}
and my stacktrace:
at System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(RuntimeType type)
at System.Windows.DependencyProperty.QueryRegisteredProperty(String name, Type ownerType)
at MS.Internal.ManagedTypeInfoProviderRPInvokes.LookupDependencyProperty(Type type, String name)
at MS.Internal.ManagedTypeInfoProviderRPInvokes.ResolveDependencyPropertyName(XamlTypeToken sTypeToken, String inPropertyName, XamlPropertyToken& outProperty, XamlTypeToken& outPropertyTypeToken)
However I have no sparklines on this project.
More info: exception is thrown by informationLayer.
Is there some thoughts of what could be triggering it?
Thanks for any help.
PS. I have set my solutions to SL5, working with prism and Unity.
In my case I actually have a control using RadMap that throws exactly same thing.
"Failed to create a 'System.Windows.DependencyProperty' from the text 'AxisStroke'. [Line: 8 Position: 36]"
my message
The type initializer for 'Telerik.Windows.Controls.Sparklines.RadSparklineBase' threw an exception.
my inner exception
{System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Windows.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at Telerik.Windows.Controls.Sparklines.RadSparklineBase..cctor()}
and my stacktrace:
at System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(RuntimeType type)
at System.Windows.DependencyProperty.QueryRegisteredProperty(String name, Type ownerType)
at MS.Internal.ManagedTypeInfoProviderRPInvokes.LookupDependencyProperty(Type type, String name)
at MS.Internal.ManagedTypeInfoProviderRPInvokes.ResolveDependencyPropertyName(XamlTypeToken sTypeToken, String inPropertyName, XamlPropertyToken& outProperty, XamlTypeToken& outPropertyTypeToken)
However I have no sparklines on this project.
More info: exception is thrown by informationLayer.
Is there some thoughts of what could be triggering it?
Thanks for any help.
PS. I have set my solutions to SL5, working with prism and Unity.
0
figueiredorj
Top achievements
Rank 1
answered on 07 Feb 2012, 06:22 PM
OK.
I have reverted my solution to SL4 and it did the trick...
Is it planned to support SL5 soon? or it was not supposed to happen this way?...
I have reverted my solution to SL4 and it did the trick...
Is it planned to support SL5 soon? or it was not supposed to happen this way?...
0
Hi Ricardo,
The SL5 is supported with the latest builds of the RadControls for Silverlight since 2011.Q3 SP1.
Regards,
The SL5 is supported with the latest builds of the RadControls for Silverlight since 2011.Q3 SP1.
Regards,
Andrey Murzov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
MB
Top achievements
Rank 1
answered on 10 Feb 2012, 03:34 PM
I had the same issue.
Solved it by adding a reference to System.Windows.Data.
Solved it by adding a reference to System.Windows.Data.
0
figueiredorj
Top achievements
Rank 1
answered on 10 Feb 2012, 03:48 PM
I will give it a try and then report back.
0
figueiredorj
Top achievements
Rank 1
answered on 14 Feb 2012, 11:59 AM
Nopes... I've gone for it but not worked.
Changed again to SL5, System.Windows.Data was already then and was right dll... even so removed and added it.
Not working same message.
It must be other thing...
Reverted to SL4 and all ok.
Changed again to SL5, System.Windows.Data was already then and was right dll... even so removed and added it.
Not working same message.
It must be other thing...
Reverted to SL4 and all ok.
0
Hi,
It is very complicated and it is hard to reproduce the problem without your solution.
Possible reason could be in the following:
- some of the required DLLs are not referenced or some DLL has incorrect version
- required DLLs were built for different SL version than the one used in the project
It is very complicated and it is hard to reproduce the problem without your solution.
Possible reason could be in the following:
- some of the required DLLs are not referenced or some DLL has incorrect version
- required DLLs were built for different SL version than the one used in the project
Usually the RadMap application required references for the three following DLLs:
- Telerik.Windows.Controls.dll
- Telerik.Windows.Controls.DataVisualization.dll
- Telerik.Windows.Data.dll
Please check that all of these DLLs are referenced in your project. Also make sure the Silverlight version of your project conforms with the referenced DLLs.
Regards,
Andrey Murzov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
figueiredorj
Top achievements
Rank 1
answered on 04 Mar 2012, 05:41 PM
Andrey,
I have set ticket request http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=518950 with project that reproduces what is happening.
I will be waiting for feedback.
I have set ticket request http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=518950 with project that reproduces what is happening.
I will be waiting for feedback.
0
Hello Ricardo,
The DLLs you are using in the project are compiled for Silverlight 4 (the last digits in the version number are 1040). I've tested your application with the same version of the code (2011.3.1220), but compiled for Silverlight 5 (the last digits in the version number are 1050). All things work just fine. You should use DLLs compiled for proper version of the Silverlight.
All the best,
The DLLs you are using in the project are compiled for Silverlight 4 (the last digits in the version number are 1040). I've tested your application with the same version of the code (2011.3.1220), but compiled for Silverlight 5 (the last digits in the version number are 1050). All things work just fine. You should use DLLs compiled for proper version of the Silverlight.
All the best,
Andrey Murzov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
figueiredorj
Top achievements
Rank 1
answered on 07 Mar 2012, 05:33 PM
Hi.
I have already done upgrade to Q1 2012 with success.
Thanks for help.
PS. missing where to mark to resolved...
I have already done upgrade to Q1 2012 with success.
Thanks for help.
PS. missing where to mark to resolved...