# Integrating Components into the Blazor Dialog

A common application requirement is to display other Blazor components in the Blazor Dialog. You can achieve this by placing them inside the `DialogContent`.

> The two-way binding for the parameters of the components nested in the `DialogContent` may not work as expected. The Dialog needs to [`Refresh`](https://www.telerik.com/blazor-ui/documentation/components/dialog/overview#dialog-reference-and-methods) to reflect UI changes.

This article contains the following examples:

* [Checkbox integration in Dialog](https://www.telerik.com/blazor-ui/documentation/components/dialog/integration#checkbox-in-a-dialog)
* [Filter integration in Dialog](https://www.telerik.com/blazor-ui/documentation/components/dialog/integration#filter-in-a-dialog)

## CheckBox in a Dialog

To use a CheckBox component in the Dialog:

1. Include the [Telerik CheckBox](https://www.telerik.com/blazor-ui/documentation/components/checkbox/overview) as `DialogContent`.
2. Set the [`Value` parameter](https://www.telerik.com/blazor-ui/documentation/components/checkbox/overview#checkbox-parameters) of the CheckBox with two-way binding.
3. Invoke the [Dialog `Refresh` method](https://www.telerik.com/blazor-ui/documentation/components/dialog/overview#dialog-reference-and-methods) in the [CheckBox `OnChange` event](https://www.telerik.com/blazor-ui/documentation/components/checkbox/events#onchange).

> caption Using CheckBox in Dialog

<demo metaUrl="client/dialog/integration/checkbox-2/" height="420"></demo>

## Filter in a Dialog

To use a Filter component in the Dialog:

1. Include the [Telerik Filter](https://www.telerik.com/blazor-ui/documentation/components/filter/overview) inside `<DialogContent>`.
2. Set the [`Value` parameter](https://www.telerik.com/blazor-ui/documentation/components/filter/overview#filter-parameters) of the Filter with one-way binding.
3. Invoke the [Dialog `Refresh` method](https://www.telerik.com/blazor-ui/documentation/components/dialog/overview#dialog-reference-and-methods) in the [Filter `OnUpdate` event](https://www.telerik.com/blazor-ui/documentation/components/filter/events#onupdate).

> caption Using Filter in Dialog

<demo metaUrl="client/dialog/integration/filter-1/" height="420"></demo>
