Blazor.WebForm.Components 2.2.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Blazor.WebForm.Components --version 2.2.2
                    
NuGet\Install-Package Blazor.WebForm.Components -Version 2.2.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Blazor.WebForm.Components" Version="2.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Blazor.WebForm.Components" Version="2.2.2" />
                    
Directory.Packages.props
<PackageReference Include="Blazor.WebForm.Components" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Blazor.WebForm.Components --version 2.2.2
                    
#r "nuget: Blazor.WebForm.Components, 2.2.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Blazor.WebForm.Components@2.2.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Blazor.WebForm.Components&version=2.2.2
                    
Install as a Cake Addin
#tool nuget:?package=Blazor.WebForm.Components&version=2.2.2
                    
Install as a Cake Tool

Demo: https://blazorwebformdemo.github.io/

@using System.Web.UI
@using System.Web.UI.WebControls
@page "/fetchdata-gridview"
@inherits ControlComponent
@inject HttpClient Http

<div>
    <h1>Weather forecast (GridView)</h1>
    <asp.Button Text="Load Data" OnClick="this.Button_Click"></asp.Button>
    <hr />
    <asp.Label @ref="this.label"></asp.Label>
    <br />
    <asp.GridView @ref="this.gridview" AutoGenerateColumns="false" CssClass="table" AllowPaging="true"
                  PageSize="2" OnPageIndexChanging="this.GridView_PageIndexChanging">
        <Columns>
            <asp.BoundField HeaderText="Date" DataField="Date" DataFormatString="{0:yyyy/M/d}"></asp.BoundField>
            <asp.BoundField HeaderText="Temp. (C)" DataField="TemperatureC"></asp.BoundField>
            <asp.BoundField HeaderText="Temp. (F)" DataField="TemperatureF"></asp.BoundField>
            <asp.BoundField HeaderText="Summary" DataField="Summary"></asp.BoundField>
        </Columns>
    </asp.GridView>
</div>

@code {
    private WeatherForecast[] forecasts;
    private Label label;
    private GridView gridview;

    protected async void Button_Click(object sender, EventArgs e)
    {
        forecasts = await Http.GetFromJsonAsync<WeatherForecast[]>("sample-data/weather.json");

        label.Text = DateTime.Now.ToString();

        gridview.PageIndex = 0;
        gridview.DataSource = forecasts;
        gridview.DataBind();

        this.RequestRefresh();
    }

    protected void GridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
    {
        gridview.PageIndex = e.NewPageIndex;
        gridview.DataBind();
    }

    public class WeatherForecast
    {
        public DateTime Date { get; set; }

        public int TemperatureC { get; set; }

        public string Summary { get; set; }

        public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
    }
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.5.0.5 349 5/3/2025
2.5.0.4 269 4/5/2025
2.5.0.3 301 2/15/2025
2.5.0.2 221 2/8/2025
2.5.0.1 247 2/1/2025
2.4.1.8 204 5/3/2025
2.4.1.7 222 4/5/2025
2.4.1.6 211 2/15/2025
2.4.1.5 208 2/8/2025
2.4.1.4 225 2/1/2025
2.4.1.3 420 10/5/2024
2.4.1.2 637 8/18/2024
2.4.1.1 366 7/20/2024
2.4.1 464 5/8/2024
2.4.0.9 455 4/17/2024
2.4.0.8 312 4/14/2024
2.4.0.7 253 4/2/2024
2.4.0.6 270 4/1/2024
2.4.0.4 254 3/28/2024
2.4.0.3 296 3/13/2024
2.4.0.2 282 3/2/2024
2.4.0.1 500 12/9/2023
2.4.0 275 11/16/2023
2.3.2.4 231 5/8/2024
2.3.2.3 310 4/17/2024
2.3.2.2 222 4/14/2024
2.3.2.1 253 4/2/2024
2.3.2 223 4/1/2024
2.3.1.8 245 3/28/2024
2.3.1.7 265 3/13/2024
2.3.1.6 279 3/2/2024
2.3.1.5 259 12/9/2023
2.3.1.4 220 11/16/2023
2.3.1.3 344 10/13/2023
2.3.1.2 555 7/12/2023
2.3.1.1 296 7/9/2023
2.3.1 424 5/1/2023
2.3.0.9 423 4/12/2023
2.3.0.8 379 4/4/2023
2.3.0.7 368 3/27/2023
2.3.0.6 471 2/3/2023
2.3.0.5 477 1/7/2023
2.3.0.4 447 12/15/2022
2.3.0.3 540 11/25/2022
2.3.0.1 496 11/11/2022
2.2.3.5 262 10/5/2024
2.2.3.4 236 8/18/2024
2.2.3.3 222 7/20/2024
2.2.3.2 235 5/8/2024
2.2.3.1 275 4/17/2024
2.2.3 228 4/14/2024
2.2.2.9 220 4/2/2024
2.2.2.8 289 4/1/2024
2.2.2.6 227 3/28/2024
2.2.2.5 251 3/13/2024
2.2.2.4 248 3/2/2024
2.2.2.3 261 12/9/2023
2.2.2.2 201 11/16/2023
2.2.2.1 798 10/13/2023
2.2.2 281 7/12/2023
2.2.1.9 276 7/9/2023
2.2.1.8 305 5/1/2023
2.2.1.7 317 4/12/2023
2.2.1.6 346 4/4/2023
2.2.1.5 316 3/27/2023
2.2.1.4 429 2/3/2023
2.2.1.3 479 1/7/2023
2.2.1.2 424 12/15/2022
2.2.1.1 466 11/25/2022
2.2.0.9 462 11/11/2022
2.2.0.7 515 10/23/2022
2.2.0.6 552 10/21/2022
2.2.0.5 592 10/11/2022
2.2.0.4 628 9/23/2022
2.2.0.3 581 9/2/2022
2.2.0.2 748 6/25/2022
2.2.0.1 647 6/23/2022
2.0.1.6 600 6/19/2022
2.0.1.5 636 5/30/2022
2.0.1.4 621 5/21/2022
2.0.1.3 655 4/14/2022
2.0.1.2 603 4/5/2022
2.0.1.1 615 4/2/2022
2.0.1 637 3/18/2022
2.0.0.9 692 2/22/2022
2.0.0.8 641 2/1/2022
2.0.0.7 619 1/25/2022
2.0.0.6 497 1/2/2022
2.0.0.5 449 12/28/2021
2.0.0.4 448 12/21/2021
2.0.0.3 479 12/13/2021
2.0.0.1 505 11/23/2021
2.0.0 540 11/10/2021
1.2.2.8 682 6/19/2022
1.2.2.7 584 5/30/2022
1.2.2.6 572 5/21/2022
1.2.2.5 643 4/14/2022
1.2.2.4 594 4/5/2022
1.2.2.3 579 4/2/2022
1.2.2.2 616 3/18/2022
1.2.2.1 588 2/22/2022
1.2.2 637 2/1/2022
1.2.1.9 660 1/25/2022
1.2.1.8 467 1/2/2022
1.2.1.7 443 12/28/2021
1.2.1.6 430 12/21/2021
1.2.1.5 451 12/13/2021
1.2.1.3 515 11/23/2021
1.2.1.2 511 11/10/2021
1.2.1.1 521 11/5/2021
1.2.1 546 10/13/2021
1.2.0.8 614 10/9/2021
1.2.0.6 559 10/6/2021
1.2.0.5 468 10/1/2021
1.2.0.3 599 9/26/2021
1.2.0.2 589 9/25/2021
1.2.0.1 505 9/22/2021
1.1.9.9 631 9/10/2021
1.1.9.8 513 9/7/2021
1.1.9.7 507 9/3/2021
1.1.9.6 549 9/2/2021
1.1.9.5 523 8/31/2021
1.1.9.2 493 8/30/2021
1.1.9.1 588 8/28/2021
1.1.8.9 535 8/23/2021
1.1.8.8 538 8/22/2021
1.1.8.6 522 8/21/2021
1.1.8.5 521 8/19/2021
1.1.8.4 540 8/18/2021
1.1.8.3 504 8/18/2021
1.1.8.2 486 8/17/2021
1.1.8 533 8/16/2021
1.1.7.8 510 8/16/2021
1.1.7.5 620 8/14/2021
1.1.7.3 536 8/13/2021
1.1.7.2 507 8/13/2021
1.1.7 555 8/10/2021
1.1.6.8 506 8/4/2021
1.1.6.7 683 7/31/2021