In this post:
http://www.telerik.com/community/forums/thread/b311D-gdcka.aspx
This is stated:
As for loading themes from file, you should have in mind that the file name is generated automatically, and references the full file path on your hard drive. It is quite possible that this path is not valid when deploying the application on another station. For that reason you should use embedded resource OR file name relative to application's executable file. Here is example for relative path:
- If your application compiles in "C:\Prorects\MyApp\bin\debug" and the theme file is located in "MyApp\Resources" folder, the relative path would be: "..\..\Resources\MyThemeFileName.xml"
In Q2 2007 this will work in the designer as well.
However, I do not believe this to be true - because when I change the path name to a relative path, it is using the Visual Studio IDE launch directory as the base directory, not the directory of the application files.
Can you confirm this?
I am using Q32007 SP1.