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

How to use ControlsToSkip="Zone"

3 Answers 160 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Sylvain
Top achievements
Rank 1
Sylvain asked on 06 Apr 2009, 03:41 PM
Hi,

I can't find anything about this in the docs or in the forums.
I'm trying to exclude a specific zone from decoration rather than specify all the zones that should be decorated, and I'm hoping this is the way to do it. If so, how do I use it?

Thanks!

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 07 Apr 2009, 07:03 AM
Hi Sylvain,

The ControlsToSkip property accepts only a list of controls to be excluded from decoration - you cannot use it to set a zone to be skipped. In scenario like yours you need to use the DecorationZoneID property and to set the zones that you want RadFormDecorator to style.

Regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Sylvain
Top achievements
Rank 1
answered on 07 Apr 2009, 01:08 PM

So is this value "Zone" for ControlsToSkip not working? If that's the case, is it going to work in the future?

 

<

 

telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" ControlsToSkip="Zone" />

 

0
Georgi Tunev
Telerik team
answered on 09 Apr 2009, 11:57 AM
Hello Sylvain,

First of all I would like to apologize for not providing enough details in my previous reply. I hope that the information below will be of help for better understanding the purpose of the "Zone" flag:

There are 3 skins that set a background to the page when used - these are Forest, Black and Sunset. There are scenarios however, where you would not want to have your page's background changed - that is where the Zone flag comes in help. When it is set for the ControlsToSkip property, it will force the decorator not to set background to the decorated zone - no matter if it is a specific zone declared with the DecorationZoneID or the whole page if no DecorationZoneID is set.

For convenience I attached to this thread a screenshot that shows how the page is affected in different setups.


Kind regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
FormDecorator
Asked by
Sylvain
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Sylvain
Top achievements
Rank 1
Share this question
or