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

DecorationZoneID

1 Answer 109 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
lchesnais
Top achievements
Rank 1
lchesnais asked on 01 Apr 2008, 05:27 PM
Hello,

1. DecorationZoneID allows to select a single zone to decorate.
What should I do when I'd like to decorate multiple zones? Declare several form decorators?

It would be nice to be able to define several zones (DecorationZoneID="element1,element2,element3").

2. If the element defined by DecorationZoneID doesn't exist currently on the page, RadFormDecorator will decorate all the page.
I think it shouldn't be the case since the element could be created via an Ajax request.
The page should be decorated if only DecorationZoneID is left empty.

BR, Laurent

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 02 Apr 2008, 10:19 AM
Hi lchesnais,

The idea of an enum property, allowing multiple decorated zones with a single declaration is good and we will consider it, but the prooblem of multiple server declarations of RadFormDecorator still remains, because what will happen if we need another set of decorated zones with a different skins? Probably, in the near future we will consider the creation of a sort of a FormDecorator manager.

On the second issue you are reporting - we are working on dynamically created elements that are inserted on page's DOM with JavaScript or asynchronously and we will come out with a solution soon.

All the best,
Martin Ivanov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
FormDecorator
Asked by
lchesnais
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or