Hi Tim,

I haven't tried this myself. Its actually quite difficult to
dynamically create controls in pages, because typically you need all
the controls to process the request. Adding controls after the process
stage means that the added controls don't participate in the
processing.

I have built quite a few pages which have a TabbedPanel and inside a
Panel is a dynamic form which has different controls depending upon
some context.  I have been using stateful pages to make this easier to
do, but it introduces other problems when you try add a new control to
a stateful page, but it has already been added. Fixing up these bugs
and can be a real pain.

regards Malcolm Edgar

On Fri, Sep 11, 2009 at 5:36 AM, Tim Hooper <[email protected]> wrote:
> Is there a way to dynamically add new Tabs to the Tabbed Form example?
> I've tried many approaches, and can't get it to work.
> Also, i'd like to dynamically add fields to each tab sheet but
> haven't gotten that to work either.
>
> Thanks.
>
> Tim
>
>

Reply via email to