Get Started

Install

Once published to NuGet:

dotnet add package FlexCore

Or as a project reference (during development):

<ProjectReference Include="..\path\to\FlexCore\FlexCore.csproj" />

Or download the source as a zip:

Download FlexCore.zip

Register services

In Program.cs:

using Fx.ControlKit.Notifications;

builder.Services.AddScoped<NotificationService>();
// ...register your own adapters for IReportDataExecutor, IReportSessionContext,
// IReportExporter, IReportPickListProvider if you use the report writer.

Use a control

In a Razor page or layout:

@using Fx.ControlKit.Grid

<GridControl TValue="MyRow" DataSource="@rows"
             AllowSelection="true" AllowSorting="true"
             AllowFiltering="true" AllowGrouping="true">
    <GridColumnsBase>
        <GridColumn Field="Id"       HeaderText="ID"   Width="80px" />
        <GridColumn Field="Name"     HeaderText="Name" Width="200px" />
        <GridColumn Field="Quantity" HeaderText="Qty"  Width="100px"
                    Type="ColumnType.Number" Format="N0" TextAlign="TextAlign.Right" />
    </GridColumnsBase>
</GridControl>

Targets

  • .NET 10.0
  • Blazor Server or Blazor WebAssembly
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.