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

5 posts, 0 answers
  1. toddhd
    toddhd avatar
    21 posts
    Member since:
    Aug 2006

    Posted 08 Nov 2010 Link to this post

    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.
  2. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 09 Nov 2010 Link to this post

    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
  3. DevCraft banner
  4. toddhd
    toddhd avatar
    21 posts
    Member since:
    Aug 2006

    Posted 09 Nov 2010 Link to this post

    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.
  5. pGnap
    pGnap avatar
    3 posts
    Member since:
    Jul 2012

    Posted 11 May 2011 Link to this post

    Hello i'm getting the same error. Can you tell me what is needed to do to solve this issue?

    Thanks,
    Pedro Gonçalves
  6. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 16 May 2011 Link to this post

    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
Back to Top
DevCraft banner