dotnet / dotnet/aspnetcore

QuickGrid Samples Website crashes when scrolling all the way to the to bottom on the Remote data QuickGrid

Open
#52,392 2 comments 0 reactions 0 assignees View on GitHub
area-blazor bug feature-blazor-quickgrid Pillar: Technical Debt Priority:3
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Describe the bug

On the QuickGrid demo site that is linked in the QuickGrid documentation and .NET 8 changelog and go to the section "Remote data" on the page [Data sources](https://aspnet.github.io/quickgridsamples/datasources) and then scroll all the way down on the QuickGrid that is in that section, The website will crash due to a 400 bad request response.
I first reported it at https://github.com/dotnet/AspNetCore.Docs/issues/31072 but get sent here

### Expected Behavior

The QuickGrid does not crash

### Steps To Reproduce

go to the section "Remote data" on the page [Data sources](https://aspnet.github.io/quickgridsamples/datasources) and then scroll all the way down on the QuickGrid that is in that section

### Exceptions (if any)

blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: net_http_message_not_success_statuscode_reason, 400, Bad Request
System.Net.Http.HttpRequestException: net_http_message_not_success_statuscode_reason, 400, Bad Request
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.Json.HttpClientJsonExtensions.<g__Core|12_0>d`2[[QuickGridDemos.SampleData.FoodRecallQueryResult, QuickGridDemos, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.Text.Json.JsonSerializerOptions, System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
at QuickGridDemos.Pages.DataSources.Sample_RemoteData.b__3_0(GridItemsProviderRequest`1 req)
at Microsoft.AspNetCore.Components.QuickGrid.QuickGrid`1.d__79[[QuickGridDemos.SampleData.FoodRecall, QuickGridDemos, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
at Microsoft.AspNetCore.Components.QuickGrid.QuickGrid`1.d__78[[QuickGridDemos.SampleData.FoodRecall, QuickGridDemos, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
at Microsoft.AspNetCore.Components.Web.Virtualization.Virtualize`1[[System.ValueTuple`2[[System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[QuickGridDemos.SampleData.FoodRecall, QuickGridDemos, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].BuildRenderTree(RenderTreeBuilder builder)
at Microsoft.AspNetCore.Components.ComponentBase.<.ctor>b__6_0(RenderTreeBuilder builder)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder , RenderFragment , Exception& )
Ft @ blazor.webassembly.js:1

### .NET Version

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.