radThemeManager seems to store file path of development machine.

2 posts, 1 answers
  1. Lee
    Lee avatar
    48 posts
    Member since:
    Feb 2010

    Posted 20 May 2010 Link to this post

    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 ?


  2. Answer
    Nikolay avatar
    1802 posts

    Posted 27 May 2010 Link to this post

    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.

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top