.... 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
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.
.... 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)
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:
With the Form's Design mode closed, open the code editor of the form.
Press F7 to open the Design mode.
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.