Blazor.WebForm.Components 2.2.1.7

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.1.7                
NuGet\Install-Package Blazor.WebForm.Components -Version 2.2.1.7                
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.1.7" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Blazor.WebForm.Components --version 2.2.1.7                
#r "nuget: Blazor.WebForm.Components, 2.2.1.7"                
#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.
// Install Blazor.WebForm.Components as a Cake Addin
#addin nuget:?package=Blazor.WebForm.Components&version=2.2.1.7

// Install Blazor.WebForm.Components as a Cake Tool
#tool nuget:?package=Blazor.WebForm.Components&version=2.2.1.7                

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. 
.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.4.1.3 171 10/5/2024
2.4.1.2 352 8/18/2024
2.4.1.1 199 7/20/2024
2.4.1 325 5/8/2024
2.4.0.9 328 4/17/2024
2.4.0.8 163 4/14/2024
2.4.0.7 134 4/2/2024
2.4.0.6 132 4/1/2024
2.4.0.4 122 3/28/2024
2.4.0.3 188 3/13/2024
2.4.0.2 149 3/2/2024
2.4.0.1 351 12/9/2023
2.4.0 214 11/16/2023
2.3.2.4 91 5/8/2024
2.3.2.3 150 4/17/2024
2.3.2.2 103 4/14/2024
2.3.2.1 96 4/2/2024
2.3.2 95 4/1/2024
2.3.1.8 125 3/28/2024
2.3.1.7 131 3/13/2024
2.3.1.6 131 3/2/2024
2.3.1.5 143 12/9/2023
2.3.1.4 136 11/16/2023
2.3.1.3 251 10/13/2023
2.3.1.2 429 7/12/2023
2.3.1.1 209 7/9/2023
2.3.1 319 5/1/2023
2.3.0.9 274 4/12/2023
2.3.0.8 234 4/4/2023
2.3.0.7 229 3/27/2023
2.3.0.6 354 2/3/2023
2.3.0.5 337 1/7/2023
2.3.0.4 336 12/15/2022
2.3.0.3 389 11/25/2022
2.3.0.1 366 11/11/2022
2.2.3.5 100 10/5/2024
2.2.3.4 123 8/18/2024
2.2.3.3 98 7/20/2024
2.2.3.2 90 5/8/2024
2.2.3.1 117 4/17/2024
2.2.3 97 4/14/2024
2.2.2.9 97 4/2/2024
2.2.2.8 131 4/1/2024
2.2.2.6 113 3/28/2024
2.2.2.5 116 3/13/2024
2.2.2.4 117 3/2/2024
2.2.2.3 145 12/9/2023
2.2.2.2 115 11/16/2023
2.2.2.1 697 10/13/2023
2.2.2 182 7/12/2023
2.2.1.9 174 7/9/2023
2.2.1.8 187 5/1/2023
2.2.1.7 198 4/12/2023
2.2.1.6 205 4/4/2023
2.2.1.5 207 3/27/2023
2.2.1.4 280 2/3/2023
2.2.1.3 357 1/7/2023
2.2.1.2 297 12/15/2022
2.2.1.1 338 11/25/2022
2.2.0.9 349 11/11/2022
2.2.0.7 382 10/23/2022
2.2.0.6 401 10/21/2022
2.2.0.5 433 10/11/2022
2.2.0.4 481 9/23/2022
2.2.0.3 443 9/2/2022
2.2.0.2 600 6/25/2022
2.2.0.1 467 6/23/2022
2.0.1.6 435 6/19/2022
2.0.1.5 465 5/30/2022
2.0.1.4 478 5/21/2022
2.0.1.3 485 4/14/2022
2.0.1.2 462 4/5/2022
2.0.1.1 446 4/2/2022
2.0.1 490 3/18/2022
2.0.0.9 516 2/22/2022
2.0.0.8 466 2/1/2022
2.0.0.7 467 1/25/2022
2.0.0.6 329 1/2/2022
2.0.0.5 292 12/28/2021
2.0.0.4 277 12/21/2021
2.0.0.3 300 12/13/2021
2.0.0.1 335 11/23/2021
2.0.0 379 11/10/2021
1.2.2.8 505 6/19/2022
1.2.2.7 438 5/30/2022
1.2.2.6 426 5/21/2022
1.2.2.5 467 4/14/2022
1.2.2.4 435 4/5/2022
1.2.2.3 440 4/2/2022
1.2.2.2 443 3/18/2022
1.2.2.1 451 2/22/2022
1.2.2 461 2/1/2022
1.2.1.9 505 1/25/2022
1.2.1.8 311 1/2/2022
1.2.1.7 299 12/28/2021
1.2.1.6 277 12/21/2021
1.2.1.5 297 12/13/2021
1.2.1.3 339 11/23/2021
1.2.1.2 331 11/10/2021
1.2.1.1 370 11/5/2021
1.2.1 365 10/13/2021
1.2.0.8 460 10/9/2021
1.2.0.6 379 10/6/2021
1.2.0.5 317 10/1/2021
1.2.0.3 415 9/26/2021
1.2.0.2 415 9/25/2021
1.2.0.1 353 9/22/2021
1.1.9.9 463 9/10/2021
1.1.9.8 337 9/7/2021
1.1.9.7 352 9/3/2021
1.1.9.6 364 9/2/2021
1.1.9.5 362 8/31/2021
1.1.9.2 340 8/30/2021
1.1.9.1 445 8/28/2021
1.1.8.9 369 8/23/2021
1.1.8.8 388 8/22/2021
1.1.8.6 366 8/21/2021
1.1.8.5 376 8/19/2021
1.1.8.4 379 8/18/2021
1.1.8.3 349 8/18/2021
1.1.8.2 332 8/17/2021
1.1.8 358 8/16/2021
1.1.7.8 357 8/16/2021
1.1.7.5 445 8/14/2021
1.1.7.3 355 8/13/2021
1.1.7.2 359 8/13/2021
1.1.7 405 8/10/2021
1.1.6.8 351 8/4/2021
1.1.6.7 503 7/31/2021