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

Label and TextBox

3 Answers 182 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
stevesuk
Top achievements
Rank 1
stevesuk asked on 27 Jul 2008, 11:46 AM
I can theme PanelBar ok.

.... but how ever hard I try I can't theme a label or textbox.

Using individual "Edit UI Elements' on each control works ok but not when I edit a theme and apply that theme to these controls.

Regards,
Steve.

3 Answers, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 28 Jul 2008, 01:43 PM
Hi stevesuk,

RadTextBox and RadLabel have only one default theme.You can create your own themes for these controls by using the Visual Style Builder and then apply these themes to your controls.

You can take a look at the following movies which demonstrates how to use the theme builder:
http://www.telerik.com/support/videos/preview/b221i-cd-b221c-kcd.aspx

http://www.telerik.com/support/videos/preview/b221i-ce-b221c-kcd.aspx

If you have any additional questions please write me back.

Regards,
Boyko Markov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
stevesuk
Top achievements
Rank 1
answered on 28 Jul 2008, 04:45 PM
Boyko,

I know how to do this in the VSB.

.... however, when I save the theme the changes are not applied to Label or TextBox (whereas PanelBar changes are ... so I know the theme is being applied)

Steve.
0
Nikolay
Telerik team
answered on 31 Jul 2008, 10:42 AM
Hello stevesuk,

Please find attached a project which demonstrates using custom themes for RadTextBox and RadLabel. You may not be able to observe the themes at design-time at first, but here is how you should workaround the issue:
  1. With the Form's Design mode closed, open the code editor of the form.
  2. Press F7 to open the Design mode.
  3. Now you will be able to see the themes applied at design-time.

Generally, when you are making your own project with custom themes, you will not be able to observe the theme for RadTextBox at design-time at first. However, it will be correctly applied at runtime. To be able to see it applied in the design-time as well, close and reopen the Visual Studio with the corresponding solution.

If you have additional questions, feel free to contact me.

Greetings,
Nikolay
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Themes and Visual Style Builder
Asked by
stevesuk
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
stevesuk
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or