Assembly Error - TabOffice12Shape and TabIEShape

2 posts, 0 answers
  1. Laurence
    Laurence avatar
    1 posts
    Member since:
    Feb 2013

    Posted 04 Feb 2013 Link to this post


    I am using Telerik Winform controls v.2010.1.10.504.  When in debug mode, the project works fine and builds without any issues.  When I create the exe and after I install it on the computer.  I then get the attached errors when trying to load the program.  I saw in another thread that I need to reference Telerik.WinControls.UI. When I view the references, I see that it is in there with the correct path as seen in the picture attached.  Do you have any suggestions as to what the problem may be or any other trouble shooting techniques to fix this error?

  2. Peter
    Peter avatar
    1148 posts

    Posted 07 Feb 2013 Link to this post

    Hi Laurence,

    Thank you for writing.

    This issue is related to resource loader and our themes.
    You can avoid the missing shapes message by creating a new instance of the shapes before loading the themes. Please note that the Telerik.WinControls.UI assembly should be referenced:

    new Telerik.WinControls.UI.TabIEShape();
    new Telerik.WinControls.UI.TabOffice12Shape();
    Assembly lAssembly = Assembly.GetAssembly(typeof(Office2007SilverTheme));
    Telerik.WinControls.ThemeResolutionService.LoadPackageResource(lAssembly, "Telerik.WinControls.Themes.Office2007Silver.tssp");

    Please note that this issue is addressed in our latest releases and I would strongly recommend updating your Telerik version. Our latest releases address many issues and introduce many new components and features.

    I hope this helps. If you have additional questions, feel free to contact me.

    All the best,
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Back to Top