Multiple FormDecorators

4 posts, 0 answers
  1. Joel
    Joel avatar
    5 posts
    Member since:
    Jan 2009

    Posted 18 Aug 2009 Link to this post

    I am having a an issue which I figured out I could perhaps work my way around by using 2 FormDecorators - but that doesn't seem to work.

    Is it supposed to work with multiple FormDecorators on a page?

    This is what my code looks like :

      <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="Black" DecoratedControls="Buttons" /> 
      <telerik:RadFormDecorator ID="RadFormDecorator2" runat="server" Skin="Default" DecoratedControls="Textbox" /> 
     

    How does it look to you?


  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 18 Aug 2009 Link to this post

    Hello Joel,

    It is not recommended to use more than one RadFormDecorator controls on a single page. However, if you want to this despite we do not recommend it, it is necessary to set DecorationZoneIDs and to ensure that each separate decorator decorates a separate zone. This being said, I suggest to wrap the desired areas which contain the buttons in a DIV and set this as a decoration zone  for the first decorator and do the same for the textboxes and the second decorator and test again. If this is not possible for your layout, you should remove one of the decorators and use only a single one as the control itself is designed to work.

    Regards,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Joel
    Joel avatar
    5 posts
    Member since:
    Jan 2009

    Posted 18 Aug 2009 Link to this post

    All right - thank you for a pretty straight forward answer.

    If only the real issue at hand could be resolved, then I would become a very happy customer! Because then I would have no need for meddling with different skins.

    Please check out this post : http://www.telerik.com/community/forums/aspnet-ajax/form-decorator/formdecorator-and-q3-2008-skins-compatible-with-q1-2009.aspx

    Please!
  5. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 21 Aug 2009 Link to this post

    Hi Joel,

    Some changes were applied to the RadFormDecorator rendering and skins since Q2 2009 and that is why your skin did not work. You can read more about this below:

    http://blogs.telerik.com/tervelpeykov/posts/09-06-24/radformdecorator_q2_2009_-_more_decoration_options_faster_rendering.aspx

    We apologize for teh inconveninece and we will attach an updated Default skin for you here on Monday.


    Kind regards,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top