Skip more than one control from code behind

2 posts, 0 answers
  1. Ferdinand
    Ferdinand avatar
    56 posts
    Member since:
    Jun 2008

    Posted 16 Feb 2011 Link to this post

    Hi there,
    is it possible to skip more than one control in code behind? I just found a way to skip one at a time:
    this.masterFormDecorator.ControlsToSkip = FormDecoratorDecoratedControls.Fieldset;
     Thanks for your help.
  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 17 Feb 2011 Link to this post

    Hi Ferdinand,

    You could do that by using the | operator:

    FormDecorator1.ControlsToSkip = FormDecoratorDecoratedControls.Buttons | FormDecoratorDecoratedControls.Textbox;

    Best wishes,
    Georgi Tunev
    the Telerik team
    Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
Back to Top