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

Multiple FormDecorators

3 Answers 96 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 1
Joel asked on 18 Aug 2009, 01:33 PM
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?


3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 18 Aug 2009, 01:41 PM
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.
0
Joel
Top achievements
Rank 1
answered on 18 Aug 2009, 01:48 PM
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!
0
Svetlina Anati
Telerik team
answered on 21 Aug 2009, 11:27 AM
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.
Tags
FormDecorator
Asked by
Joel
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Joel
Top achievements
Rank 1
Share this question
or