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

radThemeManager seems to store file path of development machine.

1 Answer 117 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Lee
Top achievements
Rank 1
Lee asked on 20 May 2010, 07:27 PM
Hi
I created a custom theme file MyCustomBreeze1.xml .   In one form i drag and drop radThemeManager and in "loadedthemes" property I added a Themesouce and selected a file from location C:\Trials\Components\MyCustomBreeze1.xml

When we compile and run the applicationl, things looks working and theme is applied to grid control.

But when i publish the project using click once and deploy it on "Test"  machine, theme does not work.  it looks like radThemeManager  is looking for path C:\Trials\Components\MyCustomBreeze1.xml  on "TEST" machine.

How to resolve it ?     Is there a way i can load theme dynamically at runtime from XML file and apply it to a particular control ?

Regards






1 Answer, 1 is accepted

Sort by
0
Accepted
Nikolay
Telerik team
answered on 27 May 2010, 05:13 PM
Hi Lee,

If you set the full path to a theme storing it as a File on your system, RadThemeManager will continue looking for the theme at the specified location even when your application is deployed on another machine. Therefore, the preferable approach is to store the theme as a Resource in your application. For additional information, please refer to our documentation.

Greetings,
Nikolay
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
Themes and Visual Style Builder
Asked by
Lee
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or