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

Skip more than one control from code behind

1 Answer 49 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Ferdinand
Top achievements
Rank 1
Ferdinand asked on 16 Feb 2011, 02:59 PM
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.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 17 Feb 2011, 01:42 PM
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.
Tags
FormDecorator
Asked by
Ferdinand
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or