Blazor.WebForm.Components
2.3.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Blazor.WebForm.Components --version 2.3.1
NuGet\Install-Package Blazor.WebForm.Components -Version 2.3.1
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.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Blazor.WebForm.Components --version 2.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Blazor.WebForm.Components, 2.3.1"
#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.3.1 // Install Blazor.WebForm.Components as a Cake Tool #tool nuget:?package=Blazor.WebForm.Components&version=2.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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. |
.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.
-
.NETStandard 2.1
- Applied (>= 1.2.1.8)
- Blazor.WebForm.UI (>= 2.3.1)
- Microsoft.AspNetCore.Components.Web (>= 7.0.5)
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 | 246 | 10/5/2024 |
2.4.1.2 | 378 | 8/18/2024 |
2.4.1.1 | 208 | 7/20/2024 |
2.4.1 | 330 | 5/8/2024 |
2.4.0.9 | 333 | 4/17/2024 |
2.4.0.8 | 168 | 4/14/2024 |
2.4.0.7 | 137 | 4/2/2024 |
2.4.0.6 | 137 | 4/1/2024 |
2.4.0.4 | 125 | 3/28/2024 |
2.4.0.3 | 191 | 3/13/2024 |
2.4.0.2 | 152 | 3/2/2024 |
2.4.0.1 | 355 | 12/9/2023 |
2.4.0 | 218 | 11/16/2023 |
2.3.2.4 | 96 | 5/8/2024 |
2.3.2.3 | 153 | 4/17/2024 |
2.3.2.2 | 108 | 4/14/2024 |
2.3.2.1 | 99 | 4/2/2024 |
2.3.2 | 100 | 4/1/2024 |
2.3.1.8 | 128 | 3/28/2024 |
2.3.1.7 | 138 | 3/13/2024 |
2.3.1.6 | 134 | 3/2/2024 |
2.3.1.5 | 146 | 12/9/2023 |
2.3.1.4 | 140 | 11/16/2023 |
2.3.1.3 | 257 | 10/13/2023 |
2.3.1.2 | 433 | 7/12/2023 |
2.3.1.1 | 213 | 7/9/2023 |
2.3.1 | 323 | 5/1/2023 |
2.3.0.9 | 278 | 4/12/2023 |
2.3.0.8 | 238 | 4/4/2023 |
2.3.0.7 | 234 | 3/27/2023 |
2.3.0.6 | 358 | 2/3/2023 |
2.3.0.5 | 341 | 1/7/2023 |
2.3.0.4 | 340 | 12/15/2022 |
2.3.0.3 | 395 | 11/25/2022 |
2.3.0.1 | 372 | 11/11/2022 |
2.2.3.5 | 105 | 10/5/2024 |
2.2.3.4 | 130 | 8/18/2024 |
2.2.3.3 | 103 | 7/20/2024 |
2.2.3.2 | 95 | 5/8/2024 |
2.2.3.1 | 122 | 4/17/2024 |
2.2.3 | 100 | 4/14/2024 |
2.2.2.9 | 103 | 4/2/2024 |
2.2.2.8 | 134 | 4/1/2024 |
2.2.2.6 | 116 | 3/28/2024 |
2.2.2.5 | 119 | 3/13/2024 |
2.2.2.4 | 120 | 3/2/2024 |
2.2.2.3 | 148 | 12/9/2023 |
2.2.2.2 | 119 | 11/16/2023 |
2.2.2.1 | 703 | 10/13/2023 |
2.2.2 | 186 | 7/12/2023 |
2.2.1.9 | 178 | 7/9/2023 |
2.2.1.8 | 191 | 5/1/2023 |
2.2.1.7 | 202 | 4/12/2023 |
2.2.1.6 | 209 | 4/4/2023 |
2.2.1.5 | 212 | 3/27/2023 |
2.2.1.4 | 284 | 2/3/2023 |
2.2.1.3 | 361 | 1/7/2023 |
2.2.1.2 | 301 | 12/15/2022 |
2.2.1.1 | 344 | 11/25/2022 |
2.2.0.9 | 355 | 11/11/2022 |
2.2.0.7 | 388 | 10/23/2022 |
2.2.0.6 | 407 | 10/21/2022 |
2.2.0.5 | 441 | 10/11/2022 |
2.2.0.4 | 487 | 9/23/2022 |
2.2.0.3 | 453 | 9/2/2022 |
2.2.0.2 | 608 | 6/25/2022 |
2.2.0.1 | 475 | 6/23/2022 |
2.0.1.6 | 443 | 6/19/2022 |
2.0.1.5 | 473 | 5/30/2022 |
2.0.1.4 | 486 | 5/21/2022 |
2.0.1.3 | 493 | 4/14/2022 |
2.0.1.2 | 468 | 4/5/2022 |
2.0.1.1 | 452 | 4/2/2022 |
2.0.1 | 496 | 3/18/2022 |
2.0.0.9 | 524 | 2/22/2022 |
2.0.0.8 | 474 | 2/1/2022 |
2.0.0.7 | 473 | 1/25/2022 |
2.0.0.6 | 335 | 1/2/2022 |
2.0.0.5 | 300 | 12/28/2021 |
2.0.0.4 | 283 | 12/21/2021 |
2.0.0.3 | 306 | 12/13/2021 |
2.0.0.1 | 341 | 11/23/2021 |
2.0.0 | 390 | 11/10/2021 |
1.2.2.8 | 512 | 6/19/2022 |
1.2.2.7 | 448 | 5/30/2022 |
1.2.2.6 | 434 | 5/21/2022 |
1.2.2.5 | 475 | 4/14/2022 |
1.2.2.4 | 443 | 4/5/2022 |
1.2.2.3 | 446 | 4/2/2022 |
1.2.2.2 | 451 | 3/18/2022 |
1.2.2.1 | 459 | 2/22/2022 |
1.2.2 | 469 | 2/1/2022 |
1.2.1.9 | 514 | 1/25/2022 |
1.2.1.8 | 317 | 1/2/2022 |
1.2.1.7 | 305 | 12/28/2021 |
1.2.1.6 | 286 | 12/21/2021 |
1.2.1.5 | 303 | 12/13/2021 |
1.2.1.3 | 347 | 11/23/2021 |
1.2.1.2 | 338 | 11/10/2021 |
1.2.1.1 | 376 | 11/5/2021 |
1.2.1 | 371 | 10/13/2021 |
1.2.0.8 | 466 | 10/9/2021 |
1.2.0.6 | 385 | 10/6/2021 |
1.2.0.5 | 324 | 10/1/2021 |
1.2.0.3 | 421 | 9/26/2021 |
1.2.0.2 | 422 | 9/25/2021 |
1.2.0.1 | 359 | 9/22/2021 |
1.1.9.9 | 470 | 9/10/2021 |
1.1.9.8 | 344 | 9/7/2021 |
1.1.9.7 | 360 | 9/3/2021 |
1.1.9.6 | 370 | 9/2/2021 |
1.1.9.5 | 368 | 8/31/2021 |
1.1.9.2 | 346 | 8/30/2021 |
1.1.9.1 | 451 | 8/28/2021 |
1.1.8.9 | 375 | 8/23/2021 |
1.1.8.8 | 394 | 8/22/2021 |
1.1.8.6 | 372 | 8/21/2021 |
1.1.8.5 | 382 | 8/19/2021 |
1.1.8.4 | 385 | 8/18/2021 |
1.1.8.3 | 355 | 8/18/2021 |
1.1.8.2 | 338 | 8/17/2021 |
1.1.8 | 364 | 8/16/2021 |
1.1.7.8 | 363 | 8/16/2021 |
1.1.7.5 | 451 | 8/14/2021 |
1.1.7.3 | 361 | 8/13/2021 |
1.1.7.2 | 365 | 8/13/2021 |
1.1.7 | 411 | 8/10/2021 |
1.1.6.8 | 357 | 8/4/2021 |
1.1.6.7 | 509 | 7/31/2021 |