FormDecorator and AjaxControlToolkit.HTMLEditor

2 posts, 0 answers
  1. Simon831
    Simon831 avatar
    36 posts
    Member since:
    Sep 2005

    Posted 05 Aug 2011 Link to this post

    I am using the FormDecorator control throughout my site, and it works great.

    But on one page I have a AjaxControlToolkit.HTMLEditor control.  The FormDecorator is preventing the buttons on the HTMLEditor 
    toolbar from working.  Using the properties:
    DecorationZoneID
    DecoratedControls
    ControlsToSkip
    to prevent the HTMLEditor  from being Decorated doesn't make any difference. The only workaround I can find is to make the FormDecorator control invisible - which stops the entire page from being Decorated and so looks odd in an otherwise Decorated website.

    Is there another solution?
  2. Niko
    Admin
    Niko avatar
    387 posts

    Posted 08 Aug 2011 Link to this post

    Hi Simon,

    Unfortunately the methods for limiting the FormDecorator that you have listed are basically the ways to go in your case. A more fine-grained solution could be to have everything before the editor and everything after the editor within containers and define two form decorator, for each of the decoration zones.
    Still I tested decorating the HTMLEditor using the RadFormDecorator control and I didn't come across any visual glitches. Please, make sure that there are no JavaScript errors on the page as they may prevent the proper function of the controls.

    Hope this helps.

    Kind regards,
    Niko
    the Telerik team
    Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top