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

Assembly Error - TabOffice12Shape and TabIEShape

1 Answer 112 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Laurence
Top achievements
Rank 1
Laurence asked on 04 Feb 2013, 05:36 PM
Hello,

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?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 07 Feb 2013, 02:14 PM
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,
Peter
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Tags
Themes and Visual Style Builder
Asked by
Laurence
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or