Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146952 | Aug 26,2019 07:07 PM UTC | Aug 28,2019 09:52 AM UTC | Blazor | 3 |
![]() |
Tags: ListView |
fail: Microsoft.AspNetCore.SignalR.HubConnectionHandler[2]
Error when processing requests.
System.IO.InvalidDataException: The maximum message size of 32768B was exceeded.
The message size can be configured in AddHubOptions. |
services.AddServerSideBlazor();
services.AddServerSideBlazor().AddHubOptions(o =>
{
o.MaximumReceiveMessageSize = 102400000;
}); |
<script src="https://cdn.syncfusion.com/ej2/17.2.46/dist/ej2.min.js"></script>
<script src="https://cdn.syncfusion.com/ej2/17.2.46/dist/ejs.interop.min.js"></script>
<link rel="stylesheet" rel='nofollow' href="https://cdn.syncfusion.com/ej2/17.2.46/material.css"> |
@using ListviewCheckboxEx.ViewModels
@using Data
<EjsListView DataSource="@ViewModel.ListviewItems"
ShowCheckBox="true"
ShowHeader="true"
HeaderTitle="Listview header"
Height="300">
<ListViewFieldSettings Id="Id"
Text="DocumentTypeName"
IsChecked="IsChecked">
</ListViewFieldSettings>
<ListViewEvents TValue="ListviewItemModel"
Selected="@(e => SelectedItem.InvokeAsync(e.Data))">
</ListViewEvents>
</EjsListView>
@functions {
[Parameter]
public IListDataViewModel ViewModel { get; set; }
[Parameter]
public EventCallback<ListviewItemModel> SelectedItem { get; set; }
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.