This is a migrated thread and some comments may be shown as answers.

How to use package *.tssp as resource

10 Answers 609 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Little
Top achievements
Rank 1
Little asked on 20 Apr 2015, 05:03 PM
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.

10 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 21 Apr 2015, 01:46 PM
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.

 
0
Ian
Top achievements
Rank 2
Bronze
Iron
Iron
answered on 07 Jan 2019, 04:42 PM
Link no longer works
0
Dimitar
Telerik team
answered on 08 Jan 2019, 09:23 AM
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.
0
Ian
Top achievements
Rank 2
Bronze
Iron
Iron
answered on 08 Jan 2019, 09:55 AM

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?

0
Dimitar
Telerik team
answered on 09 Jan 2019, 06:20 AM
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.
0
Ian
Top achievements
Rank 2
Bronze
Iron
Iron
answered on 09 Jan 2019, 09:26 AM

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!

0
Dimitar
Telerik team
answered on 10 Jan 2019, 08:56 AM
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.
0
Johnson
Top achievements
Rank 1
answered on 20 Jun 2019, 05:14 AM

Hello,

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

working good on developing mode. 

can you able to explain? please.

0
Dimitar
Telerik team
answered on 24 Jun 2019, 09:42 AM
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.
0
Johnson
Top achievements
Rank 1
answered on 25 Jun 2019, 09:32 AM

Thanks for the reply, now is working good.

thanks

Tags
Themes and Visual Style Builder
Asked by
Little
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Ian
Top achievements
Rank 2
Bronze
Iron
Iron
Johnson
Top achievements
Rank 1
Share this question
or