Form Decorator and Custom CSS

2 posts, 0 answers
  1. Kaushal Parik
    Kaushal Parik avatar
    3 posts
    Member since:
    Aug 2009

    Posted 01 Sep 2009 Link to this post

    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)
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 01 Sep 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top