Error when loading themes after update to Q1 2008

6 posts, 0 answers
  1. Ryan
    Ryan avatar
    10 posts
    Member since:
    Apr 2008

    Posted 08 May 2008 Link to this post

    I am getting the error: Error loading theme from resource VisualStyleBuilder.Design.resources.VSSBlue.Xml: System.InvalidCastException: At least one element in the source array could not be cast down to the destination array type.  This occurs when I open the project for every control that I set a theme name for and when I open the VisualStyleBuilder.
  2. Kiril
    Admin
    Kiril avatar
    158 posts

    Posted 09 May 2008 Link to this post

    Hi Ryan,

    Thank you for writing.

    It appears that the Visual Style Builder is trying to open a theme, which does not exist - in the error message you sent in your previous email, I noticed that the name is VSSBlue.xml, while the theme in the Resources folder of the Visual Style Bulider project has the name VSBBlue.xml.

    Please let me know whether you made a typo pasting the error in your previous email, and whether it was indeed the VSBBlue.xml file that could not be found.

    If that was not the case, and the Visual Style Builder is indeed attempting to load a VSSBlue.xml theme, do you recall making changes to Visual Style Builder code?

    Greetings,
    Kiril
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Kiril
    Admin
    Kiril avatar
    158 posts

    Posted 09 May 2008 Link to this post

    Hi Ryan,

    Thank you for writing.

    It appears that the Visual Style Builder is trying to open a theme, which does not exist - in the error message you sent in your previous email, I noticed that the name is VSSBlue.xml, while the theme in the Resources folder of the Visual Style Bulider project has the name VSBBlue.xml.

    Please let me know whether you made a typo pasting the error in your previous email, and whether it was indeed the VSBBlue.xml file that could not be found.

    If that was not the case, and the Visual Style Builder is indeed attempting to load a VSSBlue.xml theme, do you recall making changes to Visual Style Builder code?

    Greetings,
    Kiril
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Ryan
    Ryan avatar
    10 posts
    Member since:
    Apr 2008

    Posted 09 May 2008 Link to this post

    This error is no longer occuring this morning.  It was VSBBlue.xml after reviewing my notes.
  6. tim David
    tim David avatar
    7 posts
    Member since:
    Oct 2009

    Posted 25 Nov 2009 Link to this post

    Hello telerik,
       I don't know how to get the telerik VisualStyleBuilder tool,Can I edit the silverlight theme at VSB or just support the WinForm theme.I find  that Editing the RadControl State at Expression Blend 3 had a exception. If VSB  works well at editing the theme,I hope you can tell me how to get the VSB tools.
                                                                      Thanks Tim
  7. Nick
    Admin
    Nick avatar
    767 posts

    Posted 26 Nov 2009 Link to this post

    Hello tim David,

    Visual Style Builder is a tool that can be used only for WinForms. There is another tool called again Visual Style Builder that can be used only for ASP.NET. Please post your inquiry in our Silverlight forums; they will be eager to help about that.

    All the best,
    Nick
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
UI for WinForms is Visual Studio 2017 Ready