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

Desert Theme is lost

8 Answers 173 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
JulioR
Top achievements
Rank 1
JulioR asked on 22 Jan 2008, 04:33 PM
Hi,

I can not find the Desert Theme at design time on my radcontrols after upgrading to Q3. If I try to apply this theme via programming, then no theme is applied.

Any ideas?

Thanks & regards,

Julio

8 Answers, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 23 Jan 2008, 08:36 AM
Hi JulioR,

Thank you for writing.

The "Desert" theme, unlike the most other themes is not stored in the resources of the corresponding control DLLs. Instead, the xml files you need to use this theme can be found in the "Examples\Themes" folder of Q3 installation path. (For your convenience we are also attaching those files to this post)

The next step for you would be to add the files you need as resources to your application and use the ThemeManager component to load them up. Here you can read more on loading external themes in your applications:
http://www.telerik.com/support/kb/article/b454K-mmh-b454T-ckd-b454c-ckd.aspx

One of the main reasons for us to choose this distribution approach for the desert theme, is to minimize your applications's loading time and memory footprint.

If you have any additional questions, please do not hesitate to contact us.

All the best,
Mike
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
JulioR
Top achievements
Rank 1
answered on 24 Jan 2008, 10:40 AM
Hi,

This answer is working fine at design-time, but when I try to set the desert theme at runtime is not working. I have included the xml files as embeded resources and the code to change is working perfectly for the rest of pre-build themes (as Telerik or Office2007Black).

i.e. Me.RadMenuMain.ThemeName = strTheme

Where strTheme= "Desert"

On the other hand, I need to have the theme for the rest of controls as RadTitleBar, RadDockingManager, radStatusTrip and ShapedForm. Do you have this theme ready for those controls?

Thanks & regards,

Julio

0
Peter
Telerik team
answered on 25 Jan 2008, 08:38 AM
Hello JulioR,

We are sending you a simple project that demonstrates how to load a theme from a resource. The application's only form contains the RadMenu which uses the Desert theme, loaded from the resource of the application. The theme is originally placed in the Themes folder of the project, and compiled as "Embedded Resource". Once you build the application the theme is loaded from the resources.

What we did to build this project:
1. We place the
RadMenu on the Form
2. Opened the Theme Builder from the control's smart tag option
3. We created a sample theme and saved it in a new project folder - Resources.
4. We included the Resources folder and the theme file in the project and set the "compile as embedded resource" option of the file.
5. We selected the New Theme Manager from smart tag menu and configured it to use the theme from the application resources.

Note that the resource name may differ in C# and VB.NET. C# uses the project namespace combined with the file path as a name for the resource. If you are not sure about the resource name, you can use the Reflector tool to check that up, first time you build your application.

At this moment we don't have Desert theme for Docking but we will provide it in some of our next releases.

Contact us again with any further questions you may have.

Sincerely yours,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
JulioR
Top achievements
Rank 1
answered on 25 Jan 2008, 09:10 AM
Thanks for your reply.

As I saw that the Desert theme could be applied accross all Telerik controls I wanted to use it, but I will have to wait for the rest of them.

Thanks & regards,

Julio
0
JulioR
Top achievements
Rank 1
answered on 12 Feb 2008, 02:09 PM
Hi all,

I have seen on the new upgrade (Q3 SP1) that you have included the Desert Theme for the rest of controls. Could you please clarify me what's the meaning of QSF? Do that means it will be available like the rest of prebuild themes at design time? Or do I have to go for the steps shown on the previous threads?

Thanks in advance & regards,

Julio
0
Nikolay
Telerik team
answered on 13 Feb 2008, 12:40 PM
Hello JulioR,

The aim of Quick Start Framework (QSF) is to present our WinForms controls - their appearance and functionality. In the current release, the Desert theme is included only in the QSF and unlike the rest of the prebuild themes it is not available at design-time. Actually, this is on purpose. We want to gather some feedback from our customers about the themes, before officially including them in our controls. At this time I would recommend that you follow Peter's steps or refer the Knowledge Base article: Adding custom redistributable themes to your applications .

If you need additional assistance, do not hesitate to contact us.

Best wishes,
Nikolay
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Manesh
Top achievements
Rank 2
answered on 03 Jul 2012, 07:25 AM
Hey Nickolay,

   Please check the attached image, means i'm clicking on that breeze or any on the ribbon group item where i've assigned theme on the clicking event but it was not applied and the form is an MDI= true form........ please ack me
0
Jack
Telerik team
answered on 03 Jul 2012, 11:48 AM
Hello Manesh,

Check the answer to your question in your other post regarding the same issue. Please avoid posting the same question twice as this may slow down our response.
 
Greetings,
Jack
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
Themes and Visual Style Builder
Asked by
JulioR
Top achievements
Rank 1
Answers by
Mike
Telerik team
JulioR
Top achievements
Rank 1
Peter
Telerik team
Nikolay
Telerik team
Manesh
Top achievements
Rank 2
Jack
Telerik team
Share this question
or