New to Telerik UI for Blazor? Download free 30-day trial

Wizard Content

The Content of the Wizard is a ChildContent of the WizardStep. While it is a common use case to integrate a Form in the Wizard Content, it can also contain any type of HTML content including various Telerik components as needed to cover your desired scenario.

Include your desired content in the Wizard Content tag. The result from the snippet.

Wizard content

@* Include the desired content for the Wizard Steps *@

<div style="text-align:center" >
    <TelerikWizard Width="600px" Height="300px">
            <WizardStep Label="Destination" Icon="map-marker">
                    <TelerikDropDownList @bind-Value="@SelectedCity"
                                         Data="@Cities" DefaultText="Select City">
            <WizardStep Label="Dates" Icon="calendar">
                        <TelerikDateRangePicker @bind-StartValue="@StartValue"
            <WizardStep Label="Avalable flights" Icon="globe-outline">
                        Checking if we can take you to <strong>@SelectedCity</strong> between <strong>@StartValue</strong> and <strong>@EndValue</strong>.
                    <br />
                    <TelerikProgressBar Indeterminate="true" Value="10" Max="100" />

@code {
    public string SelectedCity { get; set; }

    public List<string> Cities { get; set; } = new List<string>() { "New York", "Paris", "Rome", "Madrid" };

    public DateTime? StartValue { get; set; } = DateTime.Now.Date;

    public DateTime? EndValue { get; set; } = DateTime.Now.AddDays(10).Date;

See Also

In this article