Override existing cssclass tag

2 posts, 0 answers
  1. jack mira
    jack mira avatar
    1 posts
    Member since:
    Oct 2009

    Posted 13 Dec 2009 Link to this post

    If an object such as a button has an existing cssclass defined, will RadFormDecorator override the definition? Is there a way to force it to override any existing definition? Also, are LinkButtons covered?

  2. Martin
    Admin
    Martin avatar
    585 posts

    Posted 14 Dec 2009 Link to this post

    Hi jack mira,

    The logic of RadFormDecorator is to skip elements that have a defined CSS class and at present there is no way to force style such elements. As per your question about <asp:LinkButton /> - the control does not decorate such elements, because the server output of a LinkButton is a <a /> element, and links are not in the scope RadFormDecorator, because it operates on form controls only.


    Greetings,
    Martin Ivanov
    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