New to Telerik UI for ASP.NET Core? Download free 30-day trial

Razor Page

This article describes how to configure the Telerik UI Window for ASP.NET Core in a RazorPage scenario.

The example below demonstrates how to load content in Window from the server. See the implementation details in the example below, and for the full project with RazorPages examples, visit our GitHub repository.

    @inject Microsoft.AspNetCore.Antiforgery.IAntiforgery Xsrf

        .Title("Window title")
        .Actions(actions => actions
    @inject Microsoft.AspNetCore.Antiforgery.IAntiforgery Xsrf

        string[] actions = new string[] { "Minimize", "Maximize", "Close" };

    <kendo-window name="window" title="Window title" actions="@actions">

    public string Text = String.Empty;
    public void OnGet()
        Text = "Lorem ipsum dolor sit amet...";

See Also

In this article