Desert Theme is lost

9 posts, 0 answers
  1. JulioR
    JulioR avatar
    26 posts
    Member since:
    Dec 2006

    Posted 22 Jan 2008 Link to this post

    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
  2. Mike
    Admin
    Mike avatar
    640 posts

    Posted 23 Jan 2008 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. JulioR
    JulioR avatar
    26 posts
    Member since:
    Dec 2006

    Posted 24 Jan 2008 Link to this post

    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

  5. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 25 Jan 2008 Link to this post

    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
  6. JulioR
    JulioR avatar
    26 posts
    Member since:
    Dec 2006

    Posted 25 Jan 2008 Link to this post

    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
  7. JulioR
    JulioR avatar
    26 posts
    Member since:
    Dec 2006

    Posted 12 Feb 2008 Link to this post

    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
  8. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 13 Feb 2008 Link to this post

    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
  9. Manesh
    Manesh avatar
    24 posts
    Member since:
    Feb 2012

    Posted 03 Jul 2012 Link to this post

    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
  10. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 03 Jul 2012 Link to this post

    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 >>
Back to Top
UI for WinForms is Visual Studio 2017 Ready