Planned
Last Updated: 30 Mar 2026 13:02 by ADMIN
Scheduled for 2026 Q2
Janick
Created on: 13 Jun 2023 07:19
Category: UI for ASP.NET Core
Type: Feature Request
6
Use TextWriter Async methods for HTML Helpers

Consider the use of TextWriter async methods for the HTML Helpers, for example the WriteInitializationScript methods.  In certain scenarios the use of the synchronous methods causes an exception: System.InvalidOperationException: Synchronous operations are disallowed. Call WriteAsync or set AllowSynchronousIO to true instead.

This can be resolved by explicitly enabling synchronous operations

services.Configure<IISServerOptions>(options =>
    {
        options.AllowSynchronousIO = true;
    });

though synchronous operations have been disabled by default at framework level as of .NET 3.0.

6 comments
ADMIN
Anton Mironov
Posted on: 30 Mar 2026 13:02

Hello Julien,

Thank you for the details provided.

The item in the Feedback Portal is updated. The required behavior is planned for implementation in Q2 2026:

 

Best Regards,
Anton Mironov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Julien
Posted on: 24 Mar 2026 11:26
On IIS, razor pages with fluent Datasource widget sudenly throw exception.

Kendo UI version : 2025.2.520
latest .net9 version

Fixed with the same workaroud : "AllowSynchronousIO" option
ADMIN
Anton Mironov
Posted on: 24 Mar 2026 10:56

Hi Julien,

Can you please share the complete scenario, so I can update the Team?

Looking forward to hearing back from you.

 

Best Regards,
Anton Mironov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Julien
Posted on: 17 Mar 2026 14:10
Please correct
ADMIN
Anton Mironov
Posted on: 17 Sep 2024 07:00

Hello Jack,

Thank you for sharing the .NET8 information. We will consider this part as well.

 

Kind Regards,
Anton Mironov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

JG
Posted on: 10 Sep 2024 10:59
Can confirm we're seeing the same issue using the datasource widget in NET8