Themes - Why is this so difficult?

4 posts, 0 answers
  1. Karen
    Karen avatar
    8 posts
    Member since:
    Dec 2017

    Posted 26 Feb 2018 Link to this post

    Is it just me?

    Standard Winforms app.  I have used the Visual Style builder to create a custom theme and saved it as 'UVTMetroBlue.tssp', in a sub=folder of my project named 'Theme'.

    In Visual Studio 2017 I add the theme package as a resource.  I go to the RadThemeManger on my MainForm, and select load from resource. It prompts me to enter the resource location string.

    If I enter what I believe is the correct string : "UVTMain.Theme.UVTMetroBlue.tssp", I get a null reference error. If I add it through 'Edit Themese', and browse to the file, same "null reference" error.

     

    If I put in nonsense, it accepts it without error.

    So, I go to 'Edit Themes' on the Theme Manager and there is the entry

    Unable locate Resource file 'aasdasdasd' in the project folder 'C:\Users\hespect\source\Workspaces\UVeritech\UVTMain\UVTMain\'

     

    Is something wrong with my .tssp file?

     

     

     

  2. Dimitar
    Admin
    Dimitar avatar
    2926 posts

    Posted 27 Feb 2018 Link to this post

    Hi Karen,

    Thank you for writing.

    The theme manager cannot work with tssp files (it only works with XML files). You can directly load the tssp file by using a single method. An example is available here: Using custom themes.

    I hope this will be useful. Let me know if you have additional questions.

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Ian
    Ian avatar
    20 posts
    Member since:
    Dec 2015

    Posted 08 Jan 2019 in reply to Dimitar Link to this post

    I would be good to update the Webinar video from 2010 to reflect that the tssp mechanism has changed things, and that the individual XML files for each control are now not so useful. I'm also strugling to make this work with vb.net and tssp files.
  4. Dimitar
    Admin
    Dimitar avatar
    2926 posts

    Posted 09 Jan 2019 Link to this post

    Hi Ian,

    Thank you for your feedback. We will indeed consider improving this. We can continue to discuss the theme loading in the other thread.

    Do not hesitate to contact us if you have other questions.

    Regards,
    Dimitar
    Progress Telerik
    Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top