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

Visual Studio Designer

3 Answers 153 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Random
Top achievements
Rank 1
Random asked on 25 Jun 2012, 10:06 AM
Visual Studio 2010 Designer fails to display theme on RadForm.

1.) You dont get the Theme in the DropDown of the RadForm
2.) When you type it yourself the theme gets shown, but it loses it when you close and open the form
3.) When you set the RadForm Theme to "Control Default" and than change it to "Reset" the Form increases in height everytime by 4 unit, this happens everytime so when you do this 10 times the RadForm would already have a size 40 units higher than it originally was

Hope you can give me a workournd, i really want to set the theme for only the radform and not all controls.
Like to have a different color for the form and the controls inside.

Almost forgot to mention:
This worked on the latest Version Q1 SP1, but with Q2 i am facing this problems.

3 Answers, 1 is accepted

Sort by
0
Accepted
Jack
Telerik team
answered on 26 Jun 2012, 02:44 PM
Hello Random,

In our latest release - Q2 2012 we introduced a new theming engine. It minimizes the start-up time and lowers the memory consumption of your application. Find further details in our dedicated blog. However, this change caused some design time issues like the ones observed by you.

Directly to your questions.

1 and 2. Currently, you should set the ThemeName property manually. This will not fix the design time visual issue, however the theme should look OK at run time. Another option is to set the ThemeName property with code, for example when handling the Form.Load event:
new Telerik.WinControls.Themes.Office2010BlackTheme();
this.ThemeName = "Office2010Black";

3. I confirm the issue. I logged it in our issue tracking system and it will be addressed in our upcoming service pack. I updated also your Telerik points for bringing the issue to our attention.

Should you have further questions, feel free to write back.

Greetings,
Jack
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Michael
Top achievements
Rank 1
answered on 13 Nov 2012, 05:41 PM
I am having the same issue as described in items 1 and 2 above.  When I add the code as described it still does not work during run time.  Any ideas?  I have dropped the Breeze theme into my form it is named "breezeTheme1" and have added the following code to my load form window:

            new Telerik.WinControls.Themes.BreezeTheme();
            this.ThemeName = "breezeTheme1";


This only happens for the radForm.  All of my other controls are able to get/use the themes assigned to them.

thanks!!

Mike
0
Jack
Telerik team
answered on 14 Nov 2012, 01:03 PM
Hi Michael,

This issue is addressed in our latest release - Q3 2012. That is why I recommend you to try it. If the issue still appears, or if you have any questions, please contact us and we will try to help.
 
All the best,
Jack
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
Themes and Visual Style Builder
Asked by
Random
Top achievements
Rank 1
Answers by
Jack
Telerik team
Michael
Top achievements
Rank 1
Share this question
or