How to use ControlsToSkip="Zone"

4 posts, 0 answers
  1. Sylvain
    Sylvain avatar
    31 posts
    Member since:
    Jun 2006

    Posted 06 Apr 2009 Link to this post

    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!
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 07 Apr 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sylvain
    Sylvain avatar
    31 posts
    Member since:
    Jun 2006

    Posted 07 Apr 2009 Link to this post

    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" />

     

  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 09 Apr 2009 Link to this post

    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.
Back to Top