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

Getting a weird error message that I don't understand.

4 Answers 103 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
toddhd
Top achievements
Rank 1
toddhd asked on 08 Nov 2010, 03:44 PM
I created a user control in my Silverlight application that is very simple. It is really just a StackPanel with two TextBlocks and a RadToolBar, that is used to navigation purposes in the application.

When VS 2010 tries to render this however (or any page that uses this control) it throws an error.

The value "Telerik.Windows.Controls.Animation.TreeViewExpandCollapseAnimation" is not of type "Telerik.Windows.Controls.Animation.RadAnimation" and cannot be used in this generic collection.

The thing is, I don't have ANY Treeview controls in this control. In fact, every item in the Toolbar is a StackPanel with a TextBlock/Button, and the only other items are ToolBarSeperators.

Any ideas on what might be causing this error to be thrown?

BTW, at runtime, this control renders and works perfectly, it is just design time that is throwing errors.

4 Answers, 1 is accepted

Sort by
0
Viktor Tsvetkov
Telerik team
answered on 09 Nov 2010, 11:10 AM
Hi toddhd,

I couldn't reproduce your issue. Could please examine the attached sample project and modify it if I am missing something?

Greetings,
Viktor Tsvetkov
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
toddhd
Top achievements
Rank 1
answered on 09 Nov 2010, 10:32 PM
Thank you - you can consider this closed. It appears the problem was somehow related to problems in the *.proj/*sln files being corrupt. These were fixed and the problem went away.
0
pGnap
Top achievements
Rank 1
answered on 11 May 2011, 01:00 PM
Hello i'm getting the same error. Can you tell me what is needed to do to solve this issue?

Thanks,
Pedro Gonçalves
0
Tina Stancheva
Telerik team
answered on 16 May 2011, 01:35 PM
Hi Pedro,

Since we weren't able to reproduce the issue on our side, it would be best to send us a small application where the issue is reproduced so that we can further investigate it. Also, you can modify the project attached to this thread if you can reproduce the issue there.

Also, can you please tell us the RadControls version you are using, that would also help. Thank you in advance for your cooperation.

All the best,
Tina Stancheva
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
ToolBar
Asked by
toddhd
Top achievements
Rank 1
Answers by
Viktor Tsvetkov
Telerik team
toddhd
Top achievements
Rank 1
pGnap
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or