Blazor.WebForm.Components
2.0.1.4
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.0.1.4
NuGet\Install-Package Blazor.WebForm.Components -Version 2.0.1.4
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.0.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Blazor.WebForm.Components --version 2.0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Blazor.WebForm.Components, 2.0.1.4"
#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.0.1.4 // Install Blazor.WebForm.Components as a Cake Tool #tool nuget:?package=Blazor.WebForm.Components&version=2.0.1.4
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. |
.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.6)
- Blazor.WebForm.UI (>= 2.0.1.4)
- Microsoft.AspNetCore.Components.Web (>= 6.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 | 168 | 10/5/2024 |
2.4.1.2 | 340 | 8/18/2024 |
2.4.1.1 | 197 | 7/20/2024 |
2.4.1 | 321 | 5/8/2024 |
2.4.0.9 | 326 | 4/17/2024 |
2.4.0.8 | 161 | 4/14/2024 |
2.4.0.7 | 132 | 4/2/2024 |
2.4.0.6 | 130 | 4/1/2024 |
2.4.0.4 | 120 | 3/28/2024 |
2.4.0.3 | 186 | 3/13/2024 |
2.4.0.2 | 147 | 3/2/2024 |
2.4.0.1 | 349 | 12/9/2023 |
2.4.0 | 212 | 11/16/2023 |
2.3.2.4 | 89 | 5/8/2024 |
2.3.2.3 | 148 | 4/17/2024 |
2.3.2.2 | 101 | 4/14/2024 |
2.3.2.1 | 94 | 4/2/2024 |
2.3.2 | 93 | 4/1/2024 |
2.3.1.8 | 123 | 3/28/2024 |
2.3.1.7 | 129 | 3/13/2024 |
2.3.1.6 | 129 | 3/2/2024 |
2.3.1.5 | 141 | 12/9/2023 |
2.3.1.4 | 134 | 11/16/2023 |
2.3.1.3 | 249 | 10/13/2023 |
2.3.1.2 | 427 | 7/12/2023 |
2.3.1.1 | 207 | 7/9/2023 |
2.3.1 | 317 | 5/1/2023 |
2.3.0.9 | 272 | 4/12/2023 |
2.3.0.8 | 232 | 4/4/2023 |
2.3.0.7 | 227 | 3/27/2023 |
2.3.0.6 | 352 | 2/3/2023 |
2.3.0.5 | 335 | 1/7/2023 |
2.3.0.4 | 334 | 12/15/2022 |
2.3.0.3 | 387 | 11/25/2022 |
2.3.0.1 | 364 | 11/11/2022 |
2.2.3.5 | 98 | 10/5/2024 |
2.2.3.4 | 121 | 8/18/2024 |
2.2.3.3 | 96 | 7/20/2024 |
2.2.3.2 | 88 | 5/8/2024 |
2.2.3.1 | 115 | 4/17/2024 |
2.2.3 | 95 | 4/14/2024 |
2.2.2.9 | 95 | 4/2/2024 |
2.2.2.8 | 129 | 4/1/2024 |
2.2.2.6 | 111 | 3/28/2024 |
2.2.2.5 | 114 | 3/13/2024 |
2.2.2.4 | 115 | 3/2/2024 |
2.2.2.3 | 143 | 12/9/2023 |
2.2.2.2 | 113 | 11/16/2023 |
2.2.2.1 | 695 | 10/13/2023 |
2.2.2 | 180 | 7/12/2023 |
2.2.1.9 | 172 | 7/9/2023 |
2.2.1.8 | 185 | 5/1/2023 |
2.2.1.7 | 196 | 4/12/2023 |
2.2.1.6 | 203 | 4/4/2023 |
2.2.1.5 | 205 | 3/27/2023 |
2.2.1.4 | 278 | 2/3/2023 |
2.2.1.3 | 355 | 1/7/2023 |
2.2.1.2 | 295 | 12/15/2022 |
2.2.1.1 | 336 | 11/25/2022 |
2.2.0.9 | 347 | 11/11/2022 |
2.2.0.7 | 380 | 10/23/2022 |
2.2.0.6 | 399 | 10/21/2022 |
2.2.0.5 | 431 | 10/11/2022 |
2.2.0.4 | 479 | 9/23/2022 |
2.2.0.3 | 441 | 9/2/2022 |
2.2.0.2 | 598 | 6/25/2022 |
2.2.0.1 | 465 | 6/23/2022 |
2.0.1.6 | 433 | 6/19/2022 |
2.0.1.5 | 463 | 5/30/2022 |
2.0.1.4 | 476 | 5/21/2022 |
2.0.1.3 | 483 | 4/14/2022 |
2.0.1.2 | 460 | 4/5/2022 |
2.0.1.1 | 444 | 4/2/2022 |
2.0.1 | 488 | 3/18/2022 |
2.0.0.9 | 514 | 2/22/2022 |
2.0.0.8 | 464 | 2/1/2022 |
2.0.0.7 | 465 | 1/25/2022 |
2.0.0.6 | 327 | 1/2/2022 |
2.0.0.5 | 290 | 12/28/2021 |
2.0.0.4 | 275 | 12/21/2021 |
2.0.0.3 | 298 | 12/13/2021 |
2.0.0.1 | 333 | 11/23/2021 |
2.0.0 | 377 | 11/10/2021 |
1.2.2.8 | 503 | 6/19/2022 |
1.2.2.7 | 436 | 5/30/2022 |
1.2.2.6 | 424 | 5/21/2022 |
1.2.2.5 | 465 | 4/14/2022 |
1.2.2.4 | 433 | 4/5/2022 |
1.2.2.3 | 438 | 4/2/2022 |
1.2.2.2 | 441 | 3/18/2022 |
1.2.2.1 | 449 | 2/22/2022 |
1.2.2 | 459 | 2/1/2022 |
1.2.1.9 | 503 | 1/25/2022 |
1.2.1.8 | 309 | 1/2/2022 |
1.2.1.7 | 297 | 12/28/2021 |
1.2.1.6 | 275 | 12/21/2021 |
1.2.1.5 | 295 | 12/13/2021 |
1.2.1.3 | 337 | 11/23/2021 |
1.2.1.2 | 327 | 11/10/2021 |
1.2.1.1 | 368 | 11/5/2021 |
1.2.1 | 363 | 10/13/2021 |
1.2.0.8 | 458 | 10/9/2021 |
1.2.0.6 | 377 | 10/6/2021 |
1.2.0.5 | 315 | 10/1/2021 |
1.2.0.3 | 413 | 9/26/2021 |
1.2.0.2 | 413 | 9/25/2021 |
1.2.0.1 | 351 | 9/22/2021 |
1.1.9.9 | 461 | 9/10/2021 |
1.1.9.8 | 335 | 9/7/2021 |
1.1.9.7 | 350 | 9/3/2021 |
1.1.9.6 | 362 | 9/2/2021 |
1.1.9.5 | 360 | 8/31/2021 |
1.1.9.2 | 338 | 8/30/2021 |
1.1.9.1 | 443 | 8/28/2021 |
1.1.8.9 | 367 | 8/23/2021 |
1.1.8.8 | 386 | 8/22/2021 |
1.1.8.6 | 364 | 8/21/2021 |
1.1.8.5 | 374 | 8/19/2021 |
1.1.8.4 | 377 | 8/18/2021 |
1.1.8.3 | 347 | 8/18/2021 |
1.1.8.2 | 330 | 8/17/2021 |
1.1.8 | 356 | 8/16/2021 |
1.1.7.8 | 355 | 8/16/2021 |
1.1.7.5 | 443 | 8/14/2021 |
1.1.7.3 | 353 | 8/13/2021 |
1.1.7.2 | 357 | 8/13/2021 |
1.1.7 | 403 | 8/10/2021 |
1.1.6.8 | 349 | 8/4/2021 |
1.1.6.7 | 501 | 7/31/2021 |