Skip to content

Partial View

Introduction

The Partial View control is a component that renders a Partial View form model inside a parent form. For a detailed description of the Partial View as a form type, see the Partial View Form Model page. It acts as a placeholder on the parent form's canvas that is replaced at runtime by the full UI and logic of the referenced Partial View form.


Properties

Form Model

The primary property of the Partial View control is the name of the Partial View form model to render. This determines which Partial View's UI and logic will be mounted at that position in the parent form.

Inputs

Inputs correspond to the ViewModel properties of the referenced Partial View form model. They allow the parent form to pass data into the Partial View at render time, making it possible for the same Partial View to display context-specific content depending on where or how it is used.

For example, a "Comments" Partial View could accept a record ID as an input, and use it internally to load and display comments that belong to that specific record.

Outputs

Outputs act as event listeners on the parent form's side. They are bound to Controller Actions of the Partial View form model that have the Expose as Event property enabled. When such an action is triggered inside the Partial View (e.g. the user clicks a Save button), the corresponding Output on the parent form fires, allowing the parent to react — for instance, by refreshing a data list or closing a modal.

This mechanism enables clean, decoupled communication from the Partial View back to its parent without the Partial View needing direct knowledge of the parent form.


For the additional capabilities of the Partial View form model (Native Integration, Theme, and Template control), see the Partial View Form Model page.

Back to top