New to Telerik UI for Blazor? Start a free 30-day trial
Dialog Header
Updated on Oct 1, 2026
The header contains the Title and the Close Action button.
There are two ways to define a Dialog title:
- a string
Titleattribute of the component - a nested
<DialogTitle>render fragment.
The default Title value is null.
You can control the close action via the ShowCloseButton parameter. Its default value is true.
If you don't want to render the header, set the
ShowCloseButtontofalseand don't set aTitle.
Example
The following example demonstrates how to set up the title through a template. The close action button is also hidden.
Title template and no close button in the Telerik Dialog.
Loading ...