Creating a portal-type shell form

To create a shell form that you can use as a portal to host subforms:

  1. In Design Mode, use the New Form Wizard to create a form of the type [Build From Scratch].
    注:  You can use other form types if you want, but we recommend using the [Build From Scratch] option, because of the unique restrictions on this type of form. For more information, see 「About creating a portal-type shell form」.
  2. When the New Form Wizard has created the form, in the Toolbox, select the [User Control] component and draw the outline for the user control on the form.
  3. In the [Edit User Control References] dialog box, verify that:
    • The[ Use Web Control] option is selected.
    • The [Assembly Name] field is blank.
    • The [Class Override] field is blank.
    • The [Web User Control Asset] option is selected.
  4. From the [Control URL] drop-down list, select [mongoose/controls/portal.html].
  5. Click [OK].

The appearance of the User Control component does not change, but you now have a portal-type shell in which you can display subforms.

To populate the contents of the User Control component, you must create a persistent form variable.

関連トピック