Themes missing

5 posts, 0 answers
  1. PortVista
    PortVista avatar
    61 posts
    Member since:
    Oct 2006

    Posted 16 May 2007 Link to this post

    After uninstalling and installing SP1, I get tons of errors about themes not being found. How do I fix this?
  2. PortVista
    PortVista avatar
    61 posts
    Member since:
    Oct 2006

    Posted 16 May 2007 Link to this post

    This is basically the same problem I've been having for awhile. I opened a support ticket and they were no help on this issue. I've been able to use the RadThemeManager only by referencing a resource, and the themes only show up in runtime! In designtime the theme I created is never in the list.

    In the RadThemeManager properties, LoadedThemeNames shows: Object reference not set to an instance of an object.

    Now, with Q1 2007 SP2  (3.2), same behavior, but none of the cool Telerik themes are available to me. The VisualStyleBuilder opens from VS 2005 without any styles. No X/min/max buttons in the RadTitleBar -- and I've not been able to get these on my own TitleBar, so I'm wondering if the  built in themes not working has something to do here. I'm having all kinds of problems here -- one problem did seem to go away with the SP1, but more bugs are popping up here!
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Mike
    Admin
    Mike avatar
    640 posts

    Posted 18 May 2007 Link to this post

    Hello PortVista,

    We are aware of the first issue, and as previously mentioned, the solution is not so easy to implement and didn't make it into the service pack. Nevertheless we will try to add this functionality ASAP and prepare for you a custom build containing the latest fixes.
    As for the other issue, it seems that is not applicable to new projects or demo application projects that use the latest versions of our assembles. Can you verify whether the VSB application opens with no themes when started for from one of our  C# Examples ?
    What you have to do is remove all references to Telerik assemblies from your application and add them again. Also verify that there are no older versions Telerik assemblies  in application's bin folder.
    Please let us now whether our suggestions helped in solving the problem and if not how can we assist you further.

    All the best,
    Mike
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. PortVista
    PortVista avatar
    61 posts
    Member since:
    Oct 2006

    Posted 20 May 2007 Link to this post

    I basically had to remove all the Telerik controls and re-add them to fix the problems. I've had to set all my Telerik controls to use the "Telerik" theme until a "custom theme" solution is available. Currently, I cannot find a way to redistribute my app using a custom theme, since you can only use a full hard coded path to the theme file. It would have been nice to know this was a known issue before I wasted time on this.
  6. Mike
    Admin
    Mike avatar
    640 posts

    Posted 21 May 2007 Link to this post

    Hello PortVista,

    Please excuse us if there has been a misunderstanding about the issues related to themes in the VS designer.

    Currently there are no problems related to redistributing the app with custom themes and theme files located either on the hard drive or in the application's resources. I have prepared an app that demonstrates these capabilities. The application loads its themes from various locations and all are redistributed properly.

    In this application the main form loads some buttons. Two of  them have custom themes:
    • "Red", which is loaded from a local file and
    • "Green" is loaded from app's resources.
    The Red theme location is specified using a relative path, according to the application's current working folder: "\\..\\..\\RedTheme.xml". Themes load normally at runtime.

    The problem we are currently experiencing is that VS design time does not provide information about the application executable location and the corresponding theme is not available in design mode. Thus you may notice an error message when the theme location is specified this way in design mode. Nevertheless, the application works fine at runtime.

    I hope this clears the problem. Let me know if I missing something.
     

    Greetings,
    Mike
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for WinForms is Visual Studio 2017 Ready