How to use package *.tssp as resource

11 posts, 0 answers
  1. Little
    Little avatar
    1 posts
    Member since:
    Apr 2015

    Posted 20 Apr 2015 Link to this post

    This is the first time that I write, sorry my english. Well, the problem that I have is that I don't know how to the packages that I generate with the Visual Style builder, I know load them in *.xml format, but I would like to that as package. I tried all that I could find in Google or in the Telerik's tutorials, but nothing works for me, if you could explain the most possible I'll be glad you.
  2. Dimitar
    Admin
    Dimitar avatar
    2926 posts

    Posted 21 Apr 2015 Link to this post

    Hi Little,

    Thank you for writing.

    You can use the static methods of the ThemeResolutionService class to load the package. Detailed information is available in the following article: Using custom themes.

    Please let me know if there is something else I can help you with.

    Regards,
    Dimitar
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. Ian
    Ian avatar
    20 posts
    Member since:
    Dec 2015

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

    Link no longer works
  4. Dimitar
    Admin
    Dimitar avatar
    2926 posts

    Posted 08 Jan 2019 Link to this post

    Hello Ian,

    We have updated our documentation site. Here is the new link: Using custom themes.

    Should you have any other questions do not hesitate to ask.

    Regards,
    Dimitar
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  5. Ian
    Ian avatar
    20 posts
    Member since:
    Dec 2015

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

    Thanks for fixing the link...

    I tried to follow all of the instructions here, but I seem to be going wrong somewhere.

    So far I have:

    1. Used Visual Style Builder to create a simple style. To test, just a new background color for RadTreeView.

    2. Saved it as a tssp file 

    3. Added the TSSP file to the Resources of my application (VB.net and VS2017)

    4. added the command to load the package resource..ThemeResolutionService.LoadPackageResource("StyleTester.MX2.tssp")

    5. Run the app: but no changes to my control.   

    What have I missed?

  6. Dimitar
    Admin
    Dimitar avatar
    2926 posts

    Posted 09 Jan 2019 Link to this post

    Hello Ian,

    You need to do two more things:
    • Set the build action of the theme to Embedded Resource. 
    • Set the ApplicationThemeName property. 

    The attached screenshot shows the above steps.

    Let me know how this works on your side.

    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.
  7. Ian
    Ian avatar
    20 posts
    Member since:
    Dec 2015

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

    Ah ha! Thanks - that's working fine now.

    Can I suggest that you add this advice to your instructions ? Maybe a step-by-step guide all the way from from copying the built-in themes, through to testing them in a project. At the moment, the instructions are a bit spread-out, in videos, some in KB articles, and some in the regular documentation. And there is contradictory advice about using the individual control XML files and the newer tssp approach.

    This is one of the main reasons why I bought the WinForms framework, so it's a critical feature, and one which evaluators of your product will probably test as well.

    ...and thanks for the great support!

  8. Dimitar
    Admin
    Dimitar avatar
    2926 posts

    Posted 10 Jan 2019 Link to this post

    Hello Ian,

    We will update the documentation as soon as possible. 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.
  9. Johnson
    Johnson avatar
    2 posts
    Member since:
    Apr 2019

    Posted 20 Jun 2019 in reply to Dimitar Link to this post

    Hello,

    but this method doesn't work on client's hardware. why?? 

    working good on developing mode. 

    can you able to explain? please.

  10. Dimitar
    Admin
    Dimitar avatar
    2926 posts

    Posted 24 Jun 2019 Link to this post

    Hello RJ,

    Without looking at the project I cannot say why this is not working. This is why I want to kindly ask you to open a new support ticket and attach your project there. This will allow us to properly investigate your case and determine what is casing this. 

    Thank you for your understanding.

    Regards,
    Dimitar
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  11. Johnson
    Johnson avatar
    2 posts
    Member since:
    Apr 2019

    Posted 25 Jun 2019 in reply to Dimitar Link to this post

    Thanks for the reply, now is working good.

    thanks

Back to Top