Skip to content

Commit

Permalink
Add .net 9 to getting started.
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchev committed Nov 21, 2024
1 parent 687094f commit 65c99d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RadzenBlazorDemos/Pages/GetStarted.razor
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<RadzenTabs SelectedIndex=@selectedIndex Change="@OnTabChange">
<Tabs>
<RadzenTabsItem Text=".NET 8">
<RadzenTabsItem Text=".NET 8 &amp; 9">
<div class="rz-py-0 rz-py-sm-4 rz-px-0 rz-px-sm-2 rz-px-lg-12">
<RadzenAlert AlertStyle="AlertStyle.Info" Variant="Variant.Flat" Shade="Shade.Lighter" AllowClose="false" class="rz-mb-12">
All interactive features of the Radzen Blazor components require interactivity of the container <code>.razor</code> file to be enabled or the <code>@@rendermode</code>
Expand Down Expand Up @@ -150,14 +150,14 @@ More info is available in the <RadzenLink Text="rendering mode article" Path="ht
</RadzenTabs>

@code {
private static readonly string[] versions = ["net8", "net7-server", "net7-wasm", "net6-server", "net6-wasm", "wasm", "csp"];
private static readonly string[] versions = ["net9", "net7-server", "net7-wasm", "net6-server", "net6-wasm", "wasm", "csp"];

private int selectedIndex = 0;

[Parameter]
public string Version { get; set; }

private string CurrentVersion => Version ?? "net8";
private string CurrentVersion => Version ?? "net9";

protected override void OnParametersSet()
{
Expand Down

0 comments on commit 65c99d3

Please sign in to comment.