New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Large RadGrid Export Causes Application Crash

Environment

ProductRadGrid for ASP.NET AJAX
Version2025.1.416

Description

I encounter a System.OperationCanceledException when attempting to export large datasets from the RadGrid in Telerik UI for ASP.NET AJAX. This issue occurs after upgrading to version 2025.1.416 or later, and the same export works without issues in version 2024.3.805.

Cause

Starting with version 2025.1.416, a default timeout of 10 seconds is enforced during document import and export operations in the Document Processing Library (DPL). This timeout is intended to ensure consistent performance and mitigate security risks but may cause exceptions during large exports.

Solution

To resolve the issue, modify the timeout setting for the DPL export functionality in the web.config file.

  1. Open your web.config file.
  2. Locate the <appSettings> section.
  3. Add or update the following setting to increase the timeout:
<appSettings>
    <add key="Telerik.DplFormatProviderTimeout" value="90"/>
</appSettings>
  1. Set the timeout value based on your export needs (e.g., 30, 60, 90 seconds, or more).
  2. Save the file and test the export operation.

See Also