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

Form Decorator and Custom CSS

1 Answer 68 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Kaushal Parik
Top achievements
Rank 1
Kaushal Parik asked on 01 Sep 2009, 11:09 AM
I am applying FormDecorator to my pages to apply office-2007 theme to buttons. It is showing the buttons correctly with appropriate theme set. But, when I try to assign any custom CSS class the effect of FormDecorator vanishes..
So, Is like that - when you use FormDecorator to decorate say button, you can apply custom css class to it (basically i want to show up and down image on buttons for which i am trying to write custom css class but it removes the formdecorator effect)

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 01 Sep 2009, 11:21 AM
Hello Kaushal,

I already answred your support thread and for your convenience and for others who might encounter the same problem I pasted my reply below:


Indeed, you are corrcet in your observations and your scenario cannot be achieved with the current implementation of RadFormDecorator. The reason is that the RadFormDecorator control does not skin elements that have a CSSClass applied, because the script automatically assumes that when an element has a class name, it is already skinned.

You can try playing with the DecorationZoneID property of the control - it allows skinning only of particular zones of the page.



Kind regards,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
FormDecorator
Asked by
Kaushal Parik
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or